summaryrefslogtreecommitdiff
path: root/test/ELF/mips-elf-flags.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/ELF/mips-elf-flags.s')
-rw-r--r--test/ELF/mips-elf-flags.s4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ELF/mips-elf-flags.s b/test/ELF/mips-elf-flags.s
index 26dc42ded546a..f8f916c9353dd 100644
--- a/test/ELF/mips-elf-flags.s
+++ b/test/ELF/mips-elf-flags.s
@@ -2,7 +2,7 @@
# RUN: llvm-mc -filetype=obj -triple=mips-unknown-linux \
# RUN: %S/Inputs/mips-dynamic.s -o %t-so.o
-# RUN: ld.lld %t-so.o -shared -o %t.so
+# RUN: ld.lld %t-so.o --gc-sections -shared -o %t.so
# RUN: llvm-readobj -h -mips-abi-flags %t.so | FileCheck -check-prefix=SO %s
# RUN: llvm-mc -filetype=obj -triple=mips-unknown-linux %s -o %t.o
@@ -30,7 +30,7 @@
# RUN: | FileCheck -check-prefix=EXE-R6 %s
# RUN: llvm-mc -filetype=obj -triple=mips64-unknown-linux \
-# RUN: -mcpu=octeon %s -o %t.o
+# RUN: -position-independent -mcpu=octeon %s -o %t.o
# RUN: ld.lld %t.o -o %t.exe
# RUN: llvm-readobj -h -mips-abi-flags %t.exe \
# RUN: | FileCheck -check-prefix=OCTEON %s