mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-21 18:29:46 +00:00
excluding visibility bits. Mips (Mips16) specific e_header setting. EF_MIPS_ARCH_ASE_M16 needs to be set in the ELF header flags for Mips16. Contributer: Reed Kotler git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175566 91177308-0d34-0410-b5e6-96231b3b80d8
14 lines
381 B
LLVM
14 lines
381 B
LLVM
; This tests value of ELF st_other field for function symbol table entries.
|
|
; For microMIPS value should be equal to STO_MIPS_MICROMIPS.
|
|
|
|
; RUN: llc -filetype=obj -mtriple mipsel-unknown-linux -mcpu=mips32r2 -mattr=+micromips %s -o - | elf-dump --dump-section-data | FileCheck %s
|
|
|
|
define i32 @main() nounwind {
|
|
entry:
|
|
ret i32 0
|
|
}
|
|
|
|
; CHECK: 'main'
|
|
; CHECK: ('st_other', 0x80)
|
|
|