mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-10 02:36:06 +00:00
b3a86a097b
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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@217496 91177308-0d34-0410-b5e6-96231b3b80d8
15 lines
375 B
ArmAsm
15 lines
375 B
ArmAsm
// RUN: llvm-mc -filetype=obj -triple i686-pc-win32 %s -o - | llvm-readobj -t | FileCheck %s
|
|
|
|
"@feat.00" = 123
|
|
.globl @feat.00
|
|
|
|
// CHECK: Symbol {
|
|
// CHECK: Name: @feat.00
|
|
// CHECK: Value: 123
|
|
// CHECK: Section: (-1)
|
|
// CHECK: BaseType: Null (0x0)
|
|
// CHECK: ComplexType: Null (0x0)
|
|
// CHECK: StorageClass: External (0x2)
|
|
// CHECK: AuxSymbolCount: 0
|
|
// CHECK: }
|