x86: Add GC testcases with property sections
authorH.J. Lu <hjl.tools@gmail.com>
Fri, 19 May 2017 15:36:06 +0000 (08:36 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Fri, 19 May 2017 15:45:24 +0000 (08:45 -0700)
commit92f7d783c1038841beacaba28a5f5d740a5ccad6
tree811409c5c2daf0583d5d15309767f40630e01713
parentae0264a6474d777650d65da261732748126f0190
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.
ld/ChangeLog
ld/testsuite/ld-i386/i386.exp
ld/testsuite/ld-i386/property-x86-4a.d [new file with mode: 0644]
ld/testsuite/ld-i386/property-x86-4a.s [new file with mode: 0644]
ld/testsuite/ld-i386/property-x86-4b.d [new file with mode: 0644]
ld/testsuite/ld-i386/property-x86-4b.s [new file with mode: 0644]
ld/testsuite/ld-x86-64/property-x86-4a.d [new file with mode: 0644]
ld/testsuite/ld-x86-64/property-x86-4a.s [new file with mode: 0644]
ld/testsuite/ld-x86-64/property-x86-4b.d [new file with mode: 0644]
ld/testsuite/ld-x86-64/property-x86-4b.s [new file with mode: 0644]
ld/testsuite/ld-x86-64/x86-64.exp