]>
Commit | Line | Data |
---|---|---|
b5b0b447 ER |
1 | 2010-02-08 Roland McGrath <roland@redhat.com> |
2 | ||
3 | * config/rs6000/sysv4.h (LINK_EH_SPEC): Pass --no-add-needed to the | |
4 | linker. | |
5 | * config/gnu-user.h (LINK_EH_SPEC): Likewise. | |
6 | * config/alpha/elf.h (LINK_EH_SPEC): Likewise. | |
7 | * config/ia64/linux.h (LINK_EH_SPEC): Likewise. | |
8 | ||
9 | --- gcc/config/alpha/elf.h.jj 2011-01-03 12:52:31.118056764 +0100 | |
10 | +++ gcc/config/alpha/elf.h 2011-01-04 18:14:10.931874160 +0100 | |
11 | @@ -165,5 +165,5 @@ extern int alpha_this_gpdisp_sequence_nu | |
12 | I imagine that other systems will catch up. In the meantime, it | |
13 | doesn't harm to make sure that the data exists to be used later. */ | |
14 | #if defined(HAVE_LD_EH_FRAME_HDR) | |
15 | -#define LINK_EH_SPEC "%{!static:--eh-frame-hdr} " | |
16 | +#define LINK_EH_SPEC "--no-add-needed %{!static:--eh-frame-hdr} " | |
17 | #endif | |
18 | --- gcc/config/ia64/linux.h.jj 2011-01-03 13:02:11.462994522 +0100 | |
19 | +++ gcc/config/ia64/linux.h 2011-01-04 18:14:10.931874160 +0100 | |
20 | @@ -77,7 +77,7 @@ do { \ | |
21 | Signalize that because we have fde-glibc, we don't need all C shared libs | |
22 | linked against -lgcc_s. */ | |
23 | #undef LINK_EH_SPEC | |
24 | -#define LINK_EH_SPEC "" | |
25 | +#define LINK_EH_SPEC "--no-add-needed " | |
26 | ||
27 | /* Put all *tf routines in libgcc. */ | |
28 | #undef LIBGCC2_HAS_TF_MODE | |
29 | --- gcc/config/gnu-user.h.jj 2011-01-03 12:53:03.739057299 +0100 | |
30 | +++ gcc/config/gnu-user.h 2011-01-04 18:14:10.932814884 +0100 | |
31 | @@ -82,7 +82,7 @@ see the files COPYING3 and COPYING.RUNTI | |
32 | #define LIB_SPEC GNU_USER_TARGET_LIB_SPEC | |
33 | ||
34 | #if defined(HAVE_LD_EH_FRAME_HDR) | |
35 | -#define LINK_EH_SPEC "%{!static:--eh-frame-hdr} " | |
36 | +#define LINK_EH_SPEC "--no-add-needed %{!static:--eh-frame-hdr} " | |
37 | #endif | |
38 | ||
39 | #undef LINK_GCC_C_SEQUENCE_SPEC | |
40 | --- gcc/config/rs6000/sysv4.h.jj 2011-01-03 13:02:18.255994215 +0100 | |
41 | +++ gcc/config/rs6000/sysv4.h 2011-01-04 18:14:10.933888871 +0100 | |
42 | @@ -820,7 +820,7 @@ extern int fixuplabelno; | |
43 | -dynamic-linker " GNU_USER_DYNAMIC_LINKER "}}" | |
44 | ||
45 | #if defined(HAVE_LD_EH_FRAME_HDR) | |
46 | -# define LINK_EH_SPEC "%{!static:--eh-frame-hdr} " | |
47 | +# define LINK_EH_SPEC "--no-add-needed %{!static:--eh-frame-hdr} " | |
48 | #endif | |
49 | ||
50 | #define CPP_OS_LINUX_SPEC "-D__unix__ -D__gnu_linux__ -D__linux__ \ |