diff options
author | Alan Modra <amodra@gmail.com> | 2021-01-06 12:01:10 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2021-01-06 21:03:55 +1030 |
commit | 3677b7296185e6abfe8327c00c460712151ade15 (patch) | |
tree | 370c074e27e892bab67491450645e9bbb26f651f /bfd | |
parent | 73624512cf1d982953539ef538dc9ceb067885a6 (diff) | |
download | gdb-3677b7296185e6abfe8327c00c460712151ade15.zip gdb-3677b7296185e6abfe8327c00c460712151ade15.tar.gz gdb-3677b7296185e6abfe8327c00c460712151ade15.tar.bz2 |
sparc-sun-solaris2 and sparc64-sun-solaris2 config
A bunch of ld tests fail on these targets due to the test specifying
-melf32_sparc or -melf64_sparc, which according to ld/configure.tgt
are valid. However, config.bfd lacks the corresponding bfd target
resulting in an error. Fix that by adding target_selvecs.
bfd/
* config.bfd (sparc-*-solaris2*): Add sparc_elf32_vec.
(sparc64-*-solaris2*): Add sparc_elf64_vec and
sparc_elf32_vec.
ld/
* testsuite/ld-sparc/sparc.exp (sparc64tests): Set text-segment
base for some tests.
* testsuite/ld-sparc/gotop32.dd: Match solaris output.
* testsuite/ld-sparc/gotop32.sd: Likewise.
* testsuite/ld-sparc/gotop32.td: Likewise.
* testsuite/ld-sparc/gotop64.dd: Likewise.
* testsuite/ld-sparc/gotop64.sd: Likewise.
* testsuite/ld-sparc/gotop64.td: Likewise.
* testsuite/ld-sparc/tlsg32.sd: Likewise.
* testsuite/ld-sparc/tlsg64.sd: Likewise.
* testsuite/ld-sparc/tlspie32.dd: Likewise.
* testsuite/ld-sparc/tlspie64.dd: Likewise.
* testsuite/ld-sparc/tlssunbin32.dd: Likewise.
* testsuite/ld-sparc/tlssunbin32.sd: Likewise.
* testsuite/ld-sparc/tlssunbin32.td: Likewise.
* testsuite/ld-sparc/tlssunbin64.dd: Likewise.
* testsuite/ld-sparc/tlssunbin64.sd: Likewise.
* testsuite/ld-sparc/tlssunbin64.td: Likewise.
* testsuite/ld-sparc/tlssunnopic32.dd: Likewise.
* testsuite/ld-sparc/tlssunnopic32.sd: Likewise.
* testsuite/ld-sparc/tlssunnopic64.dd: Likewise.
* testsuite/ld-sparc/tlssunnopic64.sd: Likewise.
* testsuite/ld-sparc/tlssunpic32.dd: Likewise.
* testsuite/ld-sparc/tlssunpic32.sd: Likewise.
* testsuite/ld-sparc/tlssunpic32.td: Likewise.
* testsuite/ld-sparc/tlssunpic64.dd: Likewise.
* testsuite/ld-sparc/tlssunpic64.sd: Likewise.
* testsuite/ld-sparc/tlssunpic64.td: Likewise.
* testsuite/ld-sparc/wdispcall.dd: Likewise.
Diffstat (limited to 'bfd')
-rw-r--r-- | bfd/ChangeLog | 6 | ||||
-rw-r--r-- | bfd/config.bfd | 3 |
2 files changed, 8 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index a629e8a..b9b5f7b 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,9 @@ +2021-01-06 Alan Modra <amodra@gmail.com> + + * config.bfd (sparc-*-solaris2*): Add sparc_elf32_vec. + (sparc64-*-solaris2*): Add sparc_elf64_vec and + sparc_elf32_vec. + 2021-01-06 Marcus Comstedt <marcus@mc.pp.se> * config.bfd: Added targets riscv64be*-*-*, riscv32be*-*-* and diff --git a/bfd/config.bfd b/bfd/config.bfd index bbd0aaa..e7b55b0 100644 --- a/bfd/config.bfd +++ b/bfd/config.bfd @@ -1285,11 +1285,12 @@ case "${targ}" in sparc-*-solaris2.[0-6] | sparc-*-solaris2.[0-6].*) targ_defvec=sparc_elf32_sol2_vec + targ_selvecs=sparc_elf32_vec ;; #ifdef BFD64 sparc-*-solaris2* | sparcv9-*-solaris2* | sparc64-*-solaris2*) targ_defvec=sparc_elf32_sol2_vec - targ_selvecs="sparc_elf64_sol2_vec" + targ_selvecs="sparc_elf64_sol2_vec sparc_elf32_vec sparc_elf64_vec" want64=true ;; sparc64-*-freebsd* | sparc64-*-kfreebsd*-gnu) |