aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elf
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2017-08-03 11:59:32 +0100
committerNick Clifton <nickc@redhat.com>2017-08-03 11:59:32 +0100
commitfd9770d81fba7ad860e8bcfbc13c77f21041f1f3 (patch)
tree9986b3b1e364d8f2e12a363206afe13298768c10 /ld/testsuite/ld-elf
parent2e9246e077cdbbff0a56a810c5750cc895382ba3 (diff)
downloadgdb-fd9770d81fba7ad860e8bcfbc13c77f21041f1f3.zip
gdb-fd9770d81fba7ad860e8bcfbc13c77f21041f1f3.tar.gz
gdb-fd9770d81fba7ad860e8bcfbc13c77f21041f1f3.tar.bz2
Add more targets to the list of architectures not supporting format changing during linking. Fix seg-faults triggered when this is attempted.
PR ld/21884 * testsuite/ld-elf/pr21884.d: Add AVR, HPPA, IA64, M68HC1x and SCORE to list of targets not supporting file format changes during linking. * testsuite/ld-unique/pr21529.d: Likewise. * emultempl/avrelf.em (_before_allocation): Skip for non-ELF output formats. (avr_elf_create_output_section_statements): Fail if the output format is not ELF. (avr_finish): Do not access the ELF header in non-ELF format output bfds. * emultempl/m68hc1xelf.em (_before_allocation): Skip for non-ELF output formats. (m68hc11elf_create_output_section_statements): Fail if the putput format is not ELF. (m68hc11elf_after_allocation): Skip for non-ELF output formats.
Diffstat (limited to 'ld/testsuite/ld-elf')
-rw-r--r--ld/testsuite/ld-elf/pr21884.d2
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/testsuite/ld-elf/pr21884.d b/ld/testsuite/ld-elf/pr21884.d
index 52cd2c1..0de7b83 100644
--- a/ld/testsuite/ld-elf/pr21884.d
+++ b/ld/testsuite/ld-elf/pr21884.d
@@ -2,7 +2,7 @@
#source: pr21884b.s
#ld: -T pr21884.t
#objdump: -b binary -s
-#notarget: aarch64*-*-* arm*-*-* nds32*-*-*
+#notarget: aarch64*-*-* arm*-*-* avr-*-* hppa-*-* ia64-*-* m68hc1*-*-* nds32*-*-* score-*-*
# Skip targets which can't change output format to binary.
.*: file format binary