projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[mips] Add support for branch-likely pseudo-instructions
[oota-llvm.git]
/
test
/
MC
/
ELF
/
relocation-pc.s
diff --git
a/test/MC/ELF/relocation-pc.s
b/test/MC/ELF/relocation-pc.s
index fc7420c39898c401df8a12a0abb9592ae81af398..ca7addf3a6205c483eed8b801d22767be94266ce 100644
(file)
--- a/
test/MC/ELF/relocation-pc.s
+++ b/
test/MC/ELF/relocation-pc.s
@@
-6,27
+6,20
@@
jmp -256 # R_X86_64_PC32
// CHECK: Section {
jmp -256 # R_X86_64_PC32
// CHECK: Section {
-// CHECK: Index: 1
-// CHECK-NEXT: Name: .text
-// CHECK: Relocations [
-// CHECK-NEXT: ]
-// CHECK-NEXT: }
-
-// CHECK: Section {
-// CHECK: Index: 2
-// CHECK-NEXT: Name: .rela.text
+// CHECK: Index:
+// CHECK: Name: .rela.text
// CHECK-NEXT: Type: SHT_RELA
// CHECK-NEXT: Flags [
// CHECK-NEXT: ]
// CHECK-NEXT: Address: 0x0
// CHECK-NEXT: Type: SHT_RELA
// CHECK-NEXT: Flags [
// CHECK-NEXT: ]
// CHECK-NEXT: Address: 0x0
-// CHECK-NEXT: Offset:
0x2E8
+// CHECK-NEXT: Offset:
// CHECK-NEXT: Size: 48
// CHECK-NEXT: Size: 48
-// CHECK-NEXT: Link:
6
-// CHECK-NEXT: Info:
1
+// CHECK-NEXT: Link:
+// CHECK-NEXT: Info:
// CHECK-NEXT: AddressAlignment: 8
// CHECK-NEXT: EntrySize: 24
// CHECK-NEXT: Relocations [
// CHECK-NEXT: AddressAlignment: 8
// CHECK-NEXT: EntrySize: 24
// CHECK-NEXT: Relocations [
-// CHECK-NEXT: 0x1 R_X86_64_PC8 - 0x
0
-// CHECK-NEXT: 0x3 R_X86_64_PC32 - 0x
0
+// CHECK-NEXT: 0x1 R_X86_64_PC8 - 0x
FFFFFFFFFFFFFFFF
+// CHECK-NEXT: 0x3 R_X86_64_PC32 - 0x
FFFFFFFFFFFFFEFC
// CHECK-NEXT: ]
// CHECK-NEXT: }
// CHECK-NEXT: ]
// CHECK-NEXT: }