repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git]
/
lld
/
test
/
ELF
/
invalid
/
invalid-relocation-arm.test
blob
d951173d1a0fc87e24d2e0042240847c02698978
1
# REQUIRES: arm
2
# RUN: yaml2obj %s -o %t.o
3
# RUN: not ld.lld %t.o -o /dev/null 2>&1 | FileCheck %s
4
# CHECK: error: unknown relocation (254) against symbol foo
5
# CHECK-NEXT: error: unknown relocation (255) against symbol foo
6
7
!ELF
8
FileHeader:
9
Class: ELFCLASS32
10
Data: ELFDATA2LSB
11
Type: ET_REL
12
Machine: EM_ARM
13
Sections:
14
- Name: .text
15
Type: SHT_PROGBITS
16
Flags: [ SHF_ALLOC ]
17
- Name: .rela.text
18
Type: SHT_RELA
19
Link: .symtab
20
Info: .text
21
Relocations:
22
- Symbol: foo
23
Type: 0xfe
24
- Symbol: foo
25
Type: 0xff
26
Symbols:
27
- Name: foo
28
Section: .text
29
Binding: STB_GLOBAL