aboutsummaryrefslogtreecommitdiff
path: root/bfd/config.bfd
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2017-06-19 16:04:16 +0930
committerAlan Modra <amodra@gmail.com>2017-06-19 16:05:09 +0930
commit875ffa3edc5f27f0ad5e3d95d96782832edad00e (patch)
tree9cc6421503387d4250598b81db9636e0b154e390 /bfd/config.bfd
parent1c8e01c96054973c50ec1dec2f220af4734e1de5 (diff)
downloadgdb-875ffa3edc5f27f0ad5e3d95d96782832edad00e.zip
gdb-875ffa3edc5f27f0ad5e3d95d96782832edad00e.tar.gz
gdb-875ffa3edc5f27f0ad5e3d95d96782832edad00e.tar.bz2
Correct target_underscore for cris
* config.bfd: Correct targ_underscore for cris.
Diffstat (limited to 'bfd/config.bfd')
-rw-r--r--bfd/config.bfd12
1 files changed, 5 insertions, 7 deletions
diff --git a/bfd/config.bfd b/bfd/config.bfd
index f8a26f4..dc24aab 100644
--- a/bfd/config.bfd
+++ b/bfd/config.bfd
@@ -500,15 +500,13 @@ case "${targ}" in
targ_underscore=yes
;;
- cris-*-*)
- targ_defvec=cris_aout_vec
- targ_selvecs="cris_elf32_us_vec cris_elf32_vec ieee_vec"
- targ_underscore=yes
- ;;
-
- crisv32-*-*)
+ cris-*-* | crisv32-*-*)
targ_defvec=cris_aout_vec
targ_selvecs="cris_elf32_us_vec cris_elf32_vec ieee_vec"
+ case "${targ}" in
+ *-*-linux*) ;;
+ *) targ_underscore=yes ;;
+ esac
;;
crx-*-elf*)