* pe-dll.c (generate_reloc): Don't emit a base reloc for an
underlying BFD reloc that will be discarded in eh_frame data.
This commit is contained in:
parent
7a9db077fc
commit
0432176d1e
@ -1,3 +1,8 @@
|
||||
2011-10-13 Dave Korn <dave.korn.cygwin@gmail.com>
|
||||
|
||||
* pe-dll.c (generate_reloc): Don't emit a base reloc for an
|
||||
underlying BFD reloc that will be discarded in eh_frame data.
|
||||
|
||||
2011-10-10 Nick Clifton <nickc@redhat.com>
|
||||
|
||||
* po/bg.po: Updated Bulgarian translation.
|
||||
|
@ -1395,6 +1395,15 @@ generate_reloc (bfd *abfd, struct bfd_link_info *info)
|
||||
else if (!blhe || blhe->type != bfd_link_hash_defined)
|
||||
continue;
|
||||
}
|
||||
/* Nor for Dwarf FDE references to discarded sections. */
|
||||
else if (bfd_is_abs_section (sym->section->output_section))
|
||||
{
|
||||
/* We only ignore relocs from .eh_frame sections, as
|
||||
they are discarded by the final link rather than
|
||||
resolved against the kept section. */
|
||||
if (!strcmp (s->name, ".eh_frame"))
|
||||
continue;
|
||||
}
|
||||
|
||||
reloc_data[total_relocs].vma = sec_vma + relocs[i]->address;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user