mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 12:12:47 +01:00
28e82b6565
-t is --symbols in llvm-readobj but --section-details (unimplemented) in readelf. The confusing option should not be used since we aim for improving compatibility. Keep just one llvm-readobj -t use case in test/tools/llvm-readobj/symbols.test llvm-svn: 359661
14 lines
460 B
ArmAsm
14 lines
460 B
ArmAsm
// RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | llvm-readobj -S -r --symbols | FileCheck %s
|
|
|
|
// Test that relocations with local symbols are represented as relocations
|
|
// with the section. They should be equivalent, but gas behaves like this.
|
|
|
|
movl foo, %r14d
|
|
foo:
|
|
|
|
// CHECK: Relocations [
|
|
// CHECK: Section {{.*}} .rela.text {
|
|
// CHECK-NEXT: 0x{{[^ ]+}} R_X86_64_32S .text 0x{{[^ ]+}}
|
|
// CHECK-NEXT: }
|
|
// CHECK-NEXT: ]
|