mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-26 22:07:58 +08:00
Patch from: Jim Pick <jim@jimpick.com>
Take note of 'no_undefined'.
This commit is contained in:
@ -1,3 +1,7 @@
|
|||||||
|
1999-06-28 Jim Pick <jim@jimpick.com>
|
||||||
|
|
||||||
|
* elf32-arm.h (elf32_arm_relocate_section): Mind no_undefined
|
||||||
|
|
||||||
Tue Jun 29 02:25:03 1999 Jeffrey A Law (law@cygnus.com)
|
Tue Jun 29 02:25:03 1999 Jeffrey A Law (law@cygnus.com)
|
||||||
|
|
||||||
* elf-hppa.c (elf_hppa_howto_table): Use bfd_elf_generic_reloc as
|
* elf-hppa.c (elf_hppa_howto_table): Use bfd_elf_generic_reloc as
|
||||||
|
@ -1733,6 +1733,8 @@ elf32_arm_relocate_section (output_bfd, info, input_bfd, input_section,
|
|||||||
}
|
}
|
||||||
else if (h->root.type == bfd_link_hash_undefweak)
|
else if (h->root.type == bfd_link_hash_undefweak)
|
||||||
relocation = 0;
|
relocation = 0;
|
||||||
|
else if (info->shared && !info->symbolic && !info->no_undefined)
|
||||||
|
relocation = 0;
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (!((*info->callbacks->undefined_symbol)
|
if (!((*info->callbacks->undefined_symbol)
|
||||||
|
Reference in New Issue
Block a user