diff options
author | Nick Clifton <nickc@redhat.com> | 2021-06-09 11:10:16 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2021-06-09 11:10:16 +0100 |
commit | f75bcf7e574c511f0ea742e05e5ae6e19bf29a92 (patch) | |
tree | c3dc002146e7ec289e13edbdeffa09dc2c005e6f /bfd | |
parent | 1bc5b62129b45aeb860af1002bfef199a1850755 (diff) | |
download | gdb-f75bcf7e574c511f0ea742e05e5ae6e19bf29a92.zip gdb-f75bcf7e574c511f0ea742e05e5ae6e19bf29a92.tar.gz gdb-f75bcf7e574c511f0ea742e05e5ae6e19bf29a92.tar.bz2 |
Fix the creation of archives for Sparc Solaris2 targets by eliminating the support for generic SPARC ELF files.
PR 27666
bfd * config.bfd: Do not add the sparc_elf32_vec or sparc_elf64_vec
vectors to Sparc Solaris2 targets.
ld * testsuite/ld-sparc/sparc.exp: Do not run the sparctests or
sparc64tests for Solaris2 targets.
Diffstat (limited to 'bfd')
-rw-r--r-- | bfd/ChangeLog | 6 | ||||
-rw-r--r-- | bfd/config.bfd | 5 |
2 files changed, 9 insertions, 2 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index d1192e3..d1a92dc 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,9 @@ +2021-06-09 Nick Clifton <nickc@redhat.com> + + PR 27666 + * config.bfd: Do not add the sparc_elf32_vec or sparc_elf64_vec + vectors to Sparc Solaris2 targets. + 2021-06-08 Michael Matz <matz@suse.de> * elf.c (bfd_section_from_shdr): Set has_secondary_relocs flag. diff --git a/bfd/config.bfd b/bfd/config.bfd index 9434fd6..57b513c 100644 --- a/bfd/config.bfd +++ b/bfd/config.bfd @@ -1279,13 +1279,14 @@ case "${targ}" in ;; sparc-*-solaris2.[0-6] | sparc-*-solaris2.[0-6].*) + # PR 27666: Do not include sparc_elf32_vec here. targ_defvec=sparc_elf32_sol2_vec - targ_selvecs=sparc_elf32_vec ;; #ifdef BFD64 sparc-*-solaris2* | sparcv9-*-solaris2* | sparc64-*-solaris2*) + # PR 27666: Do not include sparc_elf32_vec or sparc_elf64_vec here. targ_defvec=sparc_elf32_sol2_vec - targ_selvecs="sparc_elf64_sol2_vec sparc_elf32_vec sparc_elf64_vec" + targ_selvecs="sparc_elf64_sol2_vec" want64=true ;; sparc64-*-freebsd* | sparc64-*-kfreebsd*-gnu) |