From patchwork Wed Jun 5 11:56:55 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vincent Chen X-Patchwork-Id: 33024 Received: (qmail 92827 invoked by alias); 5 Jun 2019 11:58:21 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 92773 invoked by uid 89); 5 Jun 2019 11:58:20 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-24.6 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RDNS_DYNAMIC, SPF_PASS, TVD_RCVD_IP autolearn=ham version=3.3.1 spammy= X-HELO: ATCSQR.andestech.com From: Vincent Chen To: , CC: , , Subject: [PATCH v4 11/11] Add nds32 port to build-many-glibcs.py Date: Wed, 5 Jun 2019 19:56:55 +0800 Message-ID: <1559735815-20093-12-git-send-email-vincentc@andestech.com> In-Reply-To: <1559735815-20093-1-git-send-email-vincentc@andestech.com> References: <1559735815-20093-1-git-send-email-vincentc@andestech.com> MIME-Version: 1.0 X-DNSRBL: X-MAIL: ATCSQR.andestech.com x55BppRX068390 From: CheWei Chunang The nds32 toochain cannot be generated successfully by this patch because the nds32 port of Binutils and GCC on upstream is too old. This patch is used to help reviewer to review the glibc port for Andes nds32 ISA. 2019-06-03 Vincent Chen 2019-06-03 CheWei Chuang * scripts/build-many-glibcs.py (Context): Add nds32 targets. --- scripts/build-many-glibcs.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/scripts/build-many-glibcs.py b/scripts/build-many-glibcs.py index c5821df..4bde3fa 100755 --- a/scripts/build-many-glibcs.py +++ b/scripts/build-many-glibcs.py @@ -299,6 +299,18 @@ class Context(object): 'ccopts': '-mabi=32'}, {'variant': 'n64-nan2008-soft', 'ccopts': '-mabi=64'}]) + self.add_config(arch='nds32le', + os_name='linux-gnu', + variant='v3', + gcc_cfg=['--with-arch=v3', '--with-cpu=n13', + '--enable-default-relax=no', + '--disable-multilib']) + self.add_config(arch='nds32le', + os_name='linux-gnu', + variant='v3f', + gcc_cfg=['--with-arch=v3f', '--with-cpu=n13', + '--enable-default-relax=no', + '--disable-multilib']) self.add_config(arch='nios2', os_name='linux-gnu') self.add_config(arch='powerpc', @@ -1269,6 +1281,7 @@ class Config(object): 'm68k': 'm68k', 'microblaze': 'microblaze', 'mips': 'mips', + 'nds32': 'nds32', 'nios2': 'nios2', 'powerpc': 'powerpc', 's390': 's390',