mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-26 19:44:11 +08:00
* aoutx.h (NAME(aout,swap_ext_reloc_out)): Don't set r_extern for
a reloc against a local symbol, even if it's not a section.
This commit is contained in:
parent
cc274a2ecb
commit
f69e888e4d
@ -1,3 +1,8 @@
|
||||
Wed Sep 20 12:03:26 1995 Ian Lance Taylor <ian@cygnus.com>
|
||||
|
||||
* aoutx.h (NAME(aout,swap_ext_reloc_out)): Don't set r_extern for
|
||||
a reloc against a local symbol, even if it's not a section.
|
||||
|
||||
Tue Sep 19 17:02:26 1995 Ian Lance Taylor <ian@cygnus.com>
|
||||
|
||||
* targets.c (bfd_target): Remove unused align_power_min field.
|
||||
|
@ -2050,7 +2050,11 @@ NAME(aout,swap_ext_reloc_out) (abfd, g, natptr)
|
||||
}
|
||||
else if ((sym->flags & BSF_SECTION_SYM) == 0)
|
||||
{
|
||||
r_extern = 1;
|
||||
if (bfd_is_und_section (bfd_get_section (sym))
|
||||
|| (sym->flags & BSF_GLOBAL) != 0)
|
||||
r_extern = 1;
|
||||
else
|
||||
r_extern = 0;
|
||||
r_index = (*(g->sym_ptr_ptr))->KEEPIT;
|
||||
}
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user