H.J. Lu
41bed6dd8a
bfd/
2008-03-16 H.J. Lu <hongjiu.lu@intel.com>
PR ld/5789
PR ld/5943
* elf32-i386.c (elf_i386_relocate_section): Issue an error
for R_386_GOTOFF relocaton against undefined hidden/internal
symbols when building a shared object.
* elf64-x86-64.c (elf64_x86_64_relocate_section): Issue an
error for R_X86_64_PC8/R_X86_64_PC16/R_X86_64_PC32
relocaton against undefined hidden/internal symbols when
building a shared object.
(elf64_x86_64_finish_dynamic_symbol): Return FALSE when symbol
is referenced locally, but isn't defined in a regular file.
ld/testsuite/
2008-03-16 H.J. Lu <hongjiu.lu@intel.com>
PR ld/5789
PR ld/5943
* ld-i386/hidden1.d: New.
* ld-i386/hidden1.s: Likewise.
* ld-i386/hidden2.d: Likewise.
* ld-i386/hidden2.s: Likewise.
* ld-i386/hidden3.d: Likewise.
* ld-i386/hidden4.s: Likewise.
* ld-i386/protected1.d: Likewise.
* ld-i386/protected1.s: Likewise.
* ld-i386/protected2.d: Likewise.
* ld-i386/protected2.s: Likewise.
* ld-i386/protected3.d: Likewise.
* ld-i386/protected3.s: Likewise.
* ld-x86-64/hidden1.d: Likewise.
* ld-x86-64/hidden1.s: Likewise.
* ld-x86-64/hidden2.d: Likewise.
* ld-x86-64/hidden2.s: Likewise.
* ld-x86-64/hidden3.d: Likewise.
* ld-x86-64/hidden3.s: Likewise.
* ld-x86-64/protected1.d: Likewise.
* ld-x86-64/protected1.s: Likewise.
* ld-x86-64/protected2.d: Likewise.
* ld-x86-64/protected2.s: Likewise.
* ld-x86-64/protected3.d: Likewise.
* ld-x86-64/protected3.s: Likewise.
* ld-i386/i386.exp: Run hidden1, hidden2, hidden3, protected1,
protected2 and protected3.
* ld-x86-64/x86-64.exp: Likewise.
2008-03-16 22:26:23 +00:00
..
2007-08-28 13:21:58 +00:00
2007-09-30 01:33:15 +00:00
2008-03-08 14:58:14 +00:00
2008-02-20 17:51:18 +00:00
2007-07-06 14:09:45 +00:00
2007-07-25 21:30:59 +00:00
2007-08-28 13:21:58 +00:00
2008-02-27 17:06:42 +00:00
2007-07-06 14:09:45 +00:00
2007-07-06 14:09:45 +00:00
2007-07-06 14:09:45 +00:00
2007-07-06 14:09:45 +00:00
2008-03-12 08:37:09 +00:00
2007-10-16 14:42:15 +00:00
2008-01-28 16:41:05 +00:00
2007-07-06 14:09:45 +00:00
2007-07-06 14:09:45 +00:00
2007-07-06 14:09:45 +00:00
2007-07-06 14:09:45 +00:00
2008-01-23 16:05:45 +00:00
2007-07-06 14:09:45 +00:00
2008-03-16 22:26:23 +00:00
2007-09-30 01:33:15 +00:00
2007-07-06 14:09:45 +00:00
2007-07-06 14:09:45 +00:00
2007-07-06 14:09:45 +00:00
2007-07-06 14:09:45 +00:00
2007-07-06 14:09:45 +00:00
2007-07-06 14:09:45 +00:00
2007-11-17 13:38:57 +00:00
2007-07-06 14:09:45 +00:00
2007-12-31 11:29:01 +00:00
2007-08-06 14:41:51 +00:00
2007-07-06 14:09:45 +00:00
2008-03-01 06:52:52 +00:00
2007-09-30 01:33:15 +00:00
2007-12-14 21:54:50 +00:00
2007-09-30 15:26:43 +00:00
2007-10-16 14:42:15 +00:00
2008-02-14 20:23:27 +00:00
2007-09-30 01:33:15 +00:00
2008-03-14 04:43:08 +00:00
2007-10-12 04:38:29 +00:00
2008-02-04 23:41:54 +00:00
2007-07-06 14:09:45 +00:00
2007-07-06 14:09:45 +00:00
2007-11-08 13:51:07 +00:00
2008-03-16 22:26:23 +00:00
2007-07-06 14:09:45 +00:00
2007-07-06 14:09:45 +00:00
2008-02-01 17:58:48 +00:00
2008-02-18 11:04:09 +00:00
2008-03-16 22:26:23 +00:00
2006-01-16 23:15:07 +00:00
2006-01-16 23:15:07 +00:00
2007-01-09 17:30:59 +00:00
2008-01-07 16:45:35 +00:00
2004-01-02 11:16:21 +00:00