From patchwork Mon May 18 07:32:02 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yoshinori Sato X-Patchwork-Id: 473293 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from silver.osuosl.org (silver.osuosl.org [140.211.166.136]) by ozlabs.org (Postfix) with ESMTP id 59D9C1401B5 for ; Mon, 18 May 2015 17:53:53 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 3A38332BEF; Mon, 18 May 2015 07:53:52 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1fHG+U+YEc7w; Mon, 18 May 2015 07:53:45 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 7EE4332C0C; Mon, 18 May 2015 07:53:03 +0000 (UTC) X-Original-To: uclibc@lists.busybox.net Delivered-To: uclibc@osuosl.org Received: from silver.osuosl.org (silver.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id A31861C22AD for ; Mon, 18 May 2015 07:52:58 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 9A12E32BED for ; Mon, 18 May 2015 07:52:58 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hIz9QYZO+jEZ for ; Mon, 18 May 2015 07:52:53 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail2.asahi-net.or.jp (mail2.asahi-net.or.jp [202.224.39.198]) by silver.osuosl.org (Postfix) with ESMTP id 9EFB33180E for ; Mon, 18 May 2015 07:52:50 +0000 (UTC) Received: from sa76r4 (y081184.ppp.asahi-net.or.jp [118.243.81.184]) by mail2.asahi-net.or.jp (Postfix) with ESMTP id D458EC7849; Mon, 18 May 2015 16:32:18 +0900 (JST) Received: from localhost (localhost [127.0.0.1]) by sa76r4 (Postfix) with ESMTP id 74555E628; Mon, 18 May 2015 16:32:18 +0900 (JST) X-Virus-Scanned: Debian amavisd-new at sa76r4.localdomain Received: from sa76r4 ([127.0.0.1]) by localhost (sa76r4.localdomain [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id OsVgNkpkL3VA; Mon, 18 May 2015 16:32:18 +0900 (JST) Received: by sa76r4 (Postfix, from userid 1000) id 5CBC412B4; Mon, 18 May 2015 16:32:18 +0900 (JST) From: Yoshinori Sato To: uclibc@uclibc.org Subject: [PATCH 1/6] h8300: config update Date: Mon, 18 May 2015 16:32:02 +0900 Message-Id: <1431934327-1278-2-git-send-email-ysato@users.sourceforge.jp> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1431934327-1278-1-git-send-email-ysato@users.sourceforge.jp> References: <1431934327-1278-1-git-send-email-ysato@users.sourceforge.jp> X-BeenThere: uclibc@uclibc.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Discussion and development of uClibc \(the embedded C library\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: uclibc-bounces@uclibc.org Sender: "uClibc" - New toolchain - Add new flags Signed-off-by: Yoshinori Sato --- Rules.mak | 5 ++--- extra/Configs/Config.h8300 | 4 +++- extra/Configs/Config.in | 2 +- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/Rules.mak b/Rules.mak index aa2e3a7..de9ffb3 100644 --- a/Rules.mak +++ b/Rules.mak @@ -455,9 +455,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 458851b..0b05968 100644 --- a/extra/Configs/Config.h8300 +++ b/extra/Configs/Config.h8300 @@ -10,9 +10,11 @@ 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_NO_LDSO select ARCH_HAS_DEPRECATED_SYSCALLS + select HAVE_NO_PIC choice prompt "Target Processor" diff --git a/extra/Configs/Config.in b/extra/Configs/Config.in index 1fd6860..242e45a 100644 --- a/extra/Configs/Config.in +++ b/extra/Configs/Config.in @@ -73,7 +73,7 @@ config TARGET_frv bool "frv (BROKEN)" config TARGET_h8300 - bool "h8300 (BROKEN)" + bool "h8300" config TARGET_hppa bool "hppa"