summaryrefslogtreecommitdiffstats
path: root/llvm/test/tools/llvm-readobj/coff-file-sections-reading.test
diff options
context:
space:
mode:
authorDavid Majnemer <david.majnemer@gmail.com>2014-09-10 12:51:52 +0000
committerDavid Majnemer <david.majnemer@gmail.com>2014-09-10 12:51:52 +0000
commit44f51e511374f467d70c37324a8e5bbf2ea270d8 (patch)
tree3073f00e67964e434982e150df56ac5a33a4a6fb /llvm/test/tools/llvm-readobj/coff-file-sections-reading.test
parent5d34a2b887a985651cd098153506c45227123b65 (diff)
downloadbcm5719-llvm-44f51e511374f467d70c37324a8e5bbf2ea270d8.tar.gz
bcm5719-llvm-44f51e511374f467d70c37324a8e5bbf2ea270d8.zip
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
Diffstat (limited to 'llvm/test/tools/llvm-readobj/coff-file-sections-reading.test')
-rw-r--r--llvm/test/tools/llvm-readobj/coff-file-sections-reading.test2
1 files changed, 1 insertions, 1 deletions
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)
OpenPOWER on IntegriCloud