From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Andy Wingo Newsgroups: gmane.lisp.guile.bugs Subject: bug#22480: [PATCH] Recognize nios2 as compilation target Date: Sun, 07 Aug 2016 13:30:58 +0200 Message-ID: <87oa54q0i5.fsf@pobox.com> References: <1453954253-9401-1-git-send-email-marex@denx.de> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1470569548 31793 195.159.176.226 (7 Aug 2016 11:32:28 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 7 Aug 2016 11:32:28 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) Cc: 22480-done@debbugs.gnu.org To: Marek Vasut Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Sun Aug 07 13:32:24 2016 Return-path: Envelope-to: guile-bugs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bWMJU-0006RL-L9 for guile-bugs@m.gmane.org; Sun, 07 Aug 2016 13:32:17 +0200 Original-Received: from localhost ([::1]:52264 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bWMJQ-0005pK-QT for guile-bugs@m.gmane.org; Sun, 07 Aug 2016 07:32:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33807) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bWMJK-0005oW-Dc for bug-guile@gnu.org; Sun, 07 Aug 2016 07:32:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bWMJG-0008L6-Ig for bug-guile@gnu.org; Sun, 07 Aug 2016 07:32:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:32893) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bWMJG-0008L0-EU for bug-guile@gnu.org; Sun, 07 Aug 2016 07:32:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bWMJG-0001hZ-B3 for bug-guile@gnu.org; Sun, 07 Aug 2016 07:32:02 -0400 Resent-From: Andy Wingo Original-Sender: "Debbugs-submit" Resent-To: bug-guile@gnu.org Resent-Date: Sun, 07 Aug 2016 11:32:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 22480 X-GNU-PR-Package: guile X-GNU-PR-Keywords: patch Mail-Followup-To: 22480@debbugs.gnu.org, wingo@pobox.com, marex@denx.de Original-Received: via spool by 22480-done@debbugs.gnu.org id=D22480.14705694694373 (code D ref 22480); Sun, 07 Aug 2016 11:32:02 +0000 Original-Received: (at 22480-done) by debbugs.gnu.org; 7 Aug 2016 11:31:09 +0000 Original-Received: from localhost ([127.0.0.1]:58421 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bWMIP-00018E-1n for submit@debbugs.gnu.org; Sun, 07 Aug 2016 07:31:09 -0400 Original-Received: from pb-sasl1.pobox.com ([64.147.108.66]:51127 helo=sasl.smtp.pobox.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bWMIM-00015l-QJ for 22480-done@debbugs.gnu.org; Sun, 07 Aug 2016 07:31:07 -0400 Original-Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by pb-sasl1.pobox.com (Postfix) with ESMTP id A387C2D089; Sun, 7 Aug 2016 07:31:06 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=sasl; bh=59mXwMNJvu01NpmxH1C0o1+liQA=; b=LoCoa2 j7xjQIg3lO4s5o92PubY+XqLR2Tsok0dnqoY1B+y6+4RnayFS84BCZKXgTHW6lqa 6vJBHVgJ8hN4sRVvkeAHC84dYJnFOSxkvyTM1Cau2eAbtFF8XXsZ+N/SuxP1qMhQ fOwwTCnd8bBINv+4QR0F5QFg1YxjAdnlJbzuk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; q=dns; s=sasl; b=Qppon3Yx8u4Q28l2pslGXmgh3rHSBO4t lNMGyMHnGPSYGtcFHFPRuQlfQJF+C81rJJD1vXFgJt5EV5REmGnWEn+CqV4qXVJL sJbhRUSPsgflLjCb/wB6qMQQWDYW9/h0ZmYhHMTJe67bJCqzd9rDu3pgYI8QXwWG 8W16M6hWDj4= Original-Received: from pb-sasl1.nyi.icgroup.com (unknown [127.0.0.1]) by pb-sasl1.pobox.com (Postfix) with ESMTP id 9CC4B2D088; Sun, 7 Aug 2016 07:31:06 -0400 (EDT) Original-Received: from clucks (unknown [88.160.190.192]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by pb-sasl1.pobox.com (Postfix) with ESMTPSA id B9D7C2D087; Sun, 7 Aug 2016 07:31:05 -0400 (EDT) In-Reply-To: <1453954253-9401-1-git-send-email-marex@denx.de> (Marek Vasut's message of "Thu, 28 Jan 2016 05:10:53 +0100") X-Pobox-Relay-ID: 6DEAFE2C-5C92-11E6-A9E6-C1836462E9F6-02397024!pb-sasl1.pobox.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-guile@gnu.org List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Original-Sender: "bug-guile" Xref: news.gmane.org gmane.lisp.guile.bugs:8344 Archived-At: Applied to master; thanks :) Andy On Thu 28 Jan 2016 05:10, Marek Vasut writes: > Add support for the nios2 architecture. > > Signed-off-by: Marek Vasut > --- > module/system/base/target.scm | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/module/system/base/target.scm b/module/system/base/target.scm > index d60a8e0..d1f6cff 100644 > --- a/module/system/base/target.scm > +++ b/module/system/base/target.scm > @@ -63,7 +63,7 @@ > (cond ((string-match "^i[0-9]86$" cpu) > (endianness little)) > ((member cpu '("x86_64" "ia64" > - "powerpcle" "powerpc64le" "mipsel" "mips64el" "sh4")) > + "powerpcle" "powerpc64le" "mipsel" "mips64el" "nios2" "sh4")) > (endianness little)) > ((member cpu '("sparc" "sparc64" "powerpc" "powerpc64" "spu" > "mips" "mips64" "m68k" "s390x")) > @@ -102,7 +102,7 @@ > > ((string-match "64$" cpu) 8) > ((string-match "64_?[lbe][lbe]$" cpu) 8) > - ((member cpu '("sparc" "powerpc" "mips" "mipsel" "m68k" "sh4")) 4) > + ((member cpu '("sparc" "powerpc" "mips" "mipsel" "nios2" "m68k" "sh4")) 4) > ((member cpu '("s390x")) 8) > ((string-match "^arm.*" cpu) 4) > (else (error "unknown CPU word size" cpu)))))