llvm-6502/test/tools/llvm-readobj/mips-plt.test
Simon Atanasyan 13c5e09c6e [llvm-readobj] Print MIPS PLT table
Now the -mips-plt-got prints both MIPS GOT and PLT tables.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@241836 91177308-0d34-0410-b5e6-96231b3b80d8
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: }