ld: Add tests for -Ur
authorH.J. Lu <hjl.tools@gmail.com>
Tue, 13 Jun 2017 15:18:19 +0000 (08:18 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Tue, 13 Jun 2017 15:22:10 +0000 (08:22 -0700)
commitdc74becf498f60c842d81eb6e98cfcbc3f167c22
tree693897b270ad36e069cd96ca87546abfd61a1f87
parent8569cfa78c2cc8b5ef66b0bebddcc0e63231fb51
ld: Add tests for -Ur

Test -Ur with __start_SECNAME, __stop_SECNAME, .startof.SECNAME and
.sizeof.SECNAME.  __start_SECNAME and __stop_SECNAME should be defined
to the start and the end of section SECNAME.  .startof.SECNAME and
.sizeof.SECNAME should be undefined.

* testsuite/ld-elf/sizeof.d: New file.
* testsuite/ld-elf/sizeof.s: Likewise.
* testsuite/ld-elf/startof.d: Likewise.
* testsuite/ld-elf/startof.s: Likewise.
ld/ChangeLog
ld/testsuite/ld-elf/sizeof.d [new file with mode: 0644]
ld/testsuite/ld-elf/sizeof.s [new file with mode: 0644]
ld/testsuite/ld-elf/startof.d [new file with mode: 0644]
ld/testsuite/ld-elf/startof.s [new file with mode: 0644]