From: Bernardo Innocenti Date: Sat, 27 Dec 2003 18:51:58 +0000 (+0100) Subject: uclinux.h (LIB_SPEC): Add elf2flt magic required for correct linking of executables... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9bd85baa69e57d5363fb9e059cc8f12464ad4379;p=gcc.git uclinux.h (LIB_SPEC): Add elf2flt magic required for correct linking of executables using id-based... * config/m68k/uclinux.h (LIB_SPEC): Add elf2flt magic required for correct linking of executables using id-based shared libraries. From-SVN: r75173 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ea84f4479ca..b4e12f3646f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2003-12-27 Bernardo Innocenti + + * config/m68k/uclinux.h (LIB_SPEC): Add elf2flt magic required for + correct linking of executables using id-based shared libraries. + 2003-12-27 Kazu Hirata * config/i386/i386-interix.h: Remove uses of "register" diff --git a/gcc/config/m68k/uclinux.h b/gcc/config/m68k/uclinux.h index 596cc1979c8..3ef0b9742a1 100644 --- a/gcc/config/m68k/uclinux.h +++ b/gcc/config/m68k/uclinux.h @@ -30,7 +30,7 @@ Boston, MA 02111-1307, USA. */ profiling, or libg.a. */ #undef LIB_SPEC #define LIB_SPEC "\ -%{mid-shared-library:-R libc.gdb%s} -lc \ +%{mid-shared-library:-R libc.gdb%s -elf2flt -shared-lib-id 0} -lc \ " /* we don't want a .eh_frame section. */