Reapply 222538 and update tests to explicitly request small code model
[oota-llvm.git] / test / MC / ELF / cfi-rel-offset2.s
index 360e7b0ea0f5807faaf386adbf3c491bf7b57edd..0ce8d038d9b55ad76409a4a2326b9fb3e5973930 100644 (file)
@@ -1,4 +1,6 @@
-// RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | llvm-readobj -s -sr -sd | FileCheck %s
+// RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - \
+// RUN: -relocation-model=pic -code-model=small \
+// RUN: | llvm-readobj -s -sr -sd | FileCheck %s
 
 f:
        .cfi_startproc