diff options
author | Jie Zhang <jie.zhang@analog.com> | 2010-02-27 12:34:25 +0000 |
---|---|---|
committer | Jie Zhang <jie.zhang@analog.com> | 2010-02-27 12:34:25 +0000 |
commit | 3cff7cc71fc25ffa83e7d5ce8f4aeb308fb656db (patch) | |
tree | 9fa0a8f6e1ec56367ae6b180392f4d69520074c8 /ld/testsuite/ld-elf/init-fini-arrays.d | |
parent | eb1956643ddbb298d1005c939d3b9fce04980a4a (diff) | |
download | binutils-gdb-3cff7cc71fc25ffa83e7d5ce8f4aeb308fb656db.tar.gz |
* scripttempl/armbpabi.sc: Don't combine .init_array.* or
.fini_array.* when do relocatable linking.
* scripttempl/elf.sc: Likewise.
* scripttempl/elf32sh-symbian.sc: Likewise.
* scripttempl/elf64hppa.sc: Likewise.
* scripttempl/elfxtensa.sc: Likewise.
testsuite/
* ld-elf/init-fini-arrays.s: New test.
* ld-elf/init-fini-arrays.d: New test.
Diffstat (limited to 'ld/testsuite/ld-elf/init-fini-arrays.d')
-rw-r--r-- | ld/testsuite/ld-elf/init-fini-arrays.d | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/ld/testsuite/ld-elf/init-fini-arrays.d b/ld/testsuite/ld-elf/init-fini-arrays.d new file mode 100644 index 00000000000..1ffd707e9a9 --- /dev/null +++ b/ld/testsuite/ld-elf/init-fini-arrays.d @@ -0,0 +1,9 @@ +#source: init-fini-arrays.s +#ld: -r +#readelf: -S + +#... + \[[ 0-9]+\] \.init_array\.01000[ \t]+PROGBITS[ \t0-9a-f]+WA?.* +#... + \[[ 0-9]+\] \.fini_array\.01000[ \t]+PROGBITS[ \t0-9a-f]+WA?.* +#pass |