mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-22 07:24:47 +00:00
Support: add support to identify WinCOFF/ARM objects
Add the Windows COFF ARM object file magic. This enables the LLVM tools to interact with COFF object files for Windows on ARM. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@203761 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
RUN: llvm-readobj -h %p/Inputs/trivial.obj.coff-arm \
|
||||
RUN: | FileCheck %s -check-prefix COFF-ARM
|
||||
RUN: llvm-readobj -h %p/Inputs/trivial.obj.coff-i386 \
|
||||
RUN: | FileCheck %s -check-prefix COFF32
|
||||
RUN: llvm-readobj -h %p/Inputs/trivial.obj.coff-x86-64 \
|
||||
@@ -13,6 +15,21 @@ RUN: | FileCheck %s -check-prefix COFF-UNKNOWN
|
||||
RUN: llvm-readobj -h %p/Inputs/magic.coff-importlib \
|
||||
RUN: | FileCheck %s -check-prefix COFF-IMPORTLIB
|
||||
|
||||
COFF-ARM: File: {{(.*[/\\])?}}trivial.obj.coff-arm
|
||||
COFF-ARM-NEXT: Format: COFF-ARM
|
||||
COFF-ARM-NEXT: Arch: thumb
|
||||
COFF-ARM-NEXT: AddressSize: 32bit
|
||||
COFF-ARM-NEXT: ImageFileHeader {
|
||||
COFF-ARM-NEXT: Machine: IMAGE_FILE_MACHINE_ARMNT (0x1C4)
|
||||
COFF-ARM-NEXT: SectionCount: 2
|
||||
COFF-ARM-NEXT: TimeDateStamp: 2014-03-13 02:48:34 (0x53211C82)
|
||||
COFF-ARM-NEXT: PointerToSymbolTable: 0xFF
|
||||
COFF-ARM-NEXT: SymbolCount: 6
|
||||
COFF-ARM-NEXT: OptionalHeaderSize: 0
|
||||
COFF-ARM-NEXT: Characteristics [ (0x0)
|
||||
COFF-ARM-NEXT: ]
|
||||
COFF-ARM-NEXT: }
|
||||
|
||||
COFF32: File: {{(.*[/\\])?}}trivial.obj.coff-i386
|
||||
COFF32-NEXT: Format: COFF-i386
|
||||
COFF32-NEXT: Arch: i386
|
||||
|
Reference in New Issue
Block a user