mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-03 04:12:10 +08:00
2005-05-09 H.J. Lu <hongjiu.lu@intel.com>
* emultempl/elf32.em (gld${EMULATION_NAME}_provide_bound_symbols): Don't use a removed section.
This commit is contained in:
parent
a6e1b90f78
commit
baf6e97fe3
@ -1,3 +1,8 @@
|
||||
2005-05-09 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
* emultempl/elf32.em (gld${EMULATION_NAME}_provide_bound_symbols):
|
||||
Don't use a removed section.
|
||||
|
||||
2005-05-09 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
* ldmain.c (reloc_overflow): Use output_bfd if the symbol
|
||||
|
@ -1454,6 +1454,8 @@ gld${EMULATION_NAME}_provide_bound_symbols (const char *sec,
|
||||
const char *end)
|
||||
{
|
||||
asection *s = bfd_get_section_by_name (output_bfd, sec);
|
||||
if (s && bfd_section_removed_from_list (output_bfd, s))
|
||||
s = NULL;
|
||||
_bfd_elf_provide_section_bound_symbols (&link_info, s, start, end);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user