hanchenye-llvm-project/lld/test/elf/Hexagon/dynlib-rela.test

10 lines
331 B
Plaintext

# Tests that the relocation sections have the right alignment.
RUN: lld -flavor gnu -target hexagon %p/Inputs/use-shared.hexagon -shared -o %t1
RUN: llvm-readobj -sections %t1 > %t2
RUN: FileCheck -check-prefix=SECTIONS %s < %t2
SECTIONS: Section {
SECTIONS: Name: .rela.plt (23)
SECTIONS: AddressAlignment: 4
SECTIONS: }