projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4262839
)
compiler: Recognize 64-bit symbol tables in archives.
author
Ian Lance Taylor
<ian@gcc.gnu.org>
Fri, 3 Oct 2014 18:27:43 +0000
(18:27 +0000)
committer
Ian Lance Taylor
<ian@gcc.gnu.org>
Fri, 3 Oct 2014 18:27:43 +0000
(18:27 +0000)
By Dominik Vogt.
From-SVN: r215869
gcc/go/gofrontend/import-archive.cc
patch
|
blob
|
history
diff --git
a/gcc/go/gofrontend/import-archive.cc
b/gcc/go/gofrontend/import-archive.cc
index 34fb528ab5c6232f487462400af52d7e25ffe0bd..43057558228c4ecb65268de22bace67e15223f02 100644
(file)
--- 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.