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
49 lines
1.5 KiB
ArmAsm
49 lines
1.5 KiB
ArmAsm
# REQUIRES: systemz
|
|
## Verify that R_390_GOTENT optimization is not performed on misaligned symbols.
|
|
|
|
# RUN: llvm-mc -filetype=obj -triple=s390x-unknown-linux %s -o %t.o
|
|
# RUN: ld.lld %t.o -o %t1
|
|
# RUN: llvm-readelf -S -r -x .got -x .got.plt %t1 | FileCheck --check-prefixes=CHECK %s
|
|
# RUN: llvm-objdump --no-print-imm-hex -d %t1 | FileCheck --check-prefix=DISASM %s
|
|
|
|
## We retain one .got entry for the unaligned symbol.
|
|
# CHECK: Name Type Address Off Size ES Flg Lk Inf Al
|
|
# CHECK: .got PROGBITS 00000000010021e0 0001e0 000020 00 WA 0 0 8
|
|
# CHECK-NEXT: .relro_padding NOBITS 0000000001002200 000200 000e00 00 WA 0 0 1
|
|
# CHECK-NEXT: .data PROGBITS 0000000001003200 000200 000006 00 WA 0 0 2
|
|
|
|
# CHECK-LABEL: Hex dump of section '.got':
|
|
# CHECK-NEXT: 0x010021e0 00000000 00000000 00000000 00000000
|
|
# CHECK-NEXT: 0x010021f0 00000000 00000000 00000000 01003205
|
|
|
|
# DISASM: Disassembly of section .text:
|
|
# DISASM: <_start>:
|
|
# DISASM-NEXT: larl %r1, 0x1003200
|
|
# DISASM-NEXT: larl %r1, 0x1003200
|
|
# DISASM-NEXT: lgrl %r1, 0x10021f8
|
|
# DISASM-NEXT: lgrl %r1, 0x10021f8
|
|
|
|
.data
|
|
.globl var_align
|
|
.hidden var_align
|
|
.align 2
|
|
var_align:
|
|
.long 0
|
|
|
|
.data
|
|
.globl var_unalign
|
|
.hidden var_unalign
|
|
.align 2
|
|
.byte 0
|
|
var_unalign:
|
|
.byte 0
|
|
|
|
.text
|
|
.globl _start
|
|
.type _start, @function
|
|
_start:
|
|
lgrl %r1, var_align@GOT
|
|
lgrl %r1, var_align@GOT
|
|
lgrl %r1, var_unalign@GOT
|
|
lgrl %r1, var_unalign@GOT
|