From: Vineet Gupta via "Bug reports for GUILE, GNU's Ubiquitous Extension Language" <bug-guile@gnu.org>
To: 48816@debbugs.gnu.org
Cc: Helmut Grohne <helmut@subdivi.de>,
arcml <linux-snps-arc@lists.infradead.org>,
Guillem Jover <guillem@debian.org>
Subject: bug#48816: guile: Add ARC support
Date: Thu, 3 Jun 2021 19:35:38 +0000 [thread overview]
Message-ID: <b2587129-d905-905a-94c3-acd3f9b9187b@synopsys.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 131 bytes --]
Hi,
I'm trying to bootstrap Debian on ARC and need to add arc support in
guile 2.x and 3.x. Patch attached.
Thx,
-Vineet
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-add-support-for-arc.patch --]
[-- Type: text/x-patch; name="0001-add-support-for-arc.patch", Size: 1543 bytes --]
From d7229d384e503d7a3893e13e71fe0ad16c2e8003 Mon Sep 17 00:00:00 2001
From: Vineet Gupta <vgupta@synopsys.com>
Date: Tue, 6 Apr 2021 15:03:07 -0700
Subject: [PATCH] add support for arc
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
---
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 2088cd86697a..8bdcd66039e4 100644
--- a/module/system/base/target.scm
+++ b/module/system/base/target.scm
@@ -77,7 +77,7 @@
(cond ((string-match "^i[0-9]86$" cpu)
(endianness little))
((member cpu '("x86_64" "ia64"
- "powerpcle" "powerpc64le" "mipsel" "mips64el" "nios2" "sh3" "sh4" "alpha"))
+ "powerpcle" "powerpc64le" "mipsel" "mips64el" "nios2" "sh3" "sh4" "alpha" "arc"))
(endianness little))
((member cpu '("sparc" "sparc64" "powerpc" "powerpc64" "spu"
"mips" "mips64" "m68k" "s390x"))
@@ -118,7 +118,7 @@
((string-match "64$" cpu) 8)
((string-match "64_?[lbe][lbe]$" cpu) 8)
- ((member cpu '("sparc" "powerpc" "mips" "mipsel" "nios2" "m68k" "sh3" "sh4")) 4)
+ ((member cpu '("sparc" "powerpc" "mips" "mipsel" "nios2" "m68k" "sh3" "sh4" "arc")) 4)
((member cpu '("s390x" "alpha")) 8)
((string-match "^arm.*" cpu) 4)
(else (error "unknown CPU word size" cpu)))))
--
2.25.1
next reply other threads:[~2021-06-03 19:35 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-06-03 19:35 Vineet Gupta via Bug reports for GUILE, GNU's Ubiquitous Extension Language [this message]
2021-08-27 17:41 ` bug#48816: Ping Alexey Brodkin via Bug reports for GUILE, GNU's Ubiquitous Extension Language
2021-11-03 18:20 ` bug#48816: guile: Add ARC support lloda
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/guile/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=b2587129-d905-905a-94c3-acd3f9b9187b@synopsys.com \
--to=bug-guile@gnu.org \
--cc=48816@debbugs.gnu.org \
--cc=Vineet.Gupta1@synopsys.com \
--cc=guillem@debian.org \
--cc=helmut@subdivi.de \
--cc=linux-snps-arc@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).