This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Patch, AARCH64] gc-section support


Hi Maintainers,

Attached is a small patch that enables gc-section support for AARCH64.

In the sweep hook I have handled TLS and GOT related relocs that were
already supported in that file.

Make check passes along with the gc-section tests.

I used the patched binutils to build gcc for aarch64-none-elf target
and tested the gcc testsuite in v8 foundation model.

Ok for trunk?

regards,
Venkat,


ChangeLog:

BFD

2013-02-21  Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>

        * elf64-aarch64.c (elf_backend_can_gc_sections): Enable
gc-section support.
        (elf64_aarch64_gc_sweep_hook): Handle GOT, TLS and PLT related relocs.

LD

2013-02-21  Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>

        * lib/ld-lib.exp (check_gc_sections_available): Remove aarch64
from list of
        targets that don't support gc-section.

Attachment: gc-section-support.txt
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]