hanchenye-llvm-project/lld/test
George Rimar 0b89c55aea [ELF] - Stop mixing order of -defsym/-script commands.
Previously we always handled -defsym after other commands in command line.
That made impossible to overload values set by -defsym from linker script:

 test.script:            
  foo = 0x22;
-defsym=foo=0x11 -script t.script
would always set foo to 0x11.

That is inconstent with common logic which allows to override command line
options. it is inconsistent with bfd behavior and seems breaks assumption that
-defsym is the same as linker script assignment, as -defsyms always handled out of
command line order.

Patch fixes the handling order.

Differential revision: https://reviews.llvm.org/D42054

llvm-svn: 322625
2018-01-17 10:24:49 +00:00
..
COFF Fix newly failing tests. 2018-01-08 23:07:39 +00:00
Driver/Inputs
ELF [ELF] - Stop mixing order of -defsym/-script commands. 2018-01-17 10:24:49 +00:00
MinGW [MinGW] Don't pass -dynamicbase:no by default for arm/arm64 2017-12-12 19:39:18 +00:00
Unit [lit] Rename lld and clang lit configs to end in .py 2017-09-21 17:38:13 +00:00
darwin
mach-o
wasm [WebAssembly] Define __heap_base global 2018-01-17 01:34:31 +00:00
CMakeLists.txt [lit] Rename lld and clang lit configs to end in .py 2017-09-21 17:38:13 +00:00
lit.cfg.py [ELF] Use shell to check the file permissions 2017-12-12 00:31:46 +00:00
lit.site.cfg.py.in [lit] Rename lld and clang lit configs to end in .py 2017-09-21 17:38:13 +00:00