From 44f51e511374f467d70c37324a8e5bbf2ea270d8 Mon Sep 17 00:00:00 2001 From: David Majnemer Date: Wed, 10 Sep 2014 12:51:52 +0000 Subject: Object: Add support for bigobj This adds support for reading the "bigobj" variant of COFF produced by cl's /bigobj and mingw's -mbig-obj. The most significant difference that bigobj brings is more than 2**16 sections to COFF. bigobj brings a few interesting differences with it: - It doesn't have a Characteristics field in the file header. - It doesn't have a SizeOfOptionalHeader field in the file header (it's only used in executable files). - Auxiliary symbol records have the same width as a symbol table entry. Since symbol table entries are bigger, so are auxiliary symbol records. Write support will come soon. Differential Revision: http://reviews.llvm.org/D5259 llvm-svn: 217496 --- llvm/test/tools/llvm-readobj/coff-file-sections-reading.test | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/test/tools/llvm-readobj/coff-file-sections-reading.test') diff --git a/llvm/test/tools/llvm-readobj/coff-file-sections-reading.test b/llvm/test/tools/llvm-readobj/coff-file-sections-reading.test index 5c44c16f005..846247fd9cf 100644 --- a/llvm/test/tools/llvm-readobj/coff-file-sections-reading.test +++ b/llvm/test/tools/llvm-readobj/coff-file-sections-reading.test @@ -4,7 +4,7 @@ CHECK: Symbols [ CHECK: Symbol { CHECK: Name: .file CHECK: Value: 0 -CHECK: Section: (65534) +CHECK: Section: (-2) CHECK: BaseType: Null (0x0) CHECK: ComplexType: Null (0x0) CHECK: StorageClass: File (0x67) -- cgit v1.2.3