summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYoshinori Sato <ysato@users.sourceforge.jp>2015-05-24 02:06:22 +0900
committerWaldemar Brodkorb <wbx@openadk.org>2015-06-10 10:19:39 -0500
commit8df92aac2ccb8fa20899c4b025e8dfaa7414919b (patch)
tree0e059e06303193358b7d58bf21271fdb9ae9c08f
parent90edbb4e01e8a65ae7415af88bd194cea1aa0520 (diff)
h8300: config update
- New toolchain - Add new flags Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
-rw-r--r--Rules.mak5
-rw-r--r--extra/Configs/Config.h83005
-rw-r--r--extra/Configs/Config.in4
3 files changed, 7 insertions, 7 deletions
diff --git a/Rules.mak b/Rules.mak
index 548982bc6..a2d3ff1c4 100644
--- a/Rules.mak
+++ b/Rules.mak
@@ -431,9 +431,8 @@ ifeq ($(TARGET_ARCH),sh64)
endif
ifeq ($(TARGET_ARCH),h8300)
- SYMBOL_PREFIX=_
- CPU_LDFLAGS-$(CONFIG_H8300H)+= -Wl,-ms8300h
- CPU_LDFLAGS-$(CONFIG_H8S) += -Wl,-ms8300s
+ CPU_LDFLAGS-$(CONFIG_H8300H)+= -Wl,-mh8300h_linux
+ CPU_LDFLAGS-$(CONFIG_H8S) += -Wl,-mh8300s_linux
CPU_CFLAGS-$(CONFIG_H8300H) += -mh -mint32
CPU_CFLAGS-$(CONFIG_H8S) += -ms -mint32
endif
diff --git a/extra/Configs/Config.h8300 b/extra/Configs/Config.h8300
index 458851b28..0c5486cdc 100644
--- a/extra/Configs/Config.h8300
+++ b/extra/Configs/Config.h8300
@@ -10,9 +10,10 @@ config TARGET_ARCH
config FORCE_OPTIONS_FOR_ARCH
bool
default y
- select ARCH_ANY_ENDIAN
+ select ARCH_BIG_ENDIAN
select ARCH_HAS_NO_MMU
- select ARCH_HAS_DEPRECATED_SYSCALLS
+ select ARCH_HAS_NO_LDSO
+ select HAVE_NO_PIC
choice
prompt "Target Processor"
diff --git a/extra/Configs/Config.in b/extra/Configs/Config.in
index 3c2add655..4cf3917ea 100644
--- a/extra/Configs/Config.in
+++ b/extra/Configs/Config.in
@@ -74,8 +74,8 @@ config TARGET_cris
#config TARGET_frv
# bool "frv (BROKEN)"
-#config TARGET_h8300
-# bool "h8300 (BROKEN)"
+config TARGET_h8300
+ bool "h8300"
#config TARGET_hppa
# bool "hppa"