[PATCH] [mips] Add RuntimeDyld tests for currently supported O32 relocations.

Daniel Sanders daniel.sanders at imgtec.com
Tue Jun 2 06:45:03 PDT 2015


================
Comment at: test/ExecutionEngine/RuntimeDyld/Mips/ELF_O32_PIC_relocations.s:3
@@ +2,3 @@
+# RUN: llc -mtriple=mipsel-unknown-linux -relocation-model=pic -filetype=obj -o %T/test_ELF_ExternalFunction_O32.o %S/Inputs/ExternalFunction.ll
+# RUN: llvm-rtdyld -triple=mipsel-unknown-linux -verify -map-section test_ELF_O32.o,.text=0x1000 -map-section test_ELF_ExternalFunction_O32.o,.text=0x10000 -check=%s %/T/test_ELF_O32.o %T/test_ELF_ExternalFunction_O32.o
+
----------------
vkalintiris wrote:
> change %/T to %T in order to be consistent and avoid needless canonicalization.
I've made this change but I may have to change it back if the windows buildbots complain.

================
Comment at: test/ExecutionEngine/RuntimeDyld/Mips/ELF_O32_PIC_relocations.s:5-7
@@ +4,5 @@
+
+# R!N: llvm-mc -triple=mips-unknown-linux -relocation-model=pic -code-model=small -filetype=obj -o %T/test_ELF_O32.o %s
+# R!N: llc -mtriple=mips-unknown-linux -relocation-model=pic -filetype=obj -o %T/test_ELF_ExternalFunction_O32.o %S/Inputs/ExternalFunction.ll
+# R!N: llvm-rtdyld -triple=mips-unknown-linux -verify -map-section test_ELF_O32.o,.text=0x1000 -map-section test_ELF_ExternalFunction_O32.o,.text=0x10000 -check=%s %/T/test_ELF_O32.o %T/test_ELF_ExternalFunction_O32.o
+
----------------
vkalintiris wrote:
> Do we want to keep these lines (disabled) for future reference?
I'll delete them for now and bring them back when big-endian works.

http://reviews.llvm.org/D10126

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the llvm-commits mailing list