2009-06-15 H.J. Lu <hongjiu.lu@intel.com>

* elf32-i386.c (elf_i386_check_relocs): Reformat.
	* elf64-x86-64.c (elf64_x86_64_check_relocs): Likewise.
This commit is contained in:
H.J. Lu 2009-06-15 17:23:43 +00:00
parent fe2ceba101
commit 048cbda441
3 changed files with 21 additions and 16 deletions

View File

@ -1,3 +1,8 @@
2009-06-15 H.J. Lu <hongjiu.lu@intel.com>
* elf32-i386.c (elf_i386_check_relocs): Reformat.
* elf64-x86-64.c (elf64_x86_64_check_relocs): Likewise.
2009-06-15 H.J. Lu <hongjiu.lu@intel.com>
* Makefile.am: Run "make dep-am".

View File

@ -1472,16 +1472,16 @@ elf_i386_check_relocs (bfd *abfd,
switch (r_type)
{
default:
(*_bfd_error_handler)
(_("%B: relocation %s against STT_GNU_IFUNC "
"symbol `%s' isn't handled by %s"), abfd,
elf_howto_table[r_type].name,
default:
(*_bfd_error_handler)
(_("%B: relocation %s against STT_GNU_IFUNC "
"symbol `%s' isn't handled by %s"), abfd,
elf_howto_table[r_type].name,
(h->root.root.string
? h->root.root.string : "a local symbol"),
__FUNCTION__);
bfd_set_error (bfd_error_bad_value);
return FALSE;
__FUNCTION__);
bfd_set_error (bfd_error_bad_value);
return FALSE;
case R_386_32:
h->non_got_ref = 1;

View File

@ -1258,16 +1258,16 @@ elf64_x86_64_check_relocs (bfd *abfd, struct bfd_link_info *info,
switch (r_type)
{
default:
(*_bfd_error_handler)
(_("%B: relocation %s against STT_GNU_IFUNC "
"symbol `%s' isn't handled by %s"), abfd,
x86_64_elf_howto_table[r_type].name,
default:
(*_bfd_error_handler)
(_("%B: relocation %s against STT_GNU_IFUNC "
"symbol `%s' isn't handled by %s"), abfd,
x86_64_elf_howto_table[r_type].name,
(h->root.root.string
? h->root.root.string : "a local symbol"),
__FUNCTION__);
bfd_set_error (bfd_error_bad_value);
return FALSE;
__FUNCTION__);
bfd_set_error (bfd_error_bad_value);
return FALSE;
case R_X86_64_64:
h->non_got_ref = 1;