llvm-project/lld/test/elf/init_array.test

7 lines
263 B
Plaintext

RUN: lld -flavor gnu -target x86_64-linux -o %t %p/Inputs/init_array.x86-64 \
RUN: -e __init_array_start
RUN: llvm-objdump -t -section-headers %t | FileCheck %s
CHECK: .init_array {{[0-9]+}} [[ADDR:[0-9]+]]
CHECK: [[ADDR]] g *ABS* {{[0-9]+}} __init_array_start