diff options
author | Simon Dardis <Simon.Dardis@imgtec.com> | 2015-10-19 14:32:54 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2015-10-19 14:32:54 +0100 |
commit | 15a70cda9772c5775f471182fea70b3fd28b76f0 (patch) | |
tree | 7e9da7f9b892620246850d488bcdfa0eb4b68b70 /ld/testsuite/ld-elf/attributes.d | |
parent | e12fe5554c3b70139f68e33ded9e2a8075b9d484 (diff) | |
download | gdb-15a70cda9772c5775f471182fea70b3fd28b76f0.zip gdb-15a70cda9772c5775f471182fea70b3fd28b76f0.tar.gz gdb-15a70cda9772c5775f471182fea70b3fd28b76f0.tar.bz2 |
Add test to ensure that ternary linker script operators copy symbol flags.
* ld-elf/attributes.d: New test for symbol attribute copying.
* ld-elf/attributes.ld: Part of above.
* ld-elf/attributes.s: Likewise.
Diffstat (limited to 'ld/testsuite/ld-elf/attributes.d')
-rw-r--r-- | ld/testsuite/ld-elf/attributes.d | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/ld/testsuite/ld-elf/attributes.d b/ld/testsuite/ld-elf/attributes.d new file mode 100644 index 0000000..79afd14 --- /dev/null +++ b/ld/testsuite/ld-elf/attributes.d @@ -0,0 +1,10 @@ +#name: Symbol flags copy +#ld: -T attributes.ld +#objdump: -t +#notarget: pj-*-* dlx-*-* d30v-*-* + +#... +0+0000000 g F .text 0+0000000 __start +#... +0+0000000 g F .text 0+0000000 start +#pass |