Recommit "rL366894: [yaml2obj] - Allow custom fields for the SHT_UNDEF sections."
[llvm-complete.git] / test / tools / llvm-readobj / elf-packed-relocs-error5.s
blob1c2eb890ac688067ab46d1a29075762619c1880d
1 // REQUIRES: x86-registered-target
2 // RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | not llvm-readobj -r - 2>&1 | FileCheck %s
4 // CHECK: error: relocation group unexpectedly large
6 .section .rela.dyn, "a", @0x60000001
7 .ascii "APS2"
8 .sleb128 4 // Number of relocations
9 .sleb128 0 // Initial offset
11 .sleb128 5 // Number of relocations in group
12 .sleb128 2 // RELOCATION_GROUPED_BY_OFFSET_DELTA_FLAG
13 .sleb128 8 // offset delta