mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-28 23:39:35 +08:00
2004-08-12 H.J. Lu <hongjiu.lu@intel.com>
* elf32-i386.c (elf_i386_relocate_section): Report unrecognized relocation.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2004-08-12 H.J. Lu <hongjiu.lu@intel.com>
|
||||||
|
|
||||||
|
* elf32-i386.c (elf_i386_relocate_section): Report unrecognized
|
||||||
|
relocation.
|
||||||
|
|
||||||
2004-08-10 Alan Modra <amodra@bigpond.net.au>
|
2004-08-10 Alan Modra <amodra@bigpond.net.au>
|
||||||
|
|
||||||
* elf64-ppc.c (struct ppc_link_hash_entry): Add was_undefined.
|
* elf64-ppc.c (struct ppc_link_hash_entry): Add was_undefined.
|
||||||
|
@ -2039,6 +2039,13 @@ elf_i386_relocate_section (bfd *output_bfd,
|
|||||||
&& ((indx = r_type - R_386_tls_offset) - R_386_ext
|
&& ((indx = r_type - R_386_tls_offset) - R_386_ext
|
||||||
>= R_386_tls - R_386_ext))
|
>= R_386_tls - R_386_ext))
|
||||||
{
|
{
|
||||||
|
char *name = bfd_get_section_ident (input_section);
|
||||||
|
(*_bfd_error_handler)
|
||||||
|
(_("%s: unrecognized relocation (0x%x) in section `%s'"),
|
||||||
|
bfd_archive_filename (input_bfd), r_type,
|
||||||
|
name ? name : input_section->name);
|
||||||
|
if (name)
|
||||||
|
free (name);
|
||||||
bfd_set_error (bfd_error_bad_value);
|
bfd_set_error (bfd_error_bad_value);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user