2 # Check reading addends for relocations in non-allocatable sections.
4 # RUN: llvm-mc -filetype=obj -triple=mips-unknown-linux %s -o %t1.o
5 # RUN: echo '.section .debug_info,"",@0x7000001e; .word __start' | \
6 # RUN: llvm-mc -filetype=obj -triple=mips-unknown-linux - -o %t2.o
7 # RUN: ld.lld %t1.o %t2.o -o %t.exe
8 # RUN: llvm-objdump -t -s %t.exe | FileCheck %s
10 # CHECK: [[SYM:[0-9a-f]+]] g .text 00000000 __start
12 # CHECK: Contents of section .debug_info:
13 # CHECK-NEXT: 0000 ffffffff [[SYM]] [[SYM]]
21 .section .debug_info,"",@0x7000001e