mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-17 21:35:07 +00:00
97d37e8181
For consistency, change the address in the test case from 0xDEADBEEF to 0xCAFEBABE since 0xCAFEBABE that actually has a 2-byte alignment. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183962 91177308-0d34-0410-b5e6-96231b3b80d8
33 lines
838 B
YAML
33 lines
838 B
YAML
# RUN: yaml2obj -format=elf %s | llvm-readobj -sections -section-data - | FileCheck %s
|
|
!ELF
|
|
FileHeader:
|
|
Class: ELFCLASS64
|
|
Data: ELFDATA2LSB
|
|
Type: ET_REL
|
|
Machine: EM_X86_64
|
|
Sections:
|
|
- Name: .text
|
|
Type: SHT_PROGBITS
|
|
Flags: [ SHF_ALLOC, SHF_EXECINSTR ]
|
|
Address: 0xCAFEBABE
|
|
Content: EBFE
|
|
AddressAlign: 2
|
|
|
|
# CHECK: Section {
|
|
# CHECK: Index: 0
|
|
# CHECK: Type: SHT_NULL (0x0)
|
|
#
|
|
# CHECK: Section {
|
|
# CHECK: Name: .text
|
|
# CHECK: Type: SHT_PROGBITS (0x1)
|
|
# CHECK-NEXT: Flags [ (0x6)
|
|
# CHECK-NEXT: SHF_ALLOC (0x2)
|
|
# CHECK-NEXT: SHF_EXECINSTR (0x4)
|
|
# CHECK-NEXT: ]
|
|
# CHECK-NEXT: Address: 0xCAFEBABE
|
|
# CHECK: Size: 2
|
|
# CHECK: AddressAlignment: 2
|
|
# CHECK: SectionData (
|
|
# CHECK-NEXT: 0000: EBFE
|
|
# CHECK-NEXT: )
|