mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 04:30:12 +00:00
3977e2f696
It printed out base relocation table header as table entry. This patch also makes llvm-readobj to not skip ABSOLUTE entries becuase it was confusing. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@222299 91177308-0d34-0410-b5e6-96231b3b80d8
25 lines
608 B
Plaintext
25 lines
608 B
Plaintext
RUN: llvm-readobj -coff-basereloc %p/Inputs/basereloc.obj.coff-i386 | FileCheck %s
|
|
|
|
CHECK: Format: COFF-i386
|
|
CHECK-NEXT: Arch: i386
|
|
CHECK-NEXT: AddressSize: 32bit
|
|
CHECK-NEXT: BaseReloc [
|
|
CHECK-NEXT: Entry {
|
|
CHECK-NEXT: Type: HIGHLOW
|
|
CHECK-NEXT: Address: 0x1004
|
|
CHECK-NEXT: }
|
|
CHECK-NEXT: Entry {
|
|
CHECK-NEXT: Type: HIGHLOW
|
|
CHECK-NEXT: Address: 0x100A
|
|
CHECK-NEXT: }
|
|
CHECK-NEXT: Entry {
|
|
CHECK-NEXT: Type: HIGHLOW
|
|
CHECK-NEXT: Address: 0x1010
|
|
CHECK-NEXT: }
|
|
CHECK-NEXT: Entry {
|
|
CHECK-NEXT: Type: ABSOLUTE
|
|
CHECK-NEXT: Address: 0x1000
|
|
CHECK-NEXT: }
|
|
CHECK-NEXT: ]
|
|
|