* elfcode.h (write_relocs): Handle an absolute symbol in REL
relocs as we do for RELA relocs.
This commit is contained in:
parent
5d3aaa749f
commit
eeaf533e61
2 changed files with 7 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue