mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 19:23:23 +01:00
f5e46712bd
Its a follow up for rL339870. llvm-svn: 339872
26 lines
566 B
YAML
26 lines
566 B
YAML
# RUN: yaml2obj %s -o %t
|
|
# RUN: llvm-readobj -sections %t | FileCheck %s
|
|
|
|
# CHECK: Name: .rela.text
|
|
# CHECK-NEXT: Type: SHT_RELA
|
|
# CHECK-NEXT: Flags [
|
|
# CHECK-NEXT: ]
|
|
# CHECK-NEXT: Address:
|
|
# CHECK-NEXT: Offset:
|
|
# CHECK-NEXT: Size:
|
|
# CHECK-NEXT: Link:
|
|
# CHECK-NEXT: Info: 12345
|
|
|
|
--- !ELF
|
|
FileHeader:
|
|
Class: ELFCLASS64
|
|
Data: ELFDATA2LSB
|
|
Type: ET_REL
|
|
Machine: EM_X86_64
|
|
Sections:
|
|
- Name: .rela.text
|
|
Type: SHT_RELA
|
|
Link: .symtab
|
|
Info: 12345
|
|
Relocations:
|