llvm.org GIT mirror llvm / e0fb952
Add a test for relocation addend on mips. An lld test found a bug in a llvm patch I am working on. It is better to have test coverage for that in llvm too. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@307192 91177308-0d34-0410-b5e6-96231b3b80d8 Rafael Espindola 2 years ago
1 changed file(s) with 21 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 # RUN: llvm-mc -filetype=obj -triple=mips-unknown-linux -mcpu=mips32r6 %s -o %t.o
1 # RUN: llvm-readobj -s -section-data %t.o | FileCheck %s
2
3 # CHECK: Name: .text
4 # CHECK-NEXT: Type:
5 # CHECK-NEXT: Flags [
6 # CHECK-NEXT: SHF_ALLOC
7 # CHECK-NEXT: SHF_EXECINSTR
8 # CHECK-NEXT: ]
9 # CHECK-NEXT: Address:
10 # CHECK-NEXT: Offset:
11 # CHECK-NEXT: Size:
12 # CHECK-NEXT: Link:
13 # CHECK-NEXT: Info:
14 # CHECK-NEXT: AddressAlignment:
15 # CHECK-NEXT: EntrySize:
16 # CHECK-NEXT: SectionData (
17 # CHECK-NEXT: 0000: 00000008 |
18 # CHECK-NEXT: )
19
20 .word _foo+8-.