From: Dominik Vogt <vogt@linux.vnet.ibm.com>
To: gcc-patches@gcc.gnu.org
Cc: gofrontend-dev@googlegroups.com
Subject: [PATCH 3/9] Gccgo port to s390[x] -- part I
Date: Tue, 09 Sep 2014 12:51:00 -0000 [thread overview]
Message-ID: <20140909125131.GD25290@linux.vnet.ibm.com> (raw)
In-Reply-To: <20140909124446.GA25290@linux.vnet.ibm.com>
[-- Attachment #1: Type: text/plain, Size: 342 bytes --]
The current Gccgo cannot handle 64 bit symbol tables on s390[x].
The attached patch fixes that.
gcc/go/ChangeLog
2014-09-05 Dominik Vogt <vogt@linux.vnet.ibm.com>
* gofrontend/import-archive.cc (interpret_header): Recognize 64-bit
symbol tables ("/SYM64/ ").
Ciao
Dominik ^_^ ^_^
--
Dominik Vogt
IBM Germany
[-- Attachment #2: 0003-GO-Recognize-64-bit-symbol-tables-with-SYM64.patch --]
[-- Type: text/x-diff, Size: 1049 bytes --]
From 1e5e9f90a690ad87a357c54f212886114e6b098e Mon Sep 17 00:00:00 2001
From: Dominik Vogt <vogt@linux.vnet.ibm.com>
Date: Fri, 5 Sep 2014 07:30:32 +0100
Subject: [PATCH 3/9] GO: Recognize 64-bit symbol tables with /SYM64/.
---
gcc/go/gofrontend/import-archive.cc | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/gcc/go/gofrontend/import-archive.cc b/gcc/go/gofrontend/import-archive.cc
index 34fb528..4305755 100644
--- a/gcc/go/gofrontend/import-archive.cc
+++ b/gcc/go/gofrontend/import-archive.cc
@@ -295,6 +295,15 @@ Archive_file::interpret_header(const Archive_header* hdr, off_t off,
// This is the symbol table.
pname->clear();
}
+ else if (hdr->ar_name[1] == 'S' && hdr->ar_name[2] == 'Y'
+ && hdr->ar_name[3] == 'M' && hdr->ar_name[4] == '6'
+ && hdr->ar_name[5] == '4' && hdr->ar_name[6] == '/'
+ && hdr->ar_name[7] == ' '
+ )
+ {
+ // 64-bit symbol table.
+ pname->clear();
+ }
else if (hdr->ar_name[1] == '/')
{
// This is the extended name table.
--
1.8.4.2
next prev parent reply other threads:[~2014-09-09 12:51 UTC|newest]
Thread overview: 38+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-09 12:44 [PATCH 0/9] " Dominik Vogt
2014-09-09 12:48 ` [PATCH 1/9] " Dominik Vogt
2014-09-09 12:49 ` [PATCH 2/9] " Dominik Vogt
2014-10-09 18:56 ` [gofrontend-dev] " Ian Lance Taylor
2014-09-09 12:51 ` Dominik Vogt [this message]
2014-10-03 18:28 ` [gofrontend-dev] [PATCH 3/9] " Ian Lance Taylor
2014-09-09 12:53 ` [PATCH 4/9] " Dominik Vogt
2014-10-04 1:19 ` [gofrontend-dev] " Ian Lance Taylor
2014-10-06 6:52 ` Dominik Vogt
2014-09-09 12:56 ` [PATCH 5/9] " Dominik Vogt
2014-10-04 1:26 ` [gofrontend-dev] " Ian Lance Taylor
2014-10-06 7:42 ` Dominik Vogt
2014-10-06 14:29 ` Ian Lance Taylor
2014-10-07 10:45 ` Dominik Vogt
2014-10-09 20:07 ` Ian Lance Taylor
2014-09-09 12:58 ` [PATCH 6/9] " Dominik Vogt
2014-10-16 22:59 ` [gofrontend-dev] " Ian Lance Taylor
2014-09-09 13:02 ` [PATCH 7/9] " Dominik Vogt
2014-10-16 23:46 ` [gofrontend-dev] " Ian Lance Taylor
2014-10-28 14:40 ` Dominik Vogt
2014-10-28 17:37 ` Ian Taylor
2014-10-29 9:05 ` Dominik Vogt
2014-10-29 16:43 ` Andreas Schwab
2014-10-29 16:43 ` [gofrontend-dev] " Ian Taylor
2014-10-29 17:05 ` Andreas Schwab
2014-10-29 17:50 ` Ian Taylor
2014-10-30 7:50 ` Dominik Vogt
2014-10-30 15:05 ` Ian Taylor
2014-10-31 9:30 ` Dominik Vogt
2014-10-31 16:50 ` Ian Taylor
2014-10-30 21:57 ` Joseph S. Myers
2014-09-09 13:04 ` [PATCH 8/9] " Dominik Vogt
2014-10-17 0:03 ` [gofrontend-dev] " Ian Lance Taylor
2014-10-29 9:13 ` Dominik Vogt
2014-10-29 15:22 ` Ian Taylor
2014-09-09 13:06 ` [PATCH 9/9] " Dominik Vogt
2014-10-17 0:07 ` [gofrontend-dev] " Ian Lance Taylor
2014-10-17 0:45 ` [gofrontend-dev] [PATCH 0/9] " Ian Lance Taylor
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20140909125131.GD25290@linux.vnet.ibm.com \
--to=vogt@linux.vnet.ibm.com \
--cc=gcc-patches@gcc.gnu.org \
--cc=gofrontend-dev@googlegroups.com \
/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).