mirror of
https://github.com/RPCS3/llvm.git
synced 2026-07-21 03:05:26 -04:00
Support printing relocations in files with no section table.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@242998 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -35,3 +35,15 @@ RUN: %p/Inputs/hello-world.elf-x86-64 | FileCheck %s --check-prefix=DYN
|
||||
// DYN-NEXT: Addend: 0x0
|
||||
// DYN-NEXT: }
|
||||
// DYN-NEXT: }
|
||||
|
||||
RUN: llvm-readobj -dyn-relocations -expand-relocs \
|
||||
RUN: %p/Inputs/rel-no-sec-table.elf-x86-64 | FileCheck %s --check-prefix=DYN2
|
||||
|
||||
// DYN2: Dynamic Relocations {
|
||||
// DYN2-NEXT: Relocation {
|
||||
// DYN2-NEXT: Offset: 0x12F0
|
||||
// DYN2-NEXT: Type: R_X86_64_GLOB_DAT (6)
|
||||
// DYN2-NEXT: Symbol: g
|
||||
// DYN2-NEXT: Addend: 0x0
|
||||
// DYN2-NEXT: }
|
||||
// DYN2-NEXT: }
|
||||
|
||||
Reference in New Issue
Block a user