]> git.pld-linux.org Git - packages/crossppc-gcc.git/blob - gcc-build-id.patch
- drop obsolete files
[packages/crossppc-gcc.git] / gcc-build-id.patch
1 2007-07-22  Roland McGrath  <roland@redhat.com>
2
3         * config/rs6000/sysv4.h (LINK_EH_SPEC): Add --build-id for
4         non-relocatable link.
5         * config/linux.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/rs6000/sysv4.h.~1~
10 +++ gcc/config/rs6000/sysv4.h
11 @@ -906,7 +906,7 @@ extern int fixuplabelno;
12    %{!dynamic-linker:-dynamic-linker " LINUX_DYNAMIC_LINKER "}}}"
13  
14  #if defined(HAVE_LD_EH_FRAME_HDR)
15 -# define LINK_EH_SPEC "%{!static:--eh-frame-hdr} "
16 +# define LINK_EH_SPEC "%{!static:--eh-frame-hdr} %{!r:--build-id} "
17  #endif
18  
19  #define CPP_OS_LINUX_SPEC "-D__unix__ -D__gnu_linux__ -D__linux__ \
20 --- gcc/config/linux.h.~1~
21 +++ gcc/config/linux.h
22 @@ -85,7 +85,7 @@ Boston, MA 02110-1301, USA.  */
23      } while (0)
24  
25  #if defined(HAVE_LD_EH_FRAME_HDR)
26 -#define LINK_EH_SPEC "%{!static:--eh-frame-hdr} "
27 +#define LINK_EH_SPEC "%{!static:--eh-frame-hdr} %{!r:--build-id} "
28  #endif
29  
30  /* Define this so we can compile MS code for use with WINE.  */
31 --- gcc/config/alpha/elf.h.~1~
32 +++ gcc/config/alpha/elf.h
33 @@ -421,7 +421,7 @@ extern int alpha_this_gpdisp_sequence_nu
34     I imagine that other systems will catch up.  In the meantime, it
35     doesn't harm to make sure that the data exists to be used later.  */
36  #if defined(HAVE_LD_EH_FRAME_HDR)
37 -#define LINK_EH_SPEC "%{!static:--eh-frame-hdr} "
38 +#define LINK_EH_SPEC "%{!static:--eh-frame-hdr} %{!r:--build-id} "
39  #endif
40  
41  /* A C statement (sans semicolon) to output to the stdio stream STREAM
42 --- gcc/config/ia64/linux.h.~1~
43 +++ gcc/config/ia64/linux.h
44 @@ -56,7 +56,7 @@ do {                                          \
45     Signalize that because we have fde-glibc, we don't need all C shared libs
46     linked against -lgcc_s.  */
47  #undef LINK_EH_SPEC
48 -#define LINK_EH_SPEC ""
49 +#define LINK_EH_SPEC "%{!r:--build-id} "
50  
51  #define MD_UNWIND_SUPPORT "config/ia64/linux-unwind.h"
52  
This page took 0.06769 seconds and 3 git commands to generate.