brintos

brintos / llvm-project-archived public Read only

0
0
Text · 412 B · 0ab6277 Raw
21 lines · plain
1# REQUIRES: mips2# Check linking MIPS code in case of -r linker's option.3 4# RUN: llvm-mc -filetype=obj -triple=mips-unknown-linux %s -o %t.o5# RUN: ld.lld -r -o %t-r.o %t.o6# RUN: llvm-objdump -s -t %t-r.o | FileCheck %s7 8  .text9  .global  __start10__start:11  lw      $t0,%call16(__start)($gp)12foo:13  nop14 15  .section .rodata, "a"16v:17  .gpword foo18 19# CHECK-NOT: Contents of section .got:20# CHECK-NOT: {{.*}} _gp21