diff options
-rw-r--r-- | lib/Archive/ArchiveReader.cpp | 2 | ||||
-rw-r--r-- | lib/Bytecode/Archive/ArchiveReader.cpp | 2 | ||||
-rw-r--r-- | lib/Bytecode/Reader/ArchiveReader.cpp | 2 |
3 files changed, 6 insertions, 0 deletions
diff --git a/lib/Archive/ArchiveReader.cpp b/lib/Archive/ArchiveReader.cpp index 21f1f7d..b147cb3 100644 --- a/lib/Archive/ArchiveReader.cpp +++ b/lib/Archive/ArchiveReader.cpp @@ -53,6 +53,8 @@ static enum ObjectType getObjectType(ar_hdr *H, unsigned char *MemberData, // Check for sections with special names... if (!memcmp(H->name, "__.SYMDEF ", 16)) return ArchiveSymbolTable; + if (!memcmp(H->name, "__.SYMDEF SORTED", 16)) + return ArchiveSymbolTable; if (!memcmp(H->name, "// ", 16)) return SVR4LongFilename; diff --git a/lib/Bytecode/Archive/ArchiveReader.cpp b/lib/Bytecode/Archive/ArchiveReader.cpp index 21f1f7d..b147cb3 100644 --- a/lib/Bytecode/Archive/ArchiveReader.cpp +++ b/lib/Bytecode/Archive/ArchiveReader.cpp @@ -53,6 +53,8 @@ static enum ObjectType getObjectType(ar_hdr *H, unsigned char *MemberData, // Check for sections with special names... if (!memcmp(H->name, "__.SYMDEF ", 16)) return ArchiveSymbolTable; + if (!memcmp(H->name, "__.SYMDEF SORTED", 16)) + return ArchiveSymbolTable; if (!memcmp(H->name, "// ", 16)) return SVR4LongFilename; diff --git a/lib/Bytecode/Reader/ArchiveReader.cpp b/lib/Bytecode/Reader/ArchiveReader.cpp index 21f1f7d..b147cb3 100644 --- a/lib/Bytecode/Reader/ArchiveReader.cpp +++ b/lib/Bytecode/Reader/ArchiveReader.cpp @@ -53,6 +53,8 @@ static enum ObjectType getObjectType(ar_hdr *H, unsigned char *MemberData, // Check for sections with special names... if (!memcmp(H->name, "__.SYMDEF ", 16)) return ArchiveSymbolTable; + if (!memcmp(H->name, "__.SYMDEF SORTED", 16)) + return ArchiveSymbolTable; if (!memcmp(H->name, "// ", 16)) return SVR4LongFilename; |