2014-01-25 16:06:56 +01:00
|
|
|
// 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)
|
2013-10-05 18:42:21 +02:00
|
|
|
|
2014-01-25 16:06:56 +01:00
|
|
|
.mips_hack_elf_flags 0x50001003
|
2013-10-05 18:42:21 +02:00
|
|
|
|
2014-01-23 00:08:42 +01:00
|
|
|
// CHECK: Flags [ (0x54001005)
|
2014-01-07 00:27:31 +01:00
|
|
|
|
|
|
|
.abicalls
|
|
|
|
|
|
|
|
.option pic0
|
2014-01-25 16:06:56 +01:00
|
|
|
|
|
|
|
// Set EF_MIPS_ARCH_ASE_M16 (0x04000000)
|
2014-01-23 00:08:42 +01:00
|
|
|
.set mips16
|