compiler: Recognize 64-bit symbol tables in archives.
By Dominik Vogt. From-SVN: r215869
This commit is contained in:
parent
4262839e12
commit
8a5b2f56c4
1 changed files with 9 additions and 0 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Reference in a new issue