mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-14 16:33:28 +00:00
llvm-readobj: Don't print the Characteristics field as the Subsystem
We claimed that we were printing the Subystem field when we were actually printing the Characteristics field. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@222216 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
9ba744b089
commit
f0e7ccce9e
@ -251,7 +251,7 @@ PE32-NEXT: MinorSubsystemVersion: 0
|
||||
PE32-NEXT: SizeOfImage: 16384
|
||||
PE32-NEXT: SizeOfHeaders: 1024
|
||||
PE32-NEXT: Subsystem: IMAGE_SUBSYSTEM_WINDOWS_CUI (0x3)
|
||||
PE32-NEXT: Subsystem [ (0x8140)
|
||||
PE32-NEXT: Characteristics [ (0x8140)
|
||||
PE32-NEXT: IMAGE_DLL_CHARACTERISTICS_DYNAMIC_BASE (0x40)
|
||||
PE32-NEXT: IMAGE_DLL_CHARACTERISTICS_NX_COMPAT (0x100)
|
||||
PE32-NEXT: IMAGE_DLL_CHARACTERISTICS_TERMINAL_SERVER_AWARE (0x8000)
|
||||
|
@ -35,7 +35,7 @@ CHECK: MinorSubsystemVersion: 0
|
||||
CHECK: SizeOfImage: 8192
|
||||
CHECK: SizeOfHeaders: 512
|
||||
CHECK: Subsystem: IMAGE_SUBSYSTEM_WINDOWS_CUI (0x3)
|
||||
CHECK: Subsystem [ (0x8160)
|
||||
CHECK: Characteristics [ (0x8160)
|
||||
CHECK: IMAGE_DLL_CHARACTERISTICS_DYNAMIC_BASE (0x40)
|
||||
CHECK: IMAGE_DLL_CHARACTERISTICS_HIGH_ENTROPY_VA (0x20)
|
||||
CHECK: IMAGE_DLL_CHARACTERISTICS_NX_COMPAT (0x100)
|
||||
|
@ -437,7 +437,7 @@ void COFFDumper::printPEHeader(const PEHeader *Hdr) {
|
||||
W.printNumber("SizeOfImage", Hdr->SizeOfImage);
|
||||
W.printNumber("SizeOfHeaders", Hdr->SizeOfHeaders);
|
||||
W.printEnum ("Subsystem", Hdr->Subsystem, makeArrayRef(PEWindowsSubsystem));
|
||||
W.printFlags ("Subsystem", Hdr->DLLCharacteristics,
|
||||
W.printFlags ("Characteristics", Hdr->DLLCharacteristics,
|
||||
makeArrayRef(PEDLLCharacteristics));
|
||||
W.printNumber("SizeOfStackReserve", Hdr->SizeOfStackReserve);
|
||||
W.printNumber("SizeOfStackCommit", Hdr->SizeOfStackCommit);
|
||||
|
Loading…
x
Reference in New Issue
Block a user