xref: /llvm-project-15.0.7/lld/test/ELF/mips-nonalloc.s (revision 052d95a6)
  • Home
  • History
  • Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Check reading addends for relocations in non-allocatable sections.
2
3# RUN: llvm-mc -filetype=obj -triple=mips-unknown-linux %s -o %t1.o
4# RUN: llvm-mc -filetype=obj -triple=mips-unknown-linux \
5# RUN:         %S/Inputs/mips-nonalloc.s -o %t2.o
6# RUN: ld.lld %t1.o %t2.o -o %t.exe
7# RUN: llvm-objdump -s %t.exe | FileCheck %s
8
9# REQUIRES: mips
10
11# CHECK:      Contents of section .debug_info:
12# CHECK-NEXT:  0000 ffffffff 00020000 00020000
13#                            ^--------^-- __start
14
15  .global __start
16__start:
17  nop
18
19.section .debug_info
20  .word 0xffffffff
21  .word __start
22

served by {OpenGrok

Last Index Update: Fri May 15 20:09:11 GMT 2026