brintos

brintos / llvm-project-archived public Read only

0
0
Text · 680 B · 7a450dc Raw
24 lines · plain
1# REQUIRES: mips2# Check reading addends for relocations in non-allocatable sections.3 4# RUN: llvm-mc -filetype=obj -triple=mips-unknown-linux %s -o %t1.o5# RUN: echo '.section .debug_info,"",@0x7000001e; .word __start' | \6# RUN:   llvm-mc -filetype=obj -triple=mips-unknown-linux - -o %t2.o7# RUN: ld.lld %t1.o %t2.o -o %t.exe8# RUN: llvm-objdump -t -s %t.exe | FileCheck %s9 10# CHECK: [[SYM:[0-9a-f]+]] g .text  00000000 __start11 12# CHECK:      Contents of section .debug_info:13# CHECK-NEXT:  0000 ffffffff [[SYM]] [[SYM]]14#                            ^-------^-- __start15 16 17  .global __start18__start:19  nop20 21.section .debug_info,"",@0x7000001e22  .word 0xffffffff23  .word __start24