source: scripts/patch/gcc/4.4.1/25-hash-style.patch@ 47ff8d6

systemd
Last change on this file since 47ff8d6 was ee54da9, checked in by Jim Gifford <clfs@…>, 15 years ago

Updated GCC Script for 4.4.1

  • Property mode set to 100644
File size: 6.1 KB
  • gcc/config/alpha/linux-elf.h

    2006-07-11  Jakub Jelinek  <jakub@redhat.com>
    
    	* config/i386/linux.h (LINK_SPEC): Add --hash-style=both.
    	* config/i386/linux64.h (LINK_SPEC): Likewise.
    	* config/rs6000/sysv4.h (LINK_OS_LINUX_SPEC): Likewise.
    	* config/rs6000/linux64.h (LINK_OS_LINUX_SPEC32,
    	LINK_OS_LINUX_SPEC64): Likewise.
    	* config/s390/linux.h (LINK_SPEC): Likewise.
    	* config/ia64/linux.h (LINK_SPEC): Likewise.
    	* config/sparc/linux.h (LINK_SPEC): Likewise.
    	* config/sparc/linux64.h (LINK_SPEC, LINK_ARCH32_SPEC,
    	LINK_ARCH64_SPEC): Likewise.
    	* config/alpha/linux-elf.h (LINK_SPEC): Likewise.
    
    diff -Naur gcc-4.4.0.orig/gcc/config/alpha/linux-elf.h gcc-4.4.0/gcc/config/alpha/linux-elf.h
    old new  
    3939
    4040#define ELF_DYNAMIC_LINKER      LINUX_DYNAMIC_LINKER
    4141
    42 #define LINK_SPEC "-m elf64alpha %{G*} %{relax:-relax}          \
     42#define LINK_SPEC "-m elf64alpha --hash-style=both %{G*} %{relax:-relax}        \
    4343  %{O*:-O3} %{!O*:-O1}                                          \
    4444  %{shared:-shared}                                             \
    4545  %{!shared:                                                    \
  • gcc/config/i386/linux64.h

    diff -Naur gcc-4.4.0.orig/gcc/config/i386/linux64.h gcc-4.4.0/gcc/config/i386/linux64.h
    old new  
    7575#endif
    7676
    7777#undef  LINK_SPEC
    78 #define LINK_SPEC "%{" SPEC_64 ":-m elf_x86_64} %{" SPEC_32 ":-m elf_i386} \
     78#define LINK_SPEC "%{" SPEC_64 ":-m elf_x86_64} %{" SPEC_32 ":-m elf_i386} --hash-style=both \
    7979  %{shared:-shared} \
    8080  %{!shared: \
    8181    %{!static: \
  • gcc/config/i386/linux.h

    diff -Naur gcc-4.4.0.orig/gcc/config/i386/linux.h gcc-4.4.0/gcc/config/i386/linux.h
    old new  
    113113  { "dynamic_linker", LINUX_DYNAMIC_LINKER }
    114114
    115115#undef  LINK_SPEC
    116 #define LINK_SPEC "-m %(link_emulation) %{shared:-shared} \
     116#define LINK_SPEC "-m %(link_emulation) --hash-style=both %{shared:-shared} \
    117117  %{!shared: \
    118118    %{!ibcs: \
    119119      %{!static: \
  • gcc/config/ia64/linux.h

    diff -Naur gcc-4.4.0.orig/gcc/config/ia64/linux.h gcc-4.4.0/gcc/config/ia64/linux.h
    old new  
    4040#define GLIBC_DYNAMIC_LINKER "/lib/ld-linux-ia64.so.2"
    4141
    4242#undef LINK_SPEC
    43 #define LINK_SPEC "\
     43#define LINK_SPEC "--hash-style=both \
    4444  %{shared:-shared} \
    4545  %{!shared: \
    4646    %{!static: \
  • gcc/config/rs6000/linux64.h

    diff -Naur gcc-4.4.0.orig/gcc/config/rs6000/linux64.h gcc-4.4.0/gcc/config/rs6000/linux64.h
    old new  
    357357  CHOOSE_DYNAMIC_LINKER (GLIBC_DYNAMIC_LINKER64, UCLIBC_DYNAMIC_LINKER64)
    358358
    359359
    360 #define LINK_OS_LINUX_SPEC32 "-m elf32ppclinux %{!shared: %{!static: \
     360#define LINK_OS_LINUX_SPEC32 "-m elf32ppclinux --hash-style=both %{!shared: %{!static: \
    361361  %{rdynamic:-export-dynamic} \
    362362  %{!dynamic-linker:-dynamic-linker " LINUX_DYNAMIC_LINKER32 "}}}"
    363363
    364 #define LINK_OS_LINUX_SPEC64 "-m elf64ppc %{!shared: %{!static: \
     364#define LINK_OS_LINUX_SPEC64 "-m elf64ppc --hash-style=both %{!shared: %{!static: \
    365365  %{rdynamic:-export-dynamic} \
    366366  %{!dynamic-linker:-dynamic-linker " LINUX_DYNAMIC_LINKER64 "}}}"
    367367
  • gcc/config/rs6000/sysv4.h

    diff -Naur gcc-4.4.0.orig/gcc/config/rs6000/sysv4.h gcc-4.4.0/gcc/config/rs6000/sysv4.h
    old new  
    911911#define LINUX_DYNAMIC_LINKER \
    912912  CHOOSE_DYNAMIC_LINKER (GLIBC_DYNAMIC_LINKER, UCLIBC_DYNAMIC_LINKER)
    913913
    914 #define LINK_OS_LINUX_SPEC "-m elf32ppclinux %{!shared: %{!static: \
     914#define LINK_OS_LINUX_SPEC "-m elf32ppclinux --hash-style=both %{!shared: %{!static: \
    915915  %{rdynamic:-export-dynamic} \
    916916  %{!dynamic-linker:-dynamic-linker " LINUX_DYNAMIC_LINKER "}}}"
    917917
  • gcc/config/s390/linux.h

    diff -Naur gcc-4.4.0.orig/gcc/config/s390/linux.h gcc-4.4.0/gcc/config/s390/linux.h
    old new  
    7777
    7878#undef  LINK_SPEC
    7979#define LINK_SPEC \
    80   "%{m31:-m elf_s390}%{m64:-m elf64_s390} \
     80  "%{m31:-m elf_s390}%{m64:-m elf64_s390} --hash-style=both \
    8181   %{shared:-shared} \
    8282   %{!shared: \
    8383      %{static:-static} \
  • gcc/config/sparc/linux64.h

    diff -Naur gcc-4.4.0.orig/gcc/config/sparc/linux64.h gcc-4.4.0/gcc/config/sparc/linux64.h
    old new  
    121121  { "link_arch_default", LINK_ARCH_DEFAULT_SPEC },        \
    122122  { "link_arch",         LINK_ARCH_SPEC },
    123123
    124 #define LINK_ARCH32_SPEC "-m elf32_sparc -Y P,%R/usr/lib %{shared:-shared} \
     124#define LINK_ARCH32_SPEC "-m elf32_sparc --hash-style=both -Y P,%R/usr/lib %{shared:-shared} \
    125125  %{!shared: \
    126126    %{!ibcs: \
    127127      %{!static: \
     
    130130        %{static:-static}}} \
    131131"
    132132
    133 #define LINK_ARCH64_SPEC "-m elf64_sparc -Y P,%R/usr/lib64 %{shared:-shared} \
     133#define LINK_ARCH64_SPEC "-m elf64_sparc --hash-style=both -Y P,%R/usr/lib64 %{shared:-shared} \
    134134  %{!shared: \
    135135    %{!ibcs: \
    136136      %{!static: \
     
    211211#else /* !SPARC_BI_ARCH */
    212212
    213213#undef LINK_SPEC
    214 #define LINK_SPEC "-m elf64_sparc -Y P,%R/usr/lib64 %{shared:-shared} \
     214#define LINK_SPEC "-m elf64_sparc --hash-style=both -Y P,%R/usr/lib64 %{shared:-shared} \
    215215  %{!shared: \
    216216    %{!ibcs: \
    217217      %{!static: \
  • gcc/config/sparc/linux.h

    diff -Naur gcc-4.4.0.orig/gcc/config/sparc/linux.h gcc-4.4.0/gcc/config/sparc/linux.h
    old new  
    8686#define GLIBC_DYNAMIC_LINKER "/lib/ld-linux.so.2"
    8787
    8888#undef  LINK_SPEC
    89 #define LINK_SPEC "-m elf32_sparc -Y P,/usr/lib %{shared:-shared} \
     89#define LINK_SPEC "-m elf32_sparc --hash-style=both -Y P,/usr/lib %{shared:-shared} \
    9090  %{!mno-relax:%{!r:-relax}} \
    9191  %{!shared: \
    9292    %{!ibcs: \
Note: See TracBrowser for help on using the repository browser.