Files
TheRock/debug-tools/rocgdb/source/ld/testsuite/ld-arm/fdpic-main.s
T
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

87 lines
1.6 KiB
ArmAsm

.arch armv7-r
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 1
.eabi_attribute 18, 4
.file "hello.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type my_local_func, %function
my_local_func:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
bx lr
.size my_local_func, .-my_local_func
.section .text.startup,"ax",%progbits
.align 2
.global _start
.syntax unified
.arm
.fpu softvfp
.type _start, %function
_start:
b main
.global main
.syntax unified
.arm
.fpu softvfp
.type main, %function
main:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
ldr r2, .L4
ldr r3, .L4+4
push {r4, r5, r6, lr}
ldr r5, [r9, r2]
mov r4, r9
ldr r3, [r9, r3]
str r3, [r5]
bl my_shared_func1(PLT)
mov r6, r0
mov r9, r4
ldr r0, [r5]
mov r9, r4
bl my_shared_func2(PLT)
ldr r3, .L4+8
mov r9, r4
add r3, r3, r9
mov r0, r3
str r3, [r5]
mov r9, r4
bl my_shared_func2(PLT)
ldr r3, .L4+12
mov r9, r4
ldr r3, [r9, r3]
ldr r0, [r3]
mov r9, r4
bl my_shared_func2(PLT)
mov r0, r6
mov r9, r4
pop {r4, r5, r6, pc}
.L5:
.align 2
.L4:
.word funcptr(GOT)
.word my_shared_func1(GOTFUNCDESC)
.word my_local_func(GOTOFFFUNCDESC)
.word funcptr2(GOT)
.size main, .-main
.global funcptr2
.comm funcptr,4,4
.section .data.rel,"aw",%progbits
.align 2
.type funcptr2, %object
.size funcptr2, 4
funcptr2:
.word my_shared_func1(FUNCDESC)