OSDN Git Service

Undo Solaris damages in elf64-x86-64.c.
authorhjl <hjl>
Wed, 19 Jan 2011 05:41:07 +0000 (05:41 +0000)
committerhjl <hjl>
Wed, 19 Jan 2011 05:41:07 +0000 (05:41 +0000)
bfd/

2011-01-18  H.J. Lu  <hongjiu.lu@intel.com>

* elf64-x86-64.c (elf_backend_static_tls_alignment): Undefine
after Solaris target.
(elf_backend_want_plt_sym): Redefine to 0 after Solaris target.

ld/testsuite/

2011-01-18  H.J. Lu  <hongjiu.lu@intel.com>

* ld-x86-64/ilp32-4.d: Updated.

bfd/ChangeLog
bfd/elf64-x86-64.c
ld/testsuite/ChangeLog
ld/testsuite/ld-x86-64/ilp32-4.d

index eebb219..aef9a44 100644 (file)
@@ -1,3 +1,9 @@
+2011-01-18  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * elf64-x86-64.c (elf_backend_static_tls_alignment): Undefine
+       after Solaris target.
+       (elf_backend_want_plt_sym): Redefine to 0 after Solaris target.
+
 2011-01-18  Pierre Muller  <muller@ics.u-strasbg.fr>
 
        Fix compilation for mingw64.
index 9a3959a..0e44188 100644 (file)
@@ -4719,6 +4719,12 @@ elf64_l1om_elf_object_p (bfd *abfd)
 #undef  elf_backend_post_process_headers
 #undef  elf_backend_static_tls_alignment
 
+/* Undo Solaris damages.  */
+#undef elf_backend_static_tls_alignment
+
+#undef elf_backend_want_plt_sym
+#define elf_backend_want_plt_sym           0
+
 #include "elf64-target.h"
 
 /* FreeBSD L1OM support.  */
index 678b547..cfa3d33 100644 (file)
@@ -1,3 +1,7 @@
+2011-01-18  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * ld-x86-64/ilp32-4.d: Updated.
+
 2011-01-17  Richard Sandiford  <richard.sandiford@linaro.org>
 
        * ld-arm/arm-rel32.s, ld-arm/arm-rel32.d: New testcase.
index e7bfe4e..e8690b3 100644 (file)
@@ -15,8 +15,8 @@ Section Headers:
   \[ 5\] .text             PROGBITS        00000160 000160 000005 00  AX  0   0  4
   \[ 6\] .dynamic          DYNAMIC         00200168 000168 000078 08  WA  3   0  4
   \[ 7\] .shstrtab         STRTAB          00000000 0001e0 00004a 00      0   0  1
-  \[ 8\] .symtab           SYMTAB          00000000 0003bc 0000f0 10      9  10  4
-  \[ 9\] .strtab           STRTAB          00000000 0004ac 00005d 00      0   0  1
+  \[ 8\] .symtab           SYMTAB          00000000 0003bc 0000e0 10      9   9  4
+  \[ 9\] .strtab           STRTAB          00000000 00049c 000043 00      0   0  1
 Key to Flags:
   W \(write\), A \(alloc\), X \(execute\), M \(merge\), S \(strings\), l \(large\)
   I \(info\), L \(link order\), G \(group\), T \(TLS\), E \(exclude\), x \(unknown\)