mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
28e82b6565
-t is --symbols in llvm-readobj but --section-details (unimplemented) in readelf. The confusing option should not be used since we aim for improving compatibility. Keep just one llvm-readobj -t use case in test/tools/llvm-readobj/symbols.test llvm-svn: 359661
20 lines
415 B
ArmAsm
20 lines
415 B
ArmAsm
@ Check the value of st_other for thumb function.
|
|
|
|
@ ARM does not define any st_other flags for thumb function. The value
|
|
@ for st_other should always be 0.
|
|
|
|
@ RUN: llvm-mc < %s -triple thumbv5-linux-gnueabi -filetype=obj -o - \
|
|
@ RUN: | llvm-readobj --symbols | FileCheck %s
|
|
|
|
.syntax unified
|
|
.text
|
|
.align 2
|
|
.thumb_func
|
|
.global main
|
|
.type main,%function
|
|
main:
|
|
bx lr
|
|
|
|
@ CHECK: Name: main
|
|
@ CHECK: Other: 0
|