llvm-project/lld/test/elf/rodata.objtxt

10 lines
432 B
Plaintext

RUN: lld-core -reader ELF -writer ELF -o %t1 %p/Inputs/rodata-test.i386
RUN: llvm-objdump -section-headers %t1 | FileCheck -check-prefix=i386 %s
RUN: lld-core -arch hexagon -reader ELF -writer ELF -o %t2 \
RUN: %p/Inputs/rodata-test.hexagon
RUN: llvm-objdump -section-headers %t2 | FileCheck -check-prefix=hexagon %s
i386: 1 .rodata 00000004 0000000000001000 DATA
hexagon: 1 .rodata 00000004 0000000000001000 DATA