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] |
Hi Maintainers Please find the below patch, that adds gc tests for got and TLS relocs. There is a change in the gc sweep hook when handling local got refcounts. I was using generic "elf_local_got_refcounts" the way other ports use. But while testing I found that I need to use "elf64_aarch64_locals" to get local symbols and got reference count in aarch64. Along with that change "make check" passes with new tests written for aarch64-none-linux-gnu. The change log is given below. bfd/ChangeLog 2013-03-26 Venkataramanan Kumar <venkataramanan.kumar@linaro.org> * elf64-aarch64.c (elf64_aarch64_gc_sweep_hook): Use elf64_aarch64_locals to get local GOT reference counts. ld/testsuite/ChangeLog 2013-03-26 Venkataramanan Kumar <venkataramanan.kumar@linaro.org> * ld-aarch64/gc-relocs-tlsle.s: New gc section test. * ld-aarch64/gc-relocs-tlsle.s: Likewise * ld-aarch64/gc-relocs-tlsgd.s: Likewise * ld-aarch64/gc-relocs-tlsdesc.s: Likewise * ld-aarch64/gc-relocs-312.s: Likewise * ld-aarch64/gc-relocs-311.s: Likewise * ld-aarch64/gc-relocs-309.s: Likewise * ld-aarch64/gc-start.s: Likewise * ld-aarch64/gc-got-relocs.d: Update expected objdump * ld-aarch64/gc-tls-relocs.d: Likewise * ld-aarch64/aarch64-elf.exp: add test Ok for trunk? If it is ok, some one please commit for me. regards, Venkat.
Attachment:
got-tls-gc-tests.patch
Description: Binary data
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |