mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
a5a68b8d26
The patch supports common STV_xxx visibility flags and MIPS specific STO_MIPS_xxx flags. Differential Revision: http://reviews.llvm.org/D18447 llvm-svn: 264300
26 lines
663 B
Plaintext
26 lines
663 B
Plaintext
RUN: llvm-readobj -symbols %p/Inputs/st-other.obj.elf-mips \
|
|
RUN: | FileCheck -check-prefix=MREG %s
|
|
RUN: llvm-readobj -symbols %p/Inputs/st-other.obj.elf-mips16 \
|
|
RUN: | FileCheck -check-prefix=M16 %s
|
|
|
|
MREG: Name: foo
|
|
MREG-NEXT: Value: 0x0
|
|
MREG-NEXT: Size: 0
|
|
MREG-NEXT: Binding: Global
|
|
MREG-NEXT: Type: None
|
|
MREG-NEXT: Other [ (0x29)
|
|
MREG-NEXT: STO_MIPS_PIC (0x20)
|
|
MREG-NEXT: STO_MIPS_PLT (0x8)
|
|
MREG-NEXT: STV_INTERNAL (0x1)
|
|
MREG-NEXT: ]
|
|
|
|
M16: Name: foo
|
|
M16-NEXT: Value: 0x0
|
|
M16-NEXT: Size: 0
|
|
M16-NEXT: Binding: Global
|
|
M16-NEXT: Type: None
|
|
M16-NEXT: Other [ (0xF1)
|
|
M16-NEXT: STO_MIPS_MIPS16 (0xF0)
|
|
M16-NEXT: STV_INTERNAL (0x1)
|
|
M16-NEXT: ]
|