CodeQL / Analyze (actions) (push) Canceled after 0s
CodeQL / Analyze (python) (push) Canceled after 0s
pre-commit / pre-commit (push) Canceled after 0s
Multi-Arch CI / setup (push) Canceled after 0s
Publish build_manylinux_x86_64 images / publish_build_manylinux_x86_64 (push) Canceled after 0s
Setup (Multi-Arch) / setup (push) Canceled after 0s
Multi-Arch CI / Linux::${{ fromJSON(needs.setup.outputs.linux_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubi10 image / publish_no_rocm_image_ubi10 (push) Canceled after 0s
Multi-Arch CI / Windows::${{ fromJSON(needs.setup.outputs.windows_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Multi-Arch CI / Manifest Diff (push) Canceled after 0s
TheRock Manifest Diff Report / Generate Manifest Diff Report (push) Canceled after 0s
Multi-Arch CI / CI Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_ocl_rt images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_rocgdb images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Unit Tests / Unit Tests :: ubuntu-24.04 (push) Canceled after 0s
Unit Tests / Unit Tests :: windows-2022 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_media (push) Canceled after 0s
Unit Tests / Unit Tests Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_openmpi (push) Canceled after 0s
50 lines
1.9 KiB
ArmAsm
50 lines
1.9 KiB
ArmAsm
# REQUIRES: mips
|
|
# Check R_MIPS_26 relocation handling in case of N64 ABIs.
|
|
|
|
# RUN: echo "SECTIONS { \
|
|
# RUN: . = 0x10000; .text ALIGN(0x10000) : { *(.text) } \
|
|
# RUN: . = 0x30000; .data : { *(.data) } \
|
|
# RUN: }" > %t.script
|
|
|
|
# RUN: llvm-mc -filetype=obj -triple=mips64-unknown-linux \
|
|
# RUN: %S/Inputs/mips-dynamic.s -o %t-so.o
|
|
# RUN: ld.lld %t-so.o -shared -soname=t.so -o %t.so
|
|
# RUN: llvm-mc -filetype=obj -triple=mips64-unknown-linux %s -o %t.o
|
|
# RUN: ld.lld %t.o %t.so -script %t.script -o %t.exe
|
|
# RUN: llvm-objdump --no-print-imm-hex -d --no-show-raw-insn %t.exe \
|
|
# RUN: | FileCheck %s --check-prefixes=CHECK,DEFAULT
|
|
# RUN: ld.lld %t-so.o -shared -soname=t.so -o %t.so -z hazardplt
|
|
# RUN: ld.lld %t.o %t.so -script %t.script -o %t.exe -z hazardplt
|
|
# RUN: llvm-objdump --no-print-imm-hex -d --no-show-raw-insn %t.exe \
|
|
# RUN: | FileCheck %s --check-prefixes=CHECK,HAZARDPLT
|
|
|
|
# CHECK: Disassembly of section .text:
|
|
# CHECK-EMPTY:
|
|
# CHECK-NEXT: <__start>:
|
|
# CHECK-NEXT: 20000: jal 0x20030
|
|
# CHECK-NEXT: 20004: nop
|
|
# CHECK-EMPTY:
|
|
# CHECK-NEXT: Disassembly of section .plt:
|
|
# CHECK-EMPTY:
|
|
# CHECK-NEXT: <.plt>:
|
|
# CHECK-NEXT: 20010: lui $14, 3
|
|
# CHECK-NEXT: 20014: ld $25, 8($14)
|
|
# CHECK-NEXT: 20018: addiu $14, $14, 8
|
|
# CHECK-NEXT: 2001c: subu $24, $24, $14
|
|
# CHECK-NEXT: 20020: move $15, $ra
|
|
# CHECK-NEXT: 20024: srl $24, $24, 3
|
|
# DEFAULT: 20028: jalr $25
|
|
# HAZARDPLT: 20028: jalr.hb $25
|
|
# CHECK-NEXT: 2002c: addiu $24, $24, -2
|
|
# CHECK-NEXT: 20030: lui $15, 3
|
|
# CHECK-NEXT: 20034: ld $25, 24($15)
|
|
# DEFAULT: 20038: jr $25
|
|
# HAZARDPLT: 20038: jr.hb $25
|
|
# CHECK-NEXT: 2003c: daddiu $24, $15, 24
|
|
|
|
.text
|
|
.option pic0
|
|
.global __start
|
|
__start:
|
|
jal foo0
|