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
Follow up to d0858bffa11, add missing REQUIRES x86
[llvm-project.git]
/
llvm
/
test
/
tools
/
llvm-objcopy
/
ELF
/
copy-osabi.test
blob
f53ec7216d06331a48f0fb67cfd9afbcee2543f3
1
# RUN: yaml2obj %s -o %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