diff options
Diffstat (limited to 'llvm/test/MC/Mips/elf_eflags.s')
-rw-r--r-- | llvm/test/MC/Mips/elf_eflags.s | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/llvm/test/MC/Mips/elf_eflags.s b/llvm/test/MC/Mips/elf_eflags.s index c56596444ae..c05772970a7 100644 --- a/llvm/test/MC/Mips/elf_eflags.s +++ b/llvm/test/MC/Mips/elf_eflags.s @@ -1,5 +1,12 @@ // RUN: llvm-mc -filetype=obj -triple mipsel-unknown-linux %s -o -| llvm-readobj -h | FileCheck %s +// The initial value will be set at 0x50001003 and +// we will override that with the negation of 0x2 (option pic0 +// the addition of 0x4 (.abicalls) - .mips_hack_elf_flags 0x50001005 + .mips_hack_elf_flags 0x50001003 // CHECK: Flags [ (0x50001005) + + .abicalls + + .option pic0 |