Undo Solaris damages in elf64-x86-64.c.
authorH.J. Lu <hjl.tools@gmail.com>
Tue, 18 Jan 2011 20:41:09 +0000 (20:41 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Tue, 18 Jan 2011 20:41:09 +0000 (20: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 eebb219f2790d3173962fdec2fea72c8913c4d41..aef9a44796a5fbd92346266468cc09b2e387564f 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 9a3959ad16cd8ab428b002ccb184cf382aaeab7a..0e441889ad51c8e97eeafcca32b0494a0cd22ded 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 678b547115d984f01f8e0376e5c8a44cf5032f56..cfa3d33c40d5ad49da7e6416d0b35f38632d7ab3 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 e7bfe4e2fcce4c326cdc753a87864a3ddf633e02..e8690b3456966d12997516c1307f0ff22a5276d5 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\)