Files
derek.holloway 7502bf64a4
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
Flatten subprojects into a single base monorepo
2026-09-02 16:34:47 -07:00

49 lines
1.1 KiB
ArmAsm

# REQUIRES: mips
# Check number of redundant entries in the local part of MIPS GOT.
# RUN: llvm-mc -filetype=obj -triple=mips-unknown-linux %s -o %t.o
# RUN: ld.lld %t.o -shared -o %t.so
# RUN: llvm-readelf -s -A %t.so | FileCheck %s
# CHECK: Symbol table '.symtab'
# CHECK: {{.*}}: [[VAL:[0-9a-f]+]] {{.*}} glb1
# CHECK: Primary GOT:
# CHECK: Local entries:
# CHECK-NEXT: Address Access Initial
# CHECK-NEXT: {{.*}} -32744(gp) 00020000
# CHECK-NEXT: {{.*}} -32740(gp) 00030000
# CHECK-NEXT: {{.*}} -32736(gp) 00040000
# CHECK-NEXT: {{.*}} -32732(gp) [[VAL]]
# CHECK-NOT: {{.*}} -32728(gp)
.text
.globl foo
foo:
lw $t0, %got(loc1)($gp)
addi $t0, $t0, %lo(loc1)
lw $t0, %got(loc2)($gp)
addi $t0, $t0, %lo(loc2)
lw $t0, %got(loc3)($gp)
addi $t0, $t0, %lo(loc3)
lw $t0, %got(loc4)($gp)
addi $t0, $t0, %lo(loc4)
lw $t0, %got(glb1)($gp)
lw $t0, %got(glb1)($gp)
.section .data.1,"aw",%progbits
loc1:
.space 0x10000
loc2:
.word 0
loc3:
.word 0
.global glb1
.hidden glb1
glb1:
.word 0
.section .data.2,"aw",%progbits
loc4:
.word 0