summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lld/test/ELF/linkerscript/extend-pt-load.s9
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 = .); \
OpenPOWER on IntegriCloud