1 # Check that llvm-readobj --mips-plt-got correctly shows .got section
2 # content if there are some other zero-sized sections with the same
3 # address as the .got. got-over.exe.elf-mips has zero-sized .data
4 # section at the same offset .got section.
6 RUN: llvm-readobj --mips-plt-got %p/Inputs/got-over.exe.elf-mips | FileCheck %s
8 GOT-OBJ: Cannot find PLTGOT dynamic table tag.
11 CHECK-NEXT: Canonical gp value: 0x418270
12 CHECK-NEXT: Reserved entries [
14 CHECK-NEXT: Address: 0x410280
15 CHECK-NEXT: Access: -32752
16 CHECK-NEXT: Initial: 0x0
17 CHECK-NEXT: Purpose: Lazy resolver
20 CHECK-NEXT: Address: 0x410284
21 CHECK-NEXT: Access: -32748
22 CHECK-NEXT: Initial: 0x80000000
23 CHECK-NEXT: Purpose: Module pointer (GNU extension)
26 CHECK-NEXT: Local entries [
28 CHECK-NEXT: Address: 0x410288
29 CHECK-NEXT: Access: -32744
30 CHECK-NEXT: Initial: 0x4001B8
33 CHECK-NEXT: Global entries [
35 CHECK-NEXT: Address: 0x41028C
36 CHECK-NEXT: Access: -32740
37 CHECK-NEXT: Initial: 0x0
38 CHECK-NEXT: Value: 0x0
39 CHECK-NEXT: Type: None
40 CHECK-NEXT: Section: Undefined
41 CHECK-NEXT: Name: _foo
44 CHECK-NEXT: Number of TLS and multi-GOT entries: 0