hanchenye-llvm-project/lld/test
George Rimar 652852c5c0 Recommitted 266457 with fix:
* Do script driven layout only if SECTIONS section exist.

Initial commit message:

[ELF] - Implemented basic location counter support.

This patch implements location counter support. 
It also separates assign addresses for sections to assignAddressesScript() if it scipt exists.

Main testcase is test/ELF/linkerscript-locationcounter.s, It contains some work with location counter. It is basic now.
Implemented location counter assignment and '+' operations.

Patch by myself with LOTS of comments and design suggestions from Rui Ueyama.

Differential revision: http://reviews.llvm.org/D18499

llvm-svn: 266526
2016-04-16 10:10:32 +00:00
..
COFF [COFF] Correct tests with bogus alignment 2016-03-18 21:47:12 +00:00
Driver/Inputs Remove the old ELF linker. 2016-02-28 00:10:58 +00:00
ELF Recommitted 266457 with fix: 2016-04-16 10:10:32 +00:00
Unit Replace hardcoded comment at 'lit.site.cfg.in' 2016-04-16 07:09:39 +00:00
darwin Add the GC commandline options and throw errors if they are used 2016-01-15 17:39:02 +00:00
mach-o Parsed alignment should be a power of 2. 2016-03-24 00:36:37 +00:00
CMakeLists.txt Add dependency to llvm-dis. 2016-03-14 23:16:13 +00:00
lit.cfg Fix the detection of the shell feature and disable some tests when its not present 2016-03-30 20:15:50 +00:00
lit.site.cfg.in Replace hardcoded comment at 'lit.site.cfg.in' 2016-04-16 07:09:39 +00:00