2013-01-10 04:10:30 +08:00
|
|
|
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
|
2012-10-02 07:23:05 +08:00
|
|
|
|
2013-01-11 06:41:19 +08:00
|
|
|
i386: 2 .rodata 00000004
|
2012-10-02 07:23:05 +08:00
|
|
|
|
2013-01-11 06:41:19 +08:00
|
|
|
hexagon: 3 .rodata 00000004
|