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
51 lines
1.6 KiB
ArmAsm
51 lines
1.6 KiB
ArmAsm
// REQUIRES: arm
|
|
// RUN: llvm-mc -arm-add-build-attributes -filetype=obj -triple=armv6-none-linux-gnueabi %s -o %t
|
|
// RUN: echo "SECTIONS { \
|
|
// RUN: .callee1 0x100004 : { *(.callee_low) } \
|
|
// RUN: .caller 0x500000 : { *(.text) } \
|
|
// RUN: .callee2 0x900004 : { *(.callee_high) } } " > %t.script
|
|
// RUN: ld.lld %t --script %t.script -o %t2
|
|
// RUN: llvm-objdump -d --triple=armv6-none-linux-gnueabi %t2 | FileCheck %s
|
|
|
|
// On older Arm Architectures such as v5 and v6 the Thumb BL and BLX relocation
|
|
// uses a slightly different encoding that has a lower range. These relocations
|
|
// are at the extreme range of what is permitted.
|
|
.thumb
|
|
.text
|
|
.syntax unified
|
|
.cpu arm1176jzf-s
|
|
.globl _start
|
|
.type _start,%function
|
|
_start:
|
|
bl thumbfunc
|
|
bl armfunc
|
|
bx lr
|
|
|
|
.section .callee_low, "ax", %progbits
|
|
.globl thumbfunc
|
|
.type thumbfunc, %function
|
|
thumbfunc:
|
|
bx lr
|
|
// CHECK: Disassembly of section .callee1:
|
|
// CHECK-EMPTY:
|
|
// CHECK-NEXT: <thumbfunc>:
|
|
// CHECK-NEXT: 100004: 4770 bx lr
|
|
// CHECK-EMPTY:
|
|
// CHECK-NEXT: Disassembly of section .caller:
|
|
// CHECK-EMPTY:
|
|
// CHECK-NEXT: <_start>:
|
|
// CHECK-NEXT: 500000: f400 f800 bl 0x100004 <thumbfunc>
|
|
// CHECK-NEXT: 500004: f3ff effe blx 0x900004 <armfunc>
|
|
// CHECK-NEXT: 500008: 4770 bx lr
|
|
|
|
.section .callee_high, "ax", %progbits
|
|
.arm
|
|
.globl armfunc
|
|
.type armfunc, %function
|
|
armfunc:
|
|
bx lr
|
|
// CHECK: Disassembly of section .callee2:
|
|
// CHECK-EMPTY:
|
|
// CHECK-NEXT: <armfunc>:
|
|
// CHECK-NEXT: 900004: e12fff1e bx lr
|