[lld] r282797 - List more sections in linker script.

Rafael Espindola via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 29 15:27:48 PDT 2016


Author: rafael
Date: Thu Sep 29 17:27:48 2016
New Revision: 282797

URL: http://llvm.org/viewvc/llvm-project?rev=282797&view=rev
Log:
List more sections in linker script.

This makes the test less brittle with regards to orphan section placement.

Modified:
    lld/trunk/test/ELF/linkerscript/extend-pt-load.s

Modified: lld/trunk/test/ELF/linkerscript/extend-pt-load.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/linkerscript/extend-pt-load.s?rev=282797&r1=282796&r2=282797&view=diff
==============================================================================
--- lld/trunk/test/ELF/linkerscript/extend-pt-load.s (original)
+++ lld/trunk/test/ELF/linkerscript/extend-pt-load.s Thu Sep 29 17:27:48 2016
@@ -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 = .); \




More information about the llvm-commits mailing list