2017-03-11 06:42:22 +08:00
|
|
|
# REQUIRES: aarch64
|
|
|
|
|
|
|
|
# RUN: yaml2obj %s -o %t.o
|
2018-07-03 01:48:23 +08:00
|
|
|
# RUN: ld.lld %t.o -o /dev/null
|
2017-03-11 06:42:22 +08:00
|
|
|
|
|
|
|
!ELF
|
|
|
|
FileHeader:
|
|
|
|
Class: ELFCLASS64
|
|
|
|
Data: ELFDATA2LSB
|
|
|
|
Type: ET_REL
|
|
|
|
Machine: EM_AARCH64
|
|
|
|
Sections:
|
|
|
|
- Type: SHT_PROGBITS
|
|
|
|
Name: .text
|
|
|
|
Flags: [ SHF_ALLOC, SHF_EXECINSTR ]
|
|
|
|
Content: "00000000"
|
|
|
|
- Type: SHT_RELA
|
|
|
|
Name: .rela.text
|
|
|
|
Link: .symtab
|
|
|
|
Info: .text
|
|
|
|
Relocations:
|
|
|
|
- Offset: 0
|
|
|
|
Type: R_AARCH64_NONE
|