Files
RedBear-OS/recipes/tools/gnu-binutils/source/ld/testsuite/ld-pru/relax_ldi32.s
T
vasilito ff4ff35918 feat: track all source trees in git — full fork offline-first model
Red Bear OS is a full fork. All sources must be available from git clone
with zero network access. Removed gitignore rules that excluded fetched
source trees under recipes/*/source/, local/recipes/kde/*/source/,
local/recipes/qt/*/source/, and vendor source trees.

Build artifacts (target/, build/, source.tar, *.o, *.so) remain excluded.

127291 files added — kernel, relibc, base, bootloader, pkgar, all KDE/Qt
frameworks, mesa, wayland, DRM drivers, and every other recipe source.
2026-05-14 10:55:53 +01:00

31 lines
629 B
ArmAsm

# Test LDI32 relaxation
.text
.global _start
_start:
ldi32 r16, long_symbol
__intermediate:
loop __end_loop, r22
ldi32 r16, long_symbol
ldi32 r16, short_symbol
ldi r0, short_symbol
ldi32 r16, short_symbol + 0x10000
ldi32 r16, long_symbol - 0x10000
ldi32 r16, 0x12345678
ldi32 r16, 0x5678
ldi r16, %pmem(__end)
__end_loop:
qba __intermediate
__end:
.data
.4byte __end
.4byte (__end - __intermediate)
.2byte %pmem(__end)
.2byte (__end - __intermediate)
.4byte %pmem(__end - __intermediate)
.4byte %pmem(__intermediate - __end)
.2byte %pmem(__end - __intermediate)
.byte (__end - __intermediate)
.byte 0xaa