1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 20:23:11 +01:00
llvm-mirror/test/tools/llvm-readobj/mips-plt.test
Simon Atanasyan a847de6456 [llvm-readobj] Print MIPS PLT table
Now the -mips-plt-got prints both MIPS GOT and PLT tables.

llvm-svn: 241836
2015-07-09 18:23:10 +00:00

35 lines
1.0 KiB
Plaintext

RUN: llvm-readobj -mips-plt-got %p/Inputs/got-plt.exe.elf-mipsel | FileCheck %s
CHECK: PLT GOT {
CHECK-NEXT: Reserved entries [
CHECK-NEXT: Entry {
CHECK-NEXT: Address: 0x410814
CHECK-NEXT: Initial: 0x0
CHECK-NEXT: Purpose: PLT lazy resolver
CHECK-NEXT: }
CHECK-NEXT: Entry {
CHECK-NEXT: Address: 0x410818
CHECK-NEXT: Initial: 0x0
CHECK-NEXT: Purpose: Module pointer
CHECK-NEXT: }
CHECK-NEXT: ]
CHECK-NEXT: Entries [
CHECK-NEXT: Entry {
CHECK-NEXT: Address: 0x41081C
CHECK-NEXT: Initial: 0x4007C0
CHECK-NEXT: Value: 0x0
CHECK-NEXT: Type: Function (0x2)
CHECK-NEXT: Section: Undefined (0x0)
CHECK-NEXT: Name: puts@GLIBC_2.0 (71)
CHECK-NEXT: }
CHECK-NEXT: Entry {
CHECK-NEXT: Address: 0x410820
CHECK-NEXT: Initial: 0x4007C0
CHECK-NEXT: Value: 0x0
CHECK-NEXT: Type: Function (0x2)
CHECK-NEXT: Section: Undefined (0x0)
CHECK-NEXT: Name: __libc_start_main@GLIBC_2.0 (53)
CHECK-NEXT: }
CHECK-NEXT: ]
CHECK-NEXT: }