summaryrefslogtreecommitdiffstats
path: root/lld/test/ELF/linkerscript/symbol-assignexpr.s
Commit message (Collapse)AuthorAgeFilesLines
* [LLD][ELF] - Fix tests after r350840.George Rimar2019-01-101-1/+0
| | | | | | | | D56076 (r350840) changed the llvm-objdump output. This is a follow up commit to fix LLD test cases. llvm-svn: 350842
* [ELF] Replace unused output filenames with /dev/null in testsFangrui Song2018-07-021-1/+1
| | | | | | Post commit review at rLLD335992 llvm-svn: 336129
* [ELF] - Linkerscript: Add `~` as separate math token.George Rimar2017-10-121-1/+1
| | | | | | | | | | | | | | | | | | Previously we did not support following: foo = ~0xFF; and had to add space before numeric value: foo = ~ 0xFF That was constistent with ld.bfd < 2.30, which shows: script.txt:3: undefined symbol `~2' referenced in expression, but inconsistent with gold. It was fixed for ld.bfd 2.30 as well: https://sourceware.org/bugzilla/show_bug.cgi?id=22267 Differential revision: https://reviews.llvm.org/D36508 llvm-svn: 315569
* [ELF, LinkerScript] Support ! operator in linker script.Hafiz Abid Qadeer2017-08-101-0/+6
| | | | | | | | | | | | | | Summary: This small patch adds the support for ! operator in linker scripts. Reviewers: ruiu, rafael Reviewed By: ruiu Subscribers: meadori, grimar, emaste, llvm-commits Differential Revision: https://reviews.llvm.org/D36451 llvm-svn: 310607
* Make a few tests shorter. NFC.Rui Ueyama2017-04-121-3/+1
| | | | llvm-svn: 300120
* [ELF] Allow defined symbols to be assigned from linker scriptMeador Inge2017-01-091-2/+15
| | | | | | | | This patch allows for linker scripts to assign a new value to a symbol that is already defined (either in an object file or the linker script itself). llvm-svn: 291459
* [ELF] Linkerscript: print location of undefined symbol usageEugene Leviant2016-12-221-1/+1
| | | | | | Differential revision: https://reviews.llvm.org/D27194 llvm-svn: 290339
* [ELF] Use MaxPageSize for aligning PT_LOADPetr Hosek2016-09-281-7/+7
| | | | | | | | | | | | This matches the behavior of Binutils linkers. We also change the default MaxPageSize on x86-64 to 0x1000 to preserver the current behavior, which is the same as the behavior implemented by gold. https://llvm.org/bugs/show_bug.cgi?id=30541 Differential Revision: https://reviews.llvm.org/D24987 llvm-svn: 282560
* Make tests less dependent on the exact layout.Rafael Espindola2016-09-201-2/+2
| | | | | | | | | In most cases that means just not checking the address when we don't need it. For some tests it is easier to just set . to a known value. llvm-svn: 281976
* [ELF] PR30221 - linker script expression parser does not accept '~'Simon Atanasyan2016-09-021-0/+16
| | | | | | | | | | | The patch adds support for both '-' and '~' unary expressions. Also it brings support for signed numbers is expressions. https://llvm.org/bugs/show_bug.cgi?id=30221 Differential revision: https://reviews.llvm.org/D24128 llvm-svn: 280546
* Remove useless file prefix.Rui Ueyama2016-09-021-0/+32
Differential Revision: https://reviews.llvm.org/D24207 llvm-svn: 280540
OpenPOWER on IntegriCloud