Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [ELF][AArch64] Allow PT_LOAD to have overlapping p_offset ranges | Fangrui Song | 2019-08-20 | 1 | -4/+3 |
| | | | | | | | | | | | | | | | | | | | | | | Ported the D64906 technique to AArch64. It deletes 3 alignments at PT_LOAD boundaries for the default case: the size of an aarch64 binary decreases by at most 192kb. If `sh_addralign(.tdata) < sh_addralign(.tbss)`, we can potentially make `p_vaddr(PT_TLS)%p_align(PT_TLS) != 0`. ld.so that are known to have problems if p_vaddr%p_align!=0: * musl<=1.1.22 * FreeBSD 13.0-CURRENT (and before) rtld-elf arm64 New test aarch64-tls-vaddr-align.s checks that our workaround makes p_vaddr%p_align = 0. Reviewed By: ruiu Differential Revision: https://reviews.llvm.org/D64930 llvm-svn: 369344 | ||||
* | Align AArch64 and i386 image base to superpage | Dimitry Andric | 2018-09-21 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | Summary: As for x86_64, the default image base for AArch64 and i386 should be aligned to a superpage appropriate for the architecture. On AArch64, this is 2 MiB, on i386 it is 4 MiB. Reviewers: emaste, grimar, javed.absar, espindola, ruiu, peter.smith, srhines, rprichard Reviewed By: ruiu, peter.smith Subscribers: jfb, markj, arichardson, krytarowski, kristof.beyls, llvm-commits Differential Revision: https://reviews.llvm.org/D50297 llvm-svn: 342746 | ||||
* | [ELF] Move `// REQUIRES:` line to the top | Fangrui Song | 2018-06-26 | 1 | -1/+1 |
| | | | | llvm-svn: 335676 | ||||
* | [ELF] Set max page size to 64K for AArch64 | Eugene Leviant | 2016-10-04 | 1 | -4/+4 |
| | | | | | | Differential revision: https://reviews.llvm.org/D25079 llvm-svn: 283200 | ||||
* | [ELF/AArch64] Allow only valid dynamic relocations in the output. | Igor Kudrin | 2015-12-05 | 1 | -9/+12 |
| | | | | | | | | | All relocations, which cannot be handled by the dynamic linker, cause a linking error "rebuild with -fPIC". Differential revision: http://reviews.llvm.org/D15193 llvm-svn: 254840 | ||||
* | [ELF/AArch64] Fix overflow checks for R_AARCH64_{ABS,PREL}{16,32} relocations. | Igor Kudrin | 2015-11-26 | 1 | -47/+9 |
| | | | | | | | | | | ABI specifies the allowed range for these relocations as 2^(n-1) <= X < 2^n. The patch fixes checks and introduces precise tests for these relocations. Differential revision: http://reviews.llvm.org/D14957 llvm-svn: 254146 | ||||
* | Rename ld.lld2 to ld.lld since it is the default. | Rafael Espindola | 2015-11-18 | 1 | -1/+1 |
| | | | | llvm-svn: 253437 | ||||
* | Rename test/elf2 to test/ELF. | Rafael Espindola | 2015-11-17 | 1 | -0/+58 |
llvm-svn: 253313 |