brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.2 KiB · c516688 Raw
51 lines · plain
1# The effects of .ent on the .pdr section are tested in mips-pdr*.s. Test2# everything else here.3#4# RUN: llvm-mc -mcpu=mips32 -triple mips-unknown-unknown %s | \5# RUN:     FileCheck -check-prefix=ASM %s6# RUN: llvm-mc -filetype=obj -mcpu=mips32 -triple mips-unknown-unknown %s | \7# RUN:     llvm-readobj --symbols - | \8# RUN:     FileCheck -check-prefixes=OBJ,OBJ-32 %s9#10# RUN: llvm-mc -mcpu=mips32 -mattr=micromips -triple mips-unknown-unknown %s | \11# RUN:     FileCheck -check-prefix=ASM %s12# RUN: llvm-mc -filetype=obj -mcpu=mips32 -mattr=micromips \13# RUN:     -triple mips-unknown-unknown %s | \14# RUN:     llvm-readobj --symbols - | \15# RUN:     FileCheck -check-prefixes=OBJ,OBJ-MM %s16#17    .ent a18a:19 20# ASM: .ent a21# ASM: a:22 23# OBJ:     Name: a24# OBJ:     Value: 0x025# OBJ:     Size: 026# OBJ:     Binding: Local27# OBJ:     Type: Function28# OBJ:     Other: 029# OBJ:     Section: .text30# OBJ: }31 32    .ent b33b:34    nop35    nop36    .end b37 38# ASM: .ent b39# ASM: b:40 41# OBJ:     Name: b42# OBJ:     Value: 0x043# OBJ-32:  Size: 844# FIXME: microMIPS uses the 4-byte nop instead of the 2-byte nop.45# OBJ-MM:  Size: 846# OBJ:     Binding: Local47# OBJ:     Type: Function48# OBJ:     Other: 049# OBJ:     Section: .text50# OBJ: }51