[llvm] r240069 - Pass --expand-relocs to a few more tests.
Rafael Espindola
rafael.espindola at gmail.com
Thu Jun 18 15:12:47 PDT 2015
Author: rafael
Date: Thu Jun 18 17:12:47 2015
New Revision: 240069
URL: http://llvm.org/viewvc/llvm-project?rev=240069&view=rev
Log:
Pass --expand-relocs to a few more tests.
Modified:
llvm/trunk/test/MC/AArch64/arm64-leaf-compact-unwind.s
llvm/trunk/test/MC/MachO/darwin-x86_64-diff-reloc-assign-2.s
llvm/trunk/test/tools/llvm-readobj/relocations.test
llvm/trunk/test/tools/llvm-readobj/sections-ext.test
Modified: llvm/trunk/test/MC/AArch64/arm64-leaf-compact-unwind.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/AArch64/arm64-leaf-compact-unwind.s?rev=240069&r1=240068&r2=240069&view=diff
==============================================================================
--- llvm/trunk/test/MC/AArch64/arm64-leaf-compact-unwind.s (original)
+++ llvm/trunk/test/MC/AArch64/arm64-leaf-compact-unwind.s Thu Jun 18 17:12:47 2015
@@ -1,5 +1,5 @@
// RUN: llvm-mc -triple=arm64-apple-ios -filetype=obj < %s | \
-// RUN: llvm-readobj -sections -section-relocations -section-data | \
+// RUN: llvm-readobj --expand-relocs -sections -section-relocations -section-data | \
// RUN: FileCheck %s
//
// rdar://13070556
@@ -23,10 +23,42 @@
// CHECK-NEXT: Reserved1:
// CHECK-NEXT: Reserved2:
// CHECK-NEXT: Relocations [
-// CHECK-NEXT: 0x60 0 3 0 ARM64_RELOC_UNSIGNED 0 0x1
-// CHECK-NEXT: 0x40 0 3 0 ARM64_RELOC_UNSIGNED 0 0x1
-// CHECK-NEXT: 0x20 0 3 0 ARM64_RELOC_UNSIGNED 0 0x1
-// CHECK-NEXT: 0x0 0 3 0 ARM64_RELOC_UNSIGNED 0 0x1
+// CHECK-NEXT: Relocation {
+// CHECK-NEXT: Offset: 0x60
+// CHECK-NEXT: PCRel: 0
+// CHECK-NEXT: Length: 3
+// CHECK-NEXT: Extern: 0
+// CHECK-NEXT: Type: ARM64_RELOC_UNSIGNED (0)
+// CHECK-NEXT: Symbol: 0x1
+// CHECK-NEXT: Scattered: 0
+// CHECK-NEXT: }
+// CHECK-NEXT: Relocation {
+// CHECK-NEXT: Offset: 0x40
+// CHECK-NEXT: PCRel: 0
+// CHECK-NEXT: Length: 3
+// CHECK-NEXT: Extern: 0
+// CHECK-NEXT: Type: ARM64_RELOC_UNSIGNED (0)
+// CHECK-NEXT: Symbol: 0x1
+// CHECK-NEXT: Scattered: 0
+// CHECK-NEXT: }
+// CHECK-NEXT: Relocation {
+// CHECK-NEXT: Offset: 0x20
+// CHECK-NEXT: PCRel: 0
+// CHECK-NEXT: Length: 3
+// CHECK-NEXT: Extern: 0
+// CHECK-NEXT: Type: ARM64_RELOC_UNSIGNED (0)
+// CHECK-NEXT: Symbol: 0x1
+// CHECK-NEXT: Scattered: 0
+// CHECK-NEXT: }
+// CHECK-NEXT: Relocation {
+// CHECK-NEXT: Offset: 0x0
+// CHECK-NEXT: PCRel: 0
+// CHECK-NEXT: Length: 3
+// CHECK-NEXT: Extern: 0
+// CHECK-NEXT: Type: ARM64_RELOC_UNSIGNED (0)
+// CHECK-NEXT: Symbol: 0x1
+// CHECK-NEXT: Scattered: 0
+// CHECK-NEXT: }
// CHECK-NEXT: ]
// CHECK-NEXT: SectionData (
// CHECK-NEXT: 0000: 00000000 00000000 08000000 00000002
Modified: llvm/trunk/test/MC/MachO/darwin-x86_64-diff-reloc-assign-2.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/MachO/darwin-x86_64-diff-reloc-assign-2.s?rev=240069&r1=240068&r2=240069&view=diff
==============================================================================
--- llvm/trunk/test/MC/MachO/darwin-x86_64-diff-reloc-assign-2.s (original)
+++ llvm/trunk/test/MC/MachO/darwin-x86_64-diff-reloc-assign-2.s Thu Jun 18 17:12:47 2015
@@ -1,4 +1,4 @@
-// RUN: llvm-mc -triple x86_64-apple-darwin9 %s -filetype=obj -o - | llvm-readobj -r | FileCheck %s
+// RUN: llvm-mc -triple x86_64-apple-darwin9 %s -filetype=obj -o - | llvm-readobj -r --expand-relocs | FileCheck %s
.data
L_var1:
@@ -10,7 +10,23 @@ L_var2:
// CHECK: Relocations [
// CHECK-NEXT: Section __data {
-// CHECK-NEXT: 0x4 0 2 0 X86_64_RELOC_SUBTRACTOR 0 0x2
-// CHECK-NEXT: 0x4 0 2 0 X86_64_RELOC_UNSIGNED 0 0x2
+// CHECK-NEXT: Relocation {
+// CHECK-NEXT: Offset: 0x4
+// CHECK-NEXT: PCRel: 0
+// CHECK-NEXT: Length: 2
+// CHECK-NEXT: Extern: 0
+// CHECK-NEXT: Type: X86_64_RELOC_SUBTRACTOR (5)
+// CHECK-NEXT: Symbol: 0x2
+// CHECK-NEXT: Scattered: 0
+// CHECK-NEXT: }
+// CHECK-NEXT: Relocation {
+// CHECK-NEXT: Offset: 0x4
+// CHECK-NEXT: PCRel: 0
+// CHECK-NEXT: Length: 2
+// CHECK-NEXT: Extern: 0
+// CHECK-NEXT: Type: X86_64_RELOC_UNSIGNED (0)
+// CHECK-NEXT: Symbol: 0x2
+// CHECK-NEXT: Scattered: 0
+// CHECK-NEXT: }
// CHECK-NEXT: }
// CHECK-NEXT: ]
Modified: llvm/trunk/test/tools/llvm-readobj/relocations.test
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/llvm-readobj/relocations.test?rev=240069&r1=240068&r2=240069&view=diff
==============================================================================
--- llvm/trunk/test/tools/llvm-readobj/relocations.test (original)
+++ llvm/trunk/test/tools/llvm-readobj/relocations.test Thu Jun 18 17:12:47 2015
@@ -10,9 +10,9 @@ RUN: llvm-readobj -r %p/Inputs/trivial.o
RUN: | FileCheck %s -check-prefix MACHO-I386
RUN: llvm-readobj -r %p/Inputs/trivial.obj.macho-x86-64 \
RUN: | FileCheck %s -check-prefix MACHO-X86-64
-RUN: llvm-readobj -r %p/Inputs/trivial.obj.macho-ppc \
+RUN: llvm-readobj -r --expand-relocs %p/Inputs/trivial.obj.macho-ppc \
RUN: | FileCheck %s -check-prefix MACHO-PPC
-RUN: llvm-readobj -r %p/Inputs/trivial.obj.macho-ppc64 \
+RUN: llvm-readobj -r --expand-relocs %p/Inputs/trivial.obj.macho-ppc64 \
RUN: | FileCheck %s -check-prefix MACHO-PPC64
RUN: llvm-readobj -r -expand-relocs %p/Inputs/trivial.obj.macho-arm \
RUN: | FileCheck %s -check-prefix MACHO-ARM
@@ -59,39 +59,199 @@ MACHO-X86-64-NEXT:]
MACHO-PPC: Relocations [
MACHO-PPC-NEXT: Section __text {
-MACHO-PPC-NEXT: 0x24 0 2 n/a PPC_RELOC_LO16_SECTDIFF 1 0x64
-MACHO-PPC-NEXT: 0x0 0 2 n/a PPC_RELOC_PAIR 1 0xC
-MACHO-PPC-NEXT: 0x1C 0 2 n/a PPC_RELOC_HA16_SECTDIFF 1 0x64
-MACHO-PPC-NEXT: 0x58 0 2 n/a PPC_RELOC_PAIR 1 0xC
-MACHO-PPC-NEXT: 0x18 1 2 0 PPC_RELOC_BR24 0 0x2
+MACHO-PPC-NEXT: Relocation {
+MACHO-PPC-NEXT: Offset: 0x24
+MACHO-PPC-NEXT: PCRel: 0
+MACHO-PPC-NEXT: Length: 2
+MACHO-PPC-NEXT: Extern: N/A
+MACHO-PPC-NEXT: Type: PPC_RELOC_LO16_SECTDIFF (11)
+MACHO-PPC-NEXT: Symbol: 0x64
+MACHO-PPC-NEXT: Scattered: 1
+MACHO-PPC-NEXT: }
+MACHO-PPC-NEXT: Relocation {
+MACHO-PPC-NEXT: Offset: 0x0
+MACHO-PPC-NEXT: PCRel: 0
+MACHO-PPC-NEXT: Length: 2
+MACHO-PPC-NEXT: Extern: N/A
+MACHO-PPC-NEXT: Type: PPC_RELOC_PAIR (1)
+MACHO-PPC-NEXT: Symbol: 0xC
+MACHO-PPC-NEXT: Scattered: 1
+MACHO-PPC-NEXT: }
+MACHO-PPC-NEXT: Relocation {
+MACHO-PPC-NEXT: Offset: 0x1C
+MACHO-PPC-NEXT: PCRel: 0
+MACHO-PPC-NEXT: Length: 2
+MACHO-PPC-NEXT: Extern: N/A
+MACHO-PPC-NEXT: Type: PPC_RELOC_HA16_SECTDIFF (12)
+MACHO-PPC-NEXT: Symbol: 0x64
+MACHO-PPC-NEXT: Scattered: 1
+MACHO-PPC-NEXT: }
+MACHO-PPC-NEXT: Relocation {
+MACHO-PPC-NEXT: Offset: 0x58
+MACHO-PPC-NEXT: PCRel: 0
+MACHO-PPC-NEXT: Length: 2
+MACHO-PPC-NEXT: Extern: N/A
+MACHO-PPC-NEXT: Type: PPC_RELOC_PAIR (1)
+MACHO-PPC-NEXT: Symbol: 0xC
+MACHO-PPC-NEXT: Scattered: 1
+MACHO-PPC-NEXT: }
+MACHO-PPC-NEXT: Relocation {
+MACHO-PPC-NEXT: Offset: 0x18
+MACHO-PPC-NEXT: PCRel: 1
+MACHO-PPC-NEXT: Length: 2
+MACHO-PPC-NEXT: Extern: 0
+MACHO-PPC-NEXT: Type: PPC_RELOC_BR24 (3)
+MACHO-PPC-NEXT: Symbol: 0x2
+MACHO-PPC-NEXT: Scattered: 0
+MACHO-PPC-NEXT: }
MACHO-PPC-NEXT: }
MACHO-PPC-NEXT: Section __picsymbolstub1 {
-MACHO-PPC-NEXT: 0x14 0 2 n/a PPC_RELOC_LO16_SECTDIFF 1 0x68
-MACHO-PPC-NEXT: 0x0 0 2 n/a PPC_RELOC_PAIR 1 0x48
-MACHO-PPC-NEXT: 0xC 0 2 n/a PPC_RELOC_HA16_SECTDIFF 1 0x68
-MACHO-PPC-NEXT: 0x20 0 2 n/a PPC_RELOC_PAIR 1 0x48
+MACHO-PPC-NEXT: Relocation {
+MACHO-PPC-NEXT: Offset: 0x14
+MACHO-PPC-NEXT: PCRel: 0
+MACHO-PPC-NEXT: Length: 2
+MACHO-PPC-NEXT: Extern: N/A
+MACHO-PPC-NEXT: Type: PPC_RELOC_LO16_SECTDIFF (11)
+MACHO-PPC-NEXT: Symbol: 0x68
+MACHO-PPC-NEXT: Scattered: 1
+MACHO-PPC-NEXT: }
+MACHO-PPC-NEXT: Relocation {
+MACHO-PPC-NEXT: Offset: 0x0
+MACHO-PPC-NEXT: PCRel: 0
+MACHO-PPC-NEXT: Length: 2
+MACHO-PPC-NEXT: Extern: N/A
+MACHO-PPC-NEXT: Type: PPC_RELOC_PAIR (1)
+MACHO-PPC-NEXT: Symbol: 0x48
+MACHO-PPC-NEXT: Scattered: 1
+MACHO-PPC-NEXT: }
+MACHO-PPC-NEXT: Relocation {
+MACHO-PPC-NEXT: Offset: 0xC
+MACHO-PPC-NEXT: PCRel: 0
+MACHO-PPC-NEXT: Length: 2
+MACHO-PPC-NEXT: Extern: N/A
+MACHO-PPC-NEXT: Type: PPC_RELOC_HA16_SECTDIFF (12)
+MACHO-PPC-NEXT: Symbol: 0x68
+MACHO-PPC-NEXT: Scattered: 1
+MACHO-PPC-NEXT: }
+MACHO-PPC-NEXT: Relocation {
+MACHO-PPC-NEXT: Offset: 0x20
+MACHO-PPC-NEXT: PCRel: 0
+MACHO-PPC-NEXT: Length: 2
+MACHO-PPC-NEXT: Extern: N/A
+MACHO-PPC-NEXT: Type: PPC_RELOC_PAIR (1)
+MACHO-PPC-NEXT: Symbol: 0x48
+MACHO-PPC-NEXT: Scattered: 1
+MACHO-PPC-NEXT: }
MACHO-PPC-NEXT: }
MACHO-PPC-NEXT: Section __la_symbol_ptr {
-MACHO-PPC-NEXT: 0x0 0 2 1 PPC_RELOC_VANILLA 0 dyld_stub_binding_helper
+MACHO-PPC-NEXT: Relocation {
+MACHO-PPC-NEXT: Offset: 0x0
+MACHO-PPC-NEXT: PCRel: 0
+MACHO-PPC-NEXT: Length: 2
+MACHO-PPC-NEXT: Extern: 1
+MACHO-PPC-NEXT: Type: PPC_RELOC_VANILLA (0)
+MACHO-PPC-NEXT: Symbol: dyld_stub_binding_helper
+MACHO-PPC-NEXT: Scattered: 0
+MACHO-PPC-NEXT: }
MACHO-PPC-NEXT: }
MACHO-PPC-NEXT: ]
MACHO-PPC64: Relocations [
MACHO-PPC64-NEXT: Section __text {
-MACHO-PPC64-NEXT: 0x24 0 2 n/a 1 0x64
-MACHO-PPC64-NEXT: 0x0 0 2 n/a 1 0xC
-MACHO-PPC64-NEXT: 0x1C 0 2 n/a 1 0x64
-MACHO-PPC64-NEXT: 0x58 0 2 n/a 1 0xC
-MACHO-PPC64-NEXT: 0x18 1 2 0 0 0x2
+MACHO-PPC64-NEXT: Relocation {
+MACHO-PPC64-NEXT: Offset: 0x24
+MACHO-PPC64-NEXT: PCRel: 0
+MACHO-PPC64-NEXT: Length: 2
+MACHO-PPC64-NEXT: Extern: N/A
+MACHO-PPC64-NEXT: Type: (14)
+MACHO-PPC64-NEXT: Symbol: 0x64
+MACHO-PPC64-NEXT: Scattered: 1
+MACHO-PPC64-NEXT: }
+MACHO-PPC64-NEXT: Relocation {
+MACHO-PPC64-NEXT: Offset: 0x0
+MACHO-PPC64-NEXT: PCRel: 0
+MACHO-PPC64-NEXT: Length: 2
+MACHO-PPC64-NEXT: Extern: N/A
+MACHO-PPC64-NEXT: Type: (1)
+MACHO-PPC64-NEXT: Symbol: 0xC
+MACHO-PPC64-NEXT: Scattered: 1
+MACHO-PPC64-NEXT: }
+MACHO-PPC64-NEXT: Relocation {
+MACHO-PPC64-NEXT: Offset: 0x1C
+MACHO-PPC64-NEXT: PCRel: 0
+MACHO-PPC64-NEXT: Length: 2
+MACHO-PPC64-NEXT: Extern: N/A
+MACHO-PPC64-NEXT: Type: (12)
+MACHO-PPC64-NEXT: Symbol: 0x64
+MACHO-PPC64-NEXT: Scattered: 1
+MACHO-PPC64-NEXT: }
+MACHO-PPC64-NEXT: Relocation {
+MACHO-PPC64-NEXT: Offset: 0x58
+MACHO-PPC64-NEXT: PCRel: 0
+MACHO-PPC64-NEXT: Length: 2
+MACHO-PPC64-NEXT: Extern: N/A
+MACHO-PPC64-NEXT: Type: (1)
+MACHO-PPC64-NEXT: Symbol: 0xC
+MACHO-PPC64-NEXT: Scattered: 1
+MACHO-PPC64-NEXT: }
+MACHO-PPC64-NEXT: Relocation {
+MACHO-PPC64-NEXT: Offset: 0x18
+MACHO-PPC64-NEXT: PCRel: 1
+MACHO-PPC64-NEXT: Length: 2
+MACHO-PPC64-NEXT: Extern: 0
+MACHO-PPC64-NEXT: Type: (3)
+MACHO-PPC64-NEXT: Symbol: 0x2
+MACHO-PPC64-NEXT: Scattered: 0
+MACHO-PPC64-NEXT: }
MACHO-PPC64-NEXT: }
MACHO-PPC64-NEXT: Section __picsymbolstub1 {
-MACHO-PPC64-NEXT: 0x14 0 2 n/a 1 0x6C
-MACHO-PPC64-NEXT: 0x0 0 2 n/a 1 0x48
-MACHO-PPC64-NEXT: 0xC 0 2 n/a 1 0x6C
-MACHO-PPC64-NEXT: 0x24 0 2 n/a 1 0x48
+MACHO-PPC64-NEXT: Relocation {
+MACHO-PPC64-NEXT: Offset: 0x14
+MACHO-PPC64-NEXT: PCRel: 0
+MACHO-PPC64-NEXT: Length: 2
+MACHO-PPC64-NEXT: Extern: N/A
+MACHO-PPC64-NEXT: Type: (14)
+MACHO-PPC64-NEXT: Symbol: 0x6C
+MACHO-PPC64-NEXT: Scattered: 1
+MACHO-PPC64-NEXT: }
+MACHO-PPC64-NEXT: Relocation {
+MACHO-PPC64-NEXT: Offset: 0x0
+MACHO-PPC64-NEXT: PCRel: 0
+MACHO-PPC64-NEXT: Length: 2
+MACHO-PPC64-NEXT: Extern: N/A
+MACHO-PPC64-NEXT: Type: (1)
+MACHO-PPC64-NEXT: Symbol: 0x48
+MACHO-PPC64-NEXT: Scattered: 1
+MACHO-PPC64-NEXT: }
+MACHO-PPC64-NEXT: Relocation {
+MACHO-PPC64-NEXT: Offset: 0xC
+MACHO-PPC64-NEXT: PCRel: 0
+MACHO-PPC64-NEXT: Length: 2
+MACHO-PPC64-NEXT: Extern: N/A
+MACHO-PPC64-NEXT: Type: (12)
+MACHO-PPC64-NEXT: Symbol: 0x6C
+MACHO-PPC64-NEXT: Scattered: 1
+MACHO-PPC64-NEXT: }
+MACHO-PPC64-NEXT: Relocation {
+MACHO-PPC64-NEXT: Offset: 0x24
+MACHO-PPC64-NEXT: PCRel: 0
+MACHO-PPC64-NEXT: Length: 2
+MACHO-PPC64-NEXT: Extern: N/A
+MACHO-PPC64-NEXT: Type: (1)
+MACHO-PPC64-NEXT: Symbol: 0x48
+MACHO-PPC64-NEXT: Scattered: 1
+MACHO-PPC64-NEXT: }
MACHO-PPC64-NEXT: }
MACHO-PPC64-NEXT: Section __la_symbol_ptr {
-MACHO-PPC64-NEXT: 0x0 0 3 1 0 dyld_stub_binding_helper
+MACHO-PPC64-NEXT: Relocation {
+MACHO-PPC64-NEXT: Offset: 0x0
+MACHO-PPC64-NEXT: PCRel: 0
+MACHO-PPC64-NEXT: Length: 3
+MACHO-PPC64-NEXT: Extern: 1
+MACHO-PPC64-NEXT: Type: (0)
+MACHO-PPC64-NEXT: Symbol: dyld_stub_binding_helper
+MACHO-PPC64-NEXT: Scattered: 0
+MACHO-PPC64-NEXT: }
MACHO-PPC64-NEXT: }
MACHO-PPC64-NEXT: ]
Modified: llvm/trunk/test/tools/llvm-readobj/sections-ext.test
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/llvm-readobj/sections-ext.test?rev=240069&r1=240068&r2=240069&view=diff
==============================================================================
--- llvm/trunk/test/tools/llvm-readobj/sections-ext.test (original)
+++ llvm/trunk/test/tools/llvm-readobj/sections-ext.test Thu Jun 18 17:12:47 2015
@@ -6,9 +6,9 @@ RUN: llvm-readobj -s -st -sr -sd %p/Inpu
RUN: | FileCheck %s -check-prefix MACHO-I386
RUN: llvm-readobj -s -st -sr -sd %p/Inputs/trivial.obj.macho-x86-64 \
RUN: | FileCheck %s -check-prefix MACHO-X86-64
-RUN: llvm-readobj -s -st -sr -sd %p/Inputs/trivial.obj.macho-ppc \
+RUN: llvm-readobj --expand-relocs -s -st -sr -sd %p/Inputs/trivial.obj.macho-ppc \
RUN: | FileCheck %s -check-prefix MACHO-PPC
-RUN: llvm-readobj -s -st -sr -sd %p/Inputs/trivial.obj.macho-ppc64 \
+RUN: llvm-readobj --expand-relocs -s -st -sr -sd %p/Inputs/trivial.obj.macho-ppc64 \
RUN: | FileCheck %s -check-prefix MACHO-PPC64
RUN: llvm-readobj -expand-relocs -s -st -sr -sd %p/Inputs/trivial.obj.macho-arm \
RUN: | FileCheck %s -check-prefix MACHO-ARM
@@ -298,11 +298,51 @@ MACHO-PPC-NEXT: ]
MACHO-PPC-NEXT: Reserved1: 0x0
MACHO-PPC-NEXT: Reserved2: 0x0
MACHO-PPC-NEXT: Relocations [
-MACHO-PPC-NEXT: 0x24 0 2 n/a PPC_RELOC_LO16_SECTDIFF 1 0x64
-MACHO-PPC-NEXT: 0x0 0 2 n/a PPC_RELOC_PAIR 1 0xC
-MACHO-PPC-NEXT: 0x1C 0 2 n/a PPC_RELOC_HA16_SECTDIFF 1 0x64
-MACHO-PPC-NEXT: 0x58 0 2 n/a PPC_RELOC_PAIR 1 0xC
-MACHO-PPC-NEXT: 0x18 1 2 0 PPC_RELOC_BR24 0 0x2
+MACHO-PPC-NEXT: Relocation {
+MACHO-PPC-NEXT: Offset: 0x24
+MACHO-PPC-NEXT: PCRel: 0
+MACHO-PPC-NEXT: Length: 2
+MACHO-PPC-NEXT: Extern: N/A
+MACHO-PPC-NEXT: Type: PPC_RELOC_LO16_SECTDIFF (11)
+MACHO-PPC-NEXT: Symbol: 0x64
+MACHO-PPC-NEXT: Scattered: 1
+MACHO-PPC-NEXT: }
+MACHO-PPC-NEXT: Relocation {
+MACHO-PPC-NEXT: Offset: 0x0
+MACHO-PPC-NEXT: PCRel: 0
+MACHO-PPC-NEXT: Length: 2
+MACHO-PPC-NEXT: Extern: N/A
+MACHO-PPC-NEXT: Type: PPC_RELOC_PAIR (1)
+MACHO-PPC-NEXT: Symbol: 0xC
+MACHO-PPC-NEXT: Scattered: 1
+MACHO-PPC-NEXT: }
+MACHO-PPC-NEXT: Relocation {
+MACHO-PPC-NEXT: Offset: 0x1C
+MACHO-PPC-NEXT: PCRel: 0
+MACHO-PPC-NEXT: Length: 2
+MACHO-PPC-NEXT: Extern: N/A
+MACHO-PPC-NEXT: Type: PPC_RELOC_HA16_SECTDIFF (12)
+MACHO-PPC-NEXT: Symbol: 0x64
+MACHO-PPC-NEXT: Scattered: 1
+MACHO-PPC-NEXT: }
+MACHO-PPC-NEXT: Relocation {
+MACHO-PPC-NEXT: Offset: 0x58
+MACHO-PPC-NEXT: PCRel: 0
+MACHO-PPC-NEXT: Length: 2
+MACHO-PPC-NEXT: Extern: N/A
+MACHO-PPC-NEXT: Type: PPC_RELOC_PAIR (1)
+MACHO-PPC-NEXT: Symbol: 0xC
+MACHO-PPC-NEXT: Scattered: 1
+MACHO-PPC-NEXT: }
+MACHO-PPC-NEXT: Relocation {
+MACHO-PPC-NEXT: Offset: 0x18
+MACHO-PPC-NEXT: PCRel: 1
+MACHO-PPC-NEXT: Length: 2
+MACHO-PPC-NEXT: Extern: 0
+MACHO-PPC-NEXT: Type: PPC_RELOC_BR24 (3)
+MACHO-PPC-NEXT: Symbol: 0x2
+MACHO-PPC-NEXT: Scattered: 0
+MACHO-PPC-NEXT: }
MACHO-PPC-NEXT: ]
MACHO-PPC-NEXT: Symbols [
MACHO-PPC-NEXT: Symbol {
@@ -341,10 +381,42 @@ MACHO-PPC-NEXT: ]
MACHO-PPC-NEXT: Reserved1: 0x0
MACHO-PPC-NEXT: Reserved2: 0x20
MACHO-PPC-NEXT: Relocations [
-MACHO-PPC-NEXT: 0x14 0 2 n/a PPC_RELOC_LO16_SECTDIFF 1 0x68
-MACHO-PPC-NEXT: 0x0 0 2 n/a PPC_RELOC_PAIR 1 0x48
-MACHO-PPC-NEXT: 0xC 0 2 n/a PPC_RELOC_HA16_SECTDIFF 1 0x68
-MACHO-PPC-NEXT: 0x20 0 2 n/a PPC_RELOC_PAIR 1 0x48
+MACHO-PPC-NEXT: Relocation {
+MACHO-PPC-NEXT: Offset: 0x14
+MACHO-PPC-NEXT: PCRel: 0
+MACHO-PPC-NEXT: Length: 2
+MACHO-PPC-NEXT: Extern: N/A
+MACHO-PPC-NEXT: Type: PPC_RELOC_LO16_SECTDIFF (11)
+MACHO-PPC-NEXT: Symbol: 0x68
+MACHO-PPC-NEXT: Scattered: 1
+MACHO-PPC-NEXT: }
+MACHO-PPC-NEXT: Relocation {
+MACHO-PPC-NEXT: Offset: 0x0
+MACHO-PPC-NEXT: PCRel: 0
+MACHO-PPC-NEXT: Length: 2
+MACHO-PPC-NEXT: Extern: N/A
+MACHO-PPC-NEXT: Type: PPC_RELOC_PAIR (1)
+MACHO-PPC-NEXT: Symbol: 0x48
+MACHO-PPC-NEXT: Scattered: 1
+MACHO-PPC-NEXT: }
+MACHO-PPC-NEXT: Relocation {
+MACHO-PPC-NEXT: Offset: 0xC
+MACHO-PPC-NEXT: PCRel: 0
+MACHO-PPC-NEXT: Length: 2
+MACHO-PPC-NEXT: Extern: N/A
+MACHO-PPC-NEXT: Type: PPC_RELOC_HA16_SECTDIFF (12)
+MACHO-PPC-NEXT: Symbol: 0x68
+MACHO-PPC-NEXT: Scattered: 1
+MACHO-PPC-NEXT: }
+MACHO-PPC-NEXT: Relocation {
+MACHO-PPC-NEXT: Offset: 0x20
+MACHO-PPC-NEXT: PCRel: 0
+MACHO-PPC-NEXT: Length: 2
+MACHO-PPC-NEXT: Extern: N/A
+MACHO-PPC-NEXT: Type: PPC_RELOC_PAIR (1)
+MACHO-PPC-NEXT: Symbol: 0x48
+MACHO-PPC-NEXT: Scattered: 1
+MACHO-PPC-NEXT: }
MACHO-PPC-NEXT: ]
MACHO-PPC-NEXT: Symbols [
MACHO-PPC-NEXT: ]
@@ -425,7 +497,15 @@ MACHO-PPC-NEXT: ]
MACHO-PPC-NEXT: Reserved1: 0x2
MACHO-PPC-NEXT: Reserved2: 0x0
MACHO-PPC-NEXT: Relocations [
-MACHO-PPC-NEXT: 0x0 0 2 1 PPC_RELOC_VANILLA 0 dyld_stub_binding_helper
+MACHO-PPC-NEXT: Relocation {
+MACHO-PPC-NEXT: Offset: 0x0
+MACHO-PPC-NEXT: PCRel: 0
+MACHO-PPC-NEXT: Length: 2
+MACHO-PPC-NEXT: Extern: 1
+MACHO-PPC-NEXT: Type: PPC_RELOC_VANILLA (0)
+MACHO-PPC-NEXT: Symbol: dyld_stub_binding_helper
+MACHO-PPC-NEXT: Scattered: 0
+MACHO-PPC-NEXT: }
MACHO-PPC-NEXT: ]
MACHO-PPC-NEXT: Symbols [
MACHO-PPC-NEXT: ]
@@ -455,11 +535,51 @@ MACHO-PPC64-NEXT: ]
MACHO-PPC64-NEXT: Reserved1: 0x0
MACHO-PPC64-NEXT: Reserved2: 0x0
MACHO-PPC64-NEXT: Relocations [
-MACHO-PPC64-NEXT: 0x24 0 2 n/a 1 0x64
-MACHO-PPC64-NEXT: 0x0 0 2 n/a 1 0xC
-MACHO-PPC64-NEXT: 0x1C 0 2 n/a 1 0x64
-MACHO-PPC64-NEXT: 0x58 0 2 n/a 1 0xC
-MACHO-PPC64-NEXT: 0x18 1 2 0 0 0x2
+MACHO-PPC64-NEXT: Relocation {
+MACHO-PPC64-NEXT: Offset: 0x24
+MACHO-PPC64-NEXT: PCRel: 0
+MACHO-PPC64-NEXT: Length: 2
+MACHO-PPC64-NEXT: Extern: N/A
+MACHO-PPC64-NEXT: Type: (14)
+MACHO-PPC64-NEXT: Symbol: 0x64
+MACHO-PPC64-NEXT: Scattered: 1
+MACHO-PPC64-NEXT: }
+MACHO-PPC64-NEXT: Relocation {
+MACHO-PPC64-NEXT: Offset: 0x0
+MACHO-PPC64-NEXT: PCRel: 0
+MACHO-PPC64-NEXT: Length: 2
+MACHO-PPC64-NEXT: Extern: N/A
+MACHO-PPC64-NEXT: Type: (1)
+MACHO-PPC64-NEXT: Symbol: 0xC
+MACHO-PPC64-NEXT: Scattered: 1
+MACHO-PPC64-NEXT: }
+MACHO-PPC64-NEXT: Relocation {
+MACHO-PPC64-NEXT: Offset: 0x1C
+MACHO-PPC64-NEXT: PCRel: 0
+MACHO-PPC64-NEXT: Length: 2
+MACHO-PPC64-NEXT: Extern: N/A
+MACHO-PPC64-NEXT: Type: (12)
+MACHO-PPC64-NEXT: Symbol: 0x64
+MACHO-PPC64-NEXT: Scattered: 1
+MACHO-PPC64-NEXT: }
+MACHO-PPC64-NEXT: Relocation {
+MACHO-PPC64-NEXT: Offset: 0x58
+MACHO-PPC64-NEXT: PCRel: 0
+MACHO-PPC64-NEXT: Length: 2
+MACHO-PPC64-NEXT: Extern: N/A
+MACHO-PPC64-NEXT: Type: (1)
+MACHO-PPC64-NEXT: Symbol: 0xC
+MACHO-PPC64-NEXT: Scattered: 1
+MACHO-PPC64-NEXT: }
+MACHO-PPC64-NEXT: Relocation {
+MACHO-PPC64-NEXT: Offset: 0x18
+MACHO-PPC64-NEXT: PCRel: 1
+MACHO-PPC64-NEXT: Length: 2
+MACHO-PPC64-NEXT: Extern: 0
+MACHO-PPC64-NEXT: Type: (3)
+MACHO-PPC64-NEXT: Symbol: 0x2
+MACHO-PPC64-NEXT: Scattered: 0
+MACHO-PPC64-NEXT: }
MACHO-PPC64-NEXT: ]
MACHO-PPC64-NEXT: Symbols [
MACHO-PPC64-NEXT: Symbol {
@@ -498,10 +618,42 @@ MACHO-PPC64-NEXT: ]
MACHO-PPC64-NEXT: Reserved1: 0x0
MACHO-PPC64-NEXT: Reserved2: 0x20
MACHO-PPC64-NEXT: Relocations [
-MACHO-PPC64-NEXT: 0x14 0 2 n/a 1 0x6C
-MACHO-PPC64-NEXT: 0x0 0 2 n/a 1 0x48
-MACHO-PPC64-NEXT: 0xC 0 2 n/a 1 0x6C
-MACHO-PPC64-NEXT: 0x24 0 2 n/a 1 0x48
+MACHO-PPC64-NEXT: Relocation {
+MACHO-PPC64-NEXT: Offset: 0x14
+MACHO-PPC64-NEXT: PCRel: 0
+MACHO-PPC64-NEXT: Length: 2
+MACHO-PPC64-NEXT: Extern: N/A
+MACHO-PPC64-NEXT: Type: (14)
+MACHO-PPC64-NEXT: Symbol: 0x6C
+MACHO-PPC64-NEXT: Scattered: 1
+MACHO-PPC64-NEXT: }
+MACHO-PPC64-NEXT: Relocation {
+MACHO-PPC64-NEXT: Offset: 0x0
+MACHO-PPC64-NEXT: PCRel: 0
+MACHO-PPC64-NEXT: Length: 2
+MACHO-PPC64-NEXT: Extern: N/A
+MACHO-PPC64-NEXT: Type: (1)
+MACHO-PPC64-NEXT: Symbol: 0x48
+MACHO-PPC64-NEXT: Scattered: 1
+MACHO-PPC64-NEXT: }
+MACHO-PPC64-NEXT: Relocation {
+MACHO-PPC64-NEXT: Offset: 0xC
+MACHO-PPC64-NEXT: PCRel: 0
+MACHO-PPC64-NEXT: Length: 2
+MACHO-PPC64-NEXT: Extern: N/A
+MACHO-PPC64-NEXT: Type: (12)
+MACHO-PPC64-NEXT: Symbol: 0x6C
+MACHO-PPC64-NEXT: Scattered: 1
+MACHO-PPC64-NEXT: }
+MACHO-PPC64-NEXT: Relocation {
+MACHO-PPC64-NEXT: Offset: 0x24
+MACHO-PPC64-NEXT: PCRel: 0
+MACHO-PPC64-NEXT: Length: 2
+MACHO-PPC64-NEXT: Extern: N/A
+MACHO-PPC64-NEXT: Type: (1)
+MACHO-PPC64-NEXT: Symbol: 0x48
+MACHO-PPC64-NEXT: Scattered: 1
+MACHO-PPC64-NEXT: }
MACHO-PPC64-NEXT: ]
MACHO-PPC64-NEXT: Symbols [
MACHO-PPC64-NEXT: ]
@@ -582,7 +734,15 @@ MACHO-PPC64-NEXT: ]
MACHO-PPC64-NEXT: Reserved1: 0x2
MACHO-PPC64-NEXT: Reserved2: 0x0
MACHO-PPC64-NEXT: Relocations [
-MACHO-PPC64-NEXT: 0x0 0 3 1 0 dyld_stub_binding_helper
+MACHO-PPC64-NEXT: Relocation {
+MACHO-PPC64-NEXT: Offset: 0x0
+MACHO-PPC64-NEXT: PCRel: 0
+MACHO-PPC64-NEXT: Length: 3
+MACHO-PPC64-NEXT: Extern: 1
+MACHO-PPC64-NEXT: Type: (0)
+MACHO-PPC64-NEXT: Symbol: dyld_stub_binding_helper
+MACHO-PPC64-NEXT: Scattered: 0
+MACHO-PPC64-NEXT: }
MACHO-PPC64-NEXT: ]
MACHO-PPC64-NEXT: Symbols [
MACHO-PPC64-NEXT: ]
More information about the llvm-commits
mailing list