aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog7
-rw-r--r--gcc/config.gcc4
2 files changed, 9 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index f382b20..3314b50 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,10 @@
+2018-10-23 Richard Earnshaw <rearnsha@arm.com>
+
+ PR target/86383
+ * config.gcc (arm*-*-netbsdelf*): Default to StrongARM if no CPU
+ specified to configure.
+ (arm*-*-*): Use ARM7TDMI as the target CPU if no default provided.
+
2018-10-23 Richard Biener <rguenther@suse.de>
PR tree-optimization/87700
diff --git a/gcc/config.gcc b/gcc/config.gcc
index 720e6a7..a2e89e2 100644
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -1134,7 +1134,7 @@ arm*-*-netbsdelf*)
tm_file="dbxelf.h elfos.h ${nbsd_tm_file} arm/elf.h arm/aout.h ${tm_file} arm/netbsd-elf.h"
extra_options="${extra_options} netbsd.opt netbsd-elf.opt"
tmake_file="${tmake_file} arm/t-arm"
- target_cpu_cname="arm6"
+ target_cpu_cname="strongarm"
;;
arm*-*-linux-*) # ARM GNU/Linux with ELF
tm_file="dbxelf.h elfos.h gnu-user.h linux.h linux-android.h glibc-stdint.h arm/elf.h arm/linux-gas.h arm/linux-elf.h"
@@ -3987,7 +3987,7 @@ case "${target}" in
TM_MULTILIB_CONFIG="$with_multilib_list"
fi
fi
- target_cpu_cname=${target_cpu_cname:-arm6}
+ target_cpu_cname=${target_cpu_cname:-arm7tdmi}
with_cpu=${with_cpu:-$target_cpu_cname}
;;