mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-01 00:11:00 +00:00
7aa478d944
Microsoft PE/COFF Spec clearly states that the field is of signed interger type. However, in reality, it's unsigned. If cl.exe needs to create a large number of sections for COMDAT sections, it will just create more than 32768 sections. Handling large section number as negative number is not correct. I think this is a spec bug. Differential Revision: http://llvm-reviews.chandlerc.com/D3088 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@203986 91177308-0d34-0410-b5e6-96231b3b80d8
15 lines
378 B
ArmAsm
15 lines
378 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: (65535)
|
|
// CHECK: BaseType: Null (0x0)
|
|
// CHECK: ComplexType: Null (0x0)
|
|
// CHECK: StorageClass: External (0x2)
|
|
// CHECK: AuxSymbolCount: 0
|
|
// CHECK: }
|