diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2016-11-27 09:44:45 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2016-11-27 09:44:45 +0000 |
commit | 5fcc99c27dba457d15f9061b809fcc33d9218e4e (patch) | |
tree | 0fc8c3fa0d66a78412cd14abcda2b62d52953a5f /lld/test/ELF/linkerscript | |
parent | c3b3926f8b1325a7e6e05b9f8bb0c783d3ab2db4 (diff) | |
download | bcm5719-llvm-5fcc99c27dba457d15f9061b809fcc33d9218e4e.tar.gz bcm5719-llvm-5fcc99c27dba457d15f9061b809fcc33d9218e4e.zip |
Also skip regular symbol assignment at the start of a script.
Unfortunatelly some scripts look like
kernphys = ...
. = ....
and the expectation in that every orphan section is after the
assignment.
llvm-svn: 287996
Diffstat (limited to 'lld/test/ELF/linkerscript')
-rw-r--r-- | lld/test/ELF/linkerscript/orphan-first-cmd.s | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lld/test/ELF/linkerscript/orphan-first-cmd.s b/lld/test/ELF/linkerscript/orphan-first-cmd.s index 1bc063c9bca..3fb3b31b9a4 100644 --- a/lld/test/ELF/linkerscript/orphan-first-cmd.s +++ b/lld/test/ELF/linkerscript/orphan-first-cmd.s @@ -1,6 +1,7 @@ # REQUIRES: x86 # RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o # RUN: echo "SECTIONS { \ +# RUN: foo = 123; \ # RUN: . = 0x1000; \ # RUN: . = 0x2000; \ # RUN: .bar : { . = . + 1; } \ |