repo.or.cz
/
llvm-core.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[InstCombine] Signed saturation patterns
[llvm-core.git]
/
test
/
tools
/
llvm-objcopy
/
ELF
/
copy-osabi.test
blob
75a22bc9bdfaf2e11cea5fba528f8425c23405de
1
# RUN: yaml2obj %s > %t
2
# RUN: llvm-objcopy %t %t2
3
# RUN: llvm-readobj --file-headers %t2 | FileCheck %s
4
5
## Check that llvm-objcopy preserves the OSABI and ABIVersion fields.
6
# CHECK: OS/ABI: FreeBSD (0x9)
7
# CHECK: ABIVersion: 1
8
9
!ELF
10
FileHeader:
11
Class: ELFCLASS64
12
Data: ELFDATA2LSB
13
OSABI: ELFOSABI_FREEBSD
14
ABIVersion: 1
15
Type: ET_REL
16
Machine: EM_AARCH64