mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-03 05:12:28 +08:00
* elfcode.h (write_relocs): Handle an absolute symbol in REL
relocs as we do for RELA relocs.
This commit is contained in:
@ -1,3 +1,8 @@
|
||||
1999-09-11 Ian Lance Taylor <ian@zembu.com>
|
||||
|
||||
* elfcode.h (write_relocs): Handle an absolute symbol in REL
|
||||
relocs as we do for RELA relocs.
|
||||
|
||||
1999-09-11 Donn Terry <donn@interix.com>
|
||||
|
||||
* cofflink.c (coff_link_add_symbols): Don't warn about symbol type
|
||||
|
@ -857,6 +857,8 @@ write_relocs (abfd, sec, data)
|
||||
|
||||
if (sym == last_sym)
|
||||
n = last_sym_idx;
|
||||
else if (bfd_is_abs_section (sym->section) && sym->value == 0)
|
||||
n = STN_UNDEF;
|
||||
else
|
||||
{
|
||||
last_sym = sym;
|
||||
|
Reference in New Issue
Block a user