[PATCH 11/13] [NDS32] Update and support more target features for the nds32 port

Nelson Chu nelson.chu1990@gmail.com
Wed Sep 19 09:45:00 GMT 2018
Hi, binutils maintainers and developers,

Attached is the modified patch.

* bfd/ChangeLog
2018-09-19  Nelson Chu  <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  <nelson.chu@1990gmail.com>

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

Best regards,
Nelson Ching-Yu Chu
Software R&D, Andes Technology
Nelson Chu <nelson.chu1990@gmail.com> 於 2018年9月17日 週一 上午10:05寫道:
>
> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0011-NDS32-Update-PIC-related-codes-and-add-support-for-P.patch
Type: application/octet-stream
Size: 58645 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20180919/de7e4eb5/attachment.obj>


More information about the Binutils mailing list