nds32: Remove the unsupported target feature.

This commit is contained in:
Kuan-Lin Chen 2018-03-15 14:50:51 +08:00
parent 8bb251a84a
commit f967164095
4 changed files with 22 additions and 2792 deletions

View File

@ -1,3 +1,19 @@
2018-03-15 Kuan-Lin Chen <kuanlinchentw@gmail.com>
* elf32-nds32.c (nds32_elf_ex9_build_hash_table): Removed.
Not support the target feature.
(nds32_elf_ex9_itb_base): Likewise.
(nds32_elf_ex9_import_table): Likewise.
(nds32_elf_ex9_finish): Likewise.
(nds32_elf_ex9_reloc_jmp): Likewise.
(nds32_elf_get_insn_with_reg): Likewise.
(nds32_get_local_syms): Likewise.
(nds32_elf_ex9_replace_instruction): Likewise.
(nds32_elf_ifc_calc): Likewise.
(nds32_elf_ifc_finish): Likewise.
(nds32_elf_ifc_replace): Likewise.
(nds32_elf_ifc_reloc): Likewise.
2018-03-14 Alan Modra <amodra@gmail.com>
* elf64-ppc.c (sfpr_define): Adjust for stub_sec size having

File diff suppressed because it is too large Load Diff

View File

@ -1,3 +1,8 @@
2018-03-15 Kuan-Lin Chen <kuanlinchentw@gmail.com>
* emultempl/nds32elf.em (nds32_elf_after_allocation): Remove
unsupported target feature.
2018-03-14 H.J. Lu <hongjiu.lu@intel.com>
PR ld/20882

View File

@ -191,14 +191,6 @@ nds32_elf_after_open (void)
static void
nds32_elf_after_allocation (void)
{
if (target_optimize & NDS32_RELAX_EX9_ON
|| (ex9_import_file != NULL && update_ex9_table == 1))
{
/* Initialize ex9 hash table. */
if (!nds32_elf_ex9_init ())
return;
}
/* Call default after allocation callback.
1. This is where relaxation is done.
2. It calls gld${EMULATION_NAME}_map_segments to build ELF segment table.