2009-06-13 H.J. Lu <hongjiu.lu@intel.com>
* elf32-i386.c (elf_i386_check_relocs): Properly report local symbol for unhandled relocation against STT_GNU_IFUNC symbol. * elf64-x86-64.c (elf64_x86_64_check_relocs): Likewise.
This commit is contained in:
parent
c25bc9fc0d
commit
8b7e29925c
@ -1,3 +1,10 @@
|
|||||||
|
2009-06-13 H.J. Lu <hongjiu.lu@intel.com>
|
||||||
|
|
||||||
|
* elf32-i386.c (elf_i386_check_relocs): Properly report
|
||||||
|
local symbol for unhandled relocation against STT_GNU_IFUNC
|
||||||
|
symbol.
|
||||||
|
* elf64-x86-64.c (elf64_x86_64_check_relocs): Likewise.
|
||||||
|
|
||||||
2009-06-13 H.J. Lu <hongjiu.lu@intel.com>
|
2009-06-13 H.J. Lu <hongjiu.lu@intel.com>
|
||||||
|
|
||||||
PR ld/10269
|
PR ld/10269
|
||||||
|
@ -1480,7 +1480,8 @@ elf_i386_check_relocs (bfd *abfd,
|
|||||||
(_("%B: relocation %s against STT_GNU_IFUNC "
|
(_("%B: relocation %s against STT_GNU_IFUNC "
|
||||||
"symbol `%s' isn't handled by %s"), abfd,
|
"symbol `%s' isn't handled by %s"), abfd,
|
||||||
elf_howto_table[r_type].name,
|
elf_howto_table[r_type].name,
|
||||||
h != NULL ? h->root.root.string : "a local symbol",
|
(h->root.root.string
|
||||||
|
? h->root.root.string : "a local symbol"),
|
||||||
__FUNCTION__);
|
__FUNCTION__);
|
||||||
bfd_set_error (bfd_error_bad_value);
|
bfd_set_error (bfd_error_bad_value);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
@ -1263,7 +1263,8 @@ elf64_x86_64_check_relocs (bfd *abfd, struct bfd_link_info *info,
|
|||||||
(_("%B: relocation %s against STT_GNU_IFUNC "
|
(_("%B: relocation %s against STT_GNU_IFUNC "
|
||||||
"symbol `%s' isn't handled by %s"), abfd,
|
"symbol `%s' isn't handled by %s"), abfd,
|
||||||
x86_64_elf_howto_table[r_type].name,
|
x86_64_elf_howto_table[r_type].name,
|
||||||
h != NULL ? h->root.root.string : "a local symbol",
|
(h->root.root.string
|
||||||
|
? h->root.root.string : "a local symbol"),
|
||||||
__FUNCTION__);
|
__FUNCTION__);
|
||||||
bfd_set_error (bfd_error_bad_value);
|
bfd_set_error (bfd_error_bad_value);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user