--- gcc-4.1.1/gcc/config/i386/linux.h.nondef 2006-10-07 16:29:53 +0200 +++ gcc-4.1.1/gcc/config/i386/linux.h 2006-10-07 16:30:33 +0200 @@ -127,7 +127,7 @@ #ifdef HAVE_LD_PIE #define ENDFILE_SPEC \ "%{ffast-math|funsafe-math-optimizations:crtfastmath.o%s} \ - %{shared|pie:crtendS.o%s;:crtend.o%s} crtn.o%s" + %{shared:crtendS.o%s} %{!shared: %{static:crtend.o%s} %{!static:%(endfile_pie)} } crtn.o%s" #else #define ENDFILE_SPEC \ "%{ffast-math|funsafe-math-optimizations:crtfastmath.o%s} \ --- gcc-4.1.1/gcc/config/i386/linux64.h.nondef 2006-10-07 16:29:58 +0200 +++ gcc-4.1.1/gcc/config/i386/linux64.h 2006-10-07 16:31:02 +0200 @@ -72,7 +72,7 @@ #ifdef HAVE_LD_PIE #define ENDFILE_SPEC \ "%{ffast-math|funsafe-math-optimizations:crtfastmath.o%s} \ - %{shared|pie:crtendS.o%s;:crtend.o%s} crtn.o%s" + %{shared:crtendS.o%s} %{!shared: %{static:crtend.o%s} %{!static:%(endfile_pie)} } crtn.o%s" #else #define ENDFILE_SPEC \ "%{ffast-math|funsafe-math-optimizations:crtfastmath.o%s} \