Discussion:
[PATCH 11/13] [NDS32] Update and support more target features for the nds32 port
Nelson Chu
2018-09-17 02:05:20 UTC
Permalink
Hi, binutils maintainers and developers,

Attached is the eleventh patch,
0011-NDS32-Update-PIC-related-codes-and-add-support-for-PIE

Best regards,
Nelson Ching-Yu Chu
Software R&D, Andes Technology
Nelson Chu
2018-09-19 09:45:06 UTC
Permalink
Hi, binutils maintainers and developers,

Attached is the modified patch.

* bfd/ChangeLog
2018-09-19 Nelson Chu <***@1990gmail.com>

* elf32-nds32.c (elf32_nds32_allocate_dynrelocs): New function.
(create_got_section): Likewise.
(allocate_dynrelocs, nds32_elf_size_dynamic_sections,
nds32_elf_relocate_section, nds32_elf_finish_dynamic_symbol): Updated.
(nds32_elf_check_relocs): Fix the issue that the shared library may
has TEXTREL entry in the dynamic section.
(nds32_elf_create_dynamic_sections): Enable to call readonly_dynrelocs
since the TEXTREL issue is fixed in the nds32_elf_check_relocs.
(nds32_elf_finish_dynamic_sections): Update and add DT_RELASZ
dynamic entry.
(calculate_offset): Remove the unused parameter `pic_ext_target' and
related codes.
All callers changed.
(elf_backend_dtrel_excludes_plt): Disable it temporarily since it
will cause some errors for our test cases.

* ld/ChangeLog
2018-09-19 Nelson Chu <***@1990gmail.com>

* emultempl/nds32elf.em (nds32_elf_after_open): Updated.

Best regards,
Nelson Ching-Yu Chu
Software R&D, Andes Technology
Post by Nelson Chu
Hi, binutils maintainers and developers,
Attached is the eleventh patch,
0011-NDS32-Update-PIC-related-codes-and-add-support-for-PIE
Best regards,
Nelson Ching-Yu Chu
Software R&D, Andes Technology
Loading...