summaryrefslogtreecommitdiffstats
path: root/lld/test/ELF/linkerscript/align-empty.s
Commit message (Collapse)AuthorAgeFilesLines
* Write some tests as linker scripts instead of assembly files.Rui Ueyama2018-02-281-18/+0
| | | | | | | | | | Some linker script test cases contain only a few lines of assembly and a long linker script. Such tests are easier to maintain if we write the main test file as a linkier script instead of assembly. Differential Revision: https://reviews.llvm.org/D43887 llvm-svn: 326363
* Don't depend on lld creating space for the headers.Rafael Espindola2016-09-301-0/+1
| | | | | | | | | | | | | Currently lld will implicitly reserve space for the headers. This is not the case is bfd, where it is the script responsibility to use SIZEOF_HEADERS. This means that a script not using SIZEOF_HEADERS and expecting the address of the first section to be 0 would fail with lld. I am fixing that is the next commit. This one just makes the tests explicitly use SIZEOF_HEADERS to avoid the dependency on the current behaviour. llvm-svn: 282814
* Make test less dependent on the section order.Rafael Espindola2016-09-201-2/+5
| | | | | | | This means either relaxing CHECKs or listing more sections and addresses in linker scripts. llvm-svn: 282014
* Remove empty section commands.Rafael Espindola2016-09-201-0/+14
We were already not creating them, and with this other parts of the code don't have to worry about them. llvm-svn: 281968
OpenPOWER on IntegriCloud