summaryrefslogtreecommitdiffstats
path: root/llvm/test
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2015-07-06 02:45:01 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2015-07-06 02:45:01 +0000
commit37d8b67426fe0887c0d01ea144561e7982dbde7b (patch)
tree5dbffd0d8070424f04ed9f725772cadef1466d3f /llvm/test
parent92a8c82076f7e6a840af99a3bf19fabe1275eb5b (diff)
downloadbcm5719-llvm-37d8b67426fe0887c0d01ea144561e7982dbde7b.tar.gz
bcm5719-llvm-37d8b67426fe0887c0d01ea144561e7982dbde7b.zip
Make this test a bit more interesting.
Before every test was using a section with an address of zero. llvm-svn: 241427
Diffstat (limited to 'llvm/test')
-rw-r--r--llvm/test/ExecutionEngine/RuntimeDyld/X86/MachO_i386_DynNoPIC_relocations.s5
1 files changed, 4 insertions, 1 deletions
diff --git a/llvm/test/ExecutionEngine/RuntimeDyld/X86/MachO_i386_DynNoPIC_relocations.s b/llvm/test/ExecutionEngine/RuntimeDyld/X86/MachO_i386_DynNoPIC_relocations.s
index 6b2fe9532c2..17c332a11c3 100644
--- a/llvm/test/ExecutionEngine/RuntimeDyld/X86/MachO_i386_DynNoPIC_relocations.s
+++ b/llvm/test/ExecutionEngine/RuntimeDyld/X86/MachO_i386_DynNoPIC_relocations.s
@@ -1,7 +1,10 @@
# RUN: llvm-mc -triple=i386-apple-macosx10.4 -relocation-model=dynamic-no-pic -filetype=obj -o %T/test_i386.o %s
# RUN: llvm-rtdyld -triple=i386-apple-macosx10.4 -verify -check=%s %/T/test_i386.o
- .section __TEXT,__text,regular,pure_instructions
+// Put the section used in the test at a non zero address.
+ .long 4
+
+ .section __TEXT,__text2,regular,pure_instructions
.globl bar
.align 4, 0x90
bar:
OpenPOWER on IntegriCloud