summaryrefslogtreecommitdiffstats
path: root/lld/test/ELF/ehdr_start.s
Commit message (Collapse)AuthorAgeFilesLines
* [ELF][test] Improve testsFangrui Song2019-09-071-2/+2
| | | | | | | | | | | | | | Add file-level comments Delete insignificant addresses to make them more tolerant to layout changes Simplify test output Delete weak-undef-val.s - covered by relocation-undefined-weak.s Delete weak-undef-export.s - covered by additional test added to weak-undef.s Delete version-undef-sym.s - covered by undefined-versioned-symbol.s => version-symbol-undef.s Delete symbol-ordering-file2.s - covered by symbol-ordering-file.s Delete gotpcrelx.s - covered by gotpc-relax-und-dso.s => x86-64-gotpc-relax-und-dso.s llvm-svn: 371299
* [test] Change llvm-readobj -long-option to --long-option or well-known short ↵Fangrui Song2019-05-011-2/+2
| | | | | | | | | | | | options. NFC Also change some options that have different semantics (cause confusion) in llvm-readelf mode: -s => -S -t => --symbols -sd => --section-data llvm-svn: 359651
* Define __executable_start.Rafael Espindola2017-06-061-0/+11
| | | | | | This is defined by both bfd and gold and used by the android libc. llvm-svn: 304803
* [ELF] Make __ehdr_start point to ELF file headersPetr Hosek2017-02-241-4/+18
| | | | | | | | | | | __ehdr_start should be pointing to ELF file headers, not program headers. This is a reland of D30319. Differential Revision: https://reviews.llvm.org/D30323 llvm-svn: 296085
* Revert "[ELF] Make __ehdr_start point to ELF file headers"Petr Hosek2017-02-241-18/+4
| | | | | | This reverts commit r296079. llvm-svn: 296083
* [ELF] Make __ehdr_start point to ELF file headersPetr Hosek2017-02-241-4/+18
| | | | | | | | | __ehdr_start should be pointing to ELF file headers, not program headers. Differential Revision: https://reviews.llvm.org/D30319 llvm-svn: 296079
* Fix a few symbols that are not actually ABS.Rafael Espindola2017-01-281-1/+1
| | | | | | | | | | | The symbols _end, end, _etext, etext, _edata, edata and __ehdr_start refer to positions in the file and are therefore not absolute. Making them absolute was on unfortunate cargo cult of what bfd was doing. Changing the symbols allows for pc relocations to them to be resolved, which should fix the wine build. llvm-svn: 293385
* lld: Default image base address to 0x200000 on x86-64Ed Maste2016-11-231-1/+1
| | | | | | | | | Align to the large page size (known as a superpage or huge page). FreeBSD automatically promotes large, superpage-aligned allocations. Differential Revision: https://reviews.llvm.org/D27042 llvm-svn: 287782
* [ELF] - Do not create reserved symbols in case of relocatable output.George Rimar2016-11-151-0/+5
| | | | | | | | | | | This patch stops creating symbols like __ehdr_start, _end/_etext_edata,__tls_get_addr when using -r. This fixes PR30984. Differential revision: https://reviews.llvm.org/D26600 llvm-svn: 286941
* [ELF] - Untabify. NFC.George Rimar2016-11-141-1/+1
| | | | llvm-svn: 286800
* [ELF] Define __ehdr_start symbolPetr Hosek2016-08-221-0/+11
This symbol can be used by the program to examine its own headers. Differential Revision: https://reviews.llvm.org/D23750 llvm-svn: 279452
OpenPOWER on IntegriCloud