mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-30 17:33:24 +00:00
2ccf523ce7
This patch updates .set mips16 support which affects the ELF ABI and its flags. In addition the patch uses a common interface for both the MipsTargetSteamer and MipsObjectStreamer that the assembler uses for both ELF and ASCII output for these directives. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@199851 91177308-0d34-0410-b5e6-96231b3b80d8
16 lines
426 B
ArmAsm
16 lines
426 B
ArmAsm
// 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 0x50001003
|
|
|
|
// CHECK: Flags [ (0x54001005)
|
|
|
|
.abicalls
|
|
|
|
.option pic0
|
|
|
|
// Set EF_MIPS_ARCH_ASE_M16 (0x04000000)
|
|
.set mips16
|