aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-x86-64/property-x86-4a.s
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2017-05-19 08:36:06 -0700
committerH.J. Lu <hjl.tools@gmail.com>2017-05-19 08:45:24 -0700
commit92f7d783c1038841beacaba28a5f5d740a5ccad6 (patch)
tree811409c5c2daf0583d5d15309767f40630e01713 /ld/testsuite/ld-x86-64/property-x86-4a.s
parentae0264a6474d777650d65da261732748126f0190 (diff)
downloadbinutils-92f7d783c1038841beacaba28a5f5d740a5ccad6.zip
binutils-92f7d783c1038841beacaba28a5f5d740a5ccad6.tar.gz
binutils-92f7d783c1038841beacaba28a5f5d740a5ccad6.tar.bz2
x86: Add GC testcases with property sections
Verify that debug section is removed by garbage collection when there is a .note.gnu.property section. * testsuite/ld-i386/i386.exp: Run property-x86-4a and property-x86-4b. * testsuite/ld-x86-64/x86-64.exp: Likewise. * testsuite/ld-i386/property-x86-4a.d: New file. * testsuite/ld-i386/property-x86-4a.s: Likewise. * testsuite/ld-i386/property-x86-4b.d: Likewise. * testsuite/ld-i386/property-x86-4b.s: Likewise. * testsuite/ld-x86-64/property-x86-4a.d: Likewise. * testsuite/ld-x86-64/property-x86-4a.s: Likewise. * testsuite/ld-x86-64/property-x86-4b.d: Likewise. * testsuite/ld-x86-64/property-x86-4b.s: Likewise.
Diffstat (limited to 'ld/testsuite/ld-x86-64/property-x86-4a.s')
-rw-r--r--ld/testsuite/ld-x86-64/property-x86-4a.s5
1 files changed, 5 insertions, 0 deletions
diff --git a/ld/testsuite/ld-x86-64/property-x86-4a.s b/ld/testsuite/ld-x86-64/property-x86-4a.s
new file mode 100644
index 0000000..21846af
--- /dev/null
+++ b/ld/testsuite/ld-x86-64/property-x86-4a.s
@@ -0,0 +1,5 @@
+ .text
+ .globl main
+ .type main, @function
+main:
+ ret