From a64f4d5b57c05822aa8c9267f7e25cf42d1856d4 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Tue, 1 Oct 2002 16:49:19 +0000 Subject: Patch from Stefan Allius : ----------------------------------- In extra/Configs/Config.sh I added the INCLUDE_PTHREADS statement and change the default values for BUILD_UCLIBC_LDSO and HAVE_SHARED. ----------------------------------- In extra/scripts/initfini.pl My last patch removes two labels, which migth be used by the .size statements. (Sorry, but I'm a perl beginner) I fixed it. ----------------------------------- In libc/sysdeps/linux/common/initfini.c I fixed two warnings "nested extern declaration of `i_am_not_a_leaf.. ----------------------------------- In libc/sysdeps/linux/sh/__init_brl.c brk.c sbrk.c I fixed some compiler warnings which comes from a wrong inclusion order. ----------------------------------- --- extra/scripts/initfini.pl | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'extra/scripts') diff --git a/extra/scripts/initfini.pl b/extra/scripts/initfini.pl index 41add5d88..3d62a2257 100755 --- a/extra/scripts/initfini.pl +++ b/extra/scripts/initfini.pl @@ -11,7 +11,6 @@ my($endp) = 0; my($end) = 0; my($omitcrti) = 0; my($omitcrtn) = 0; -my($discard) = 0; my($line); # Get commandline parameters @@ -85,7 +84,6 @@ while() { next; } if (/i_am_not_a_leaf/) { - $discard = 1; next; } if (/^_init:/ || /^_fini:/) { @@ -145,13 +143,12 @@ while() { s/ALIGN//; } } - if (!$omitcrti && !$discard) { + if (!$omitcrti) { print CRTI; } - if (!$omitcrtn && !$discard) { + if (!$omitcrtn) { print CRTN; } - $discard = 0; } close(INITFINI); close(CRTI); -- cgit v1.2.3