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]

Re: [Patch, AARCH64] gc-section support


Hi Venkat,

Thanks for the patch.

Can you please generate the patch using "diff -u -p"? This will make the patch easier to review. Also the indent is not consistent with the existing style, which is hard tab(s) plus spaces. Can you please correct it as well.

Thanks,
Yufeng

On 02/22/13 17:25, Venkataramanan Kumar wrote:
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.



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