llvm.org GIT mirror llvm / 894e54f test / tools / llvm-objcopy / ELF / dynamic-relocations.test
894e54f

Tree @894e54f (Download .tar.gz)

dynamic-relocations.test @894e54fraw · history · blame

# RUN: llvm-objcopy %p/Inputs/dynrel.elf %t
# RUN: llvm-readobj --sections --section-data %t | FileCheck %s

#CHECK:         Name: .rela.plt
#CHECK-NEXT:    Type: SHT_RELA
#CHECK-NEXT:    Flags [
#CHECK-NEXT:      SHF_ALLOC
#CHECK-NEXT:    ]
#CHECK-NEXT:    Address:
#CHECK-NEXT:    Offset:
#CHECK-NEXT:    Size: 24
#CHECK-NEXT:    Link:
#CHECK-NEXT:    Info:
#CHECK-NEXT:    AddressAlignment: 8
#CHECK-NEXT:    EntrySize: 24
#CHECK-NEXT:    SectionData (
#CHECK-NEXT:       0000: 18202000 00000000 07000000 01000000  |.  .............|
#CHECK-NEXT:       0010: 00000000 00000000                    |........|
#CHECK-NEXT:    )