aboutsummaryrefslogtreecommitdiff
path: root/test/tools/llvm-objcopy/section-index-unsupported.test
blob: 1a69757b4e8574675b259280c30a4095c69715e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# RUN: yaml2obj %s > %t
# RUN: not llvm-objcopy %t %t2 2>&1 >/dev/null | FileCheck %s

!ELF
FileHeader:
  Class:           ELFCLASS64
  Data:            ELFDATA2LSB
  Type:            ET_EXEC
  Machine:         EM_X86_64
Symbols:
  Global:
    - Name:     test
      Index:    0xff05

# CHECK: Symbol 'test' has unsupported value greater than or equal to SHN_LORESERVE: 65285