mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-28 17:48:58 +00:00
34e8393019
arc-2016.09 is the most recent toolchain for ARC cores and it is based on top of upstream Binutils 2.27 and GCC 6.2.1. With updated major version of GCC we copied all GCC 6.x patches for ARC as well as Bintils 2.27 patches. Note that toochain sports ARCv4 ABI and so must be used with 4.8+ Linux kernels. Even though it will build v4.4 kernel perfectly fine on attempt to run user-space apps they won't work with older kernel. That said previuosly sent RFC patches with Linux kernel update are required: [1] https://patchwork.ozlabs.org/patch/726686/ [2] https://patchwork.ozlabs.org/patch/726687/ Signed-off-by: Alexey Brodkin <Alexey.Brodkin@synopsys.com>
14 lines
473 B
Diff
14 lines
473 B
Diff
http://sourceware.org/ml/crossgcc/2008-05/msg00009.html
|
|
|
|
--- a/gcc/config/arm/linux-eabi.h
|
|
+++ b/gcc/config/arm/linux-eabi.h
|
|
@@ -45,7 +45,7 @@
|
|
The ARM10TDMI core is the default for armv5t, so set
|
|
SUBTARGET_CPU_DEFAULT to achieve this. */
|
|
#undef SUBTARGET_CPU_DEFAULT
|
|
-#define SUBTARGET_CPU_DEFAULT TARGET_CPU_arm10tdmi
|
|
+#define SUBTARGET_CPU_DEFAULT TARGET_CPU_arm9tdmi
|
|
|
|
/* TARGET_BIG_ENDIAN_DEFAULT is set in
|
|
config.gcc for big endian configurations. */
|