diff options
Diffstat (limited to 'test/elf/checkrodata.test')
-rw-r--r-- | test/elf/checkrodata.test | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/elf/checkrodata.test b/test/elf/checkrodata.test new file mode 100644 index 0000000000000..fc75657b4afb4 --- /dev/null +++ b/test/elf/checkrodata.test @@ -0,0 +1,9 @@ + +RUN: lld -flavor gnu -target i386 -o %t1 %p/Inputs/rodata-test.i386 --noinhibit-exec +RUN: llvm-objdump -section-headers %t1 | FileCheck -check-prefix=i386 %s +RUN: lld -flavor gnu -target hexagon -o %t2 %p/Inputs/rodata-test.hexagon --noinhibit-exec +RUN: llvm-objdump -section-headers %t2 | FileCheck -check-prefix=hexagon %s + +i386: .rodata 00000004 0000000000000114 DATA + +hexagon: .rodata 00000004 0000000000000114 DATA |