diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2016-09-29 22:27:48 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2016-09-29 22:27:48 +0000 |
commit | 475f2ccf98d53a2146530bef403bdfb8e97085cf (patch) | |
tree | cc0857bc4c94cafb4b5d77c120c0e7ee4ef2a57e | |
parent | 453ceff2613b0ffef2d10792fa87b138d0ca1635 (diff) | |
download | bcm5719-llvm-475f2ccf98d53a2146530bef403bdfb8e97085cf.tar.gz bcm5719-llvm-475f2ccf98d53a2146530bef403bdfb8e97085cf.zip |
List more sections in linker script.
This makes the test less brittle with regards to orphan section placement.
llvm-svn: 282797
-rw-r--r-- | lld/test/ELF/linkerscript/extend-pt-load.s | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lld/test/ELF/linkerscript/extend-pt-load.s b/lld/test/ELF/linkerscript/extend-pt-load.s index b662fe79402..7a098cbbd0e 100644 --- a/lld/test/ELF/linkerscript/extend-pt-load.s +++ b/lld/test/ELF/linkerscript/extend-pt-load.s @@ -7,6 +7,9 @@ # First, run a test with no such section. # RUN: echo "SECTIONS { \ +# RUN: .dynsym : { } \ +# RUN: .hash : { } \ +# RUN: .dynstr : { } \ # RUN: .text : { *(.text) } \ # RUN: . = ALIGN(0x1000); \ # RUN: .data.rel.ro : { *(.data.rel.ro) } \ @@ -24,6 +27,9 @@ # cover the padding bits created by ALIGN. # RUN: echo "SECTIONS { \ +# RUN: .dynsym : { } \ +# RUN: .hash : { } \ +# RUN: .dynstr : { } \ # RUN: .text : { *(.text) } \ # RUN: . = ALIGN(0x1000); \ # RUN: bar : { HIDDEN(bar_sym = .); } \ @@ -43,6 +49,9 @@ # of the section. That is, handle the above like the following test. # RUN: echo "SECTIONS { \ +# RUN: .dynsym : { } \ +# RUN: .hash : { } \ +# RUN: .dynstr : { } \ # RUN: .text : { *(.text) } \ # RUN: . = ALIGN(0x1000); \ # RUN: HIDDEN(bar_sym = .); \ |