mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-02 10:21:54 +00:00
b2d3b0af04
We use both -long-option and --long-option in tests. Switch to --long-option for consistency. In the "llvm-readelf" mode, -long-option is discouraged as it conflicts with grouped short options and it is not accepted by GNU readelf. While updating the tests, change llvm-readobj -s to llvm-readobj -S to reduce confusion ("s" is --section-headers in llvm-readobj but --symbols in llvm-readelf). llvm-svn: 359649
14 lines
443 B
ArmAsm
14 lines
443 B
ArmAsm
// REQUIRES: x86-registered-target
|
|
// RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | not llvm-readobj -r - 2>&1 | FileCheck %s
|
|
|
|
// CHECK: error: malformed sleb128, extends past end
|
|
|
|
.section .rela.dyn, "a", @0x60000001
|
|
.ascii "APS2"
|
|
.sleb128 4 // Number of relocations
|
|
.sleb128 0 // Initial offset
|
|
|
|
.sleb128 2 // Number of relocations in group
|
|
.sleb128 2 // RELOCATION_GROUPED_BY_OFFSET_DELTA_FLAG
|
|
.sleb128 8 // offset delta
|