Files
RedBear-OS/recipes/tools/gnu-binutils/source/ld/testsuite/ld-loongarch-elf/relax-separate-code-overflow.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

22 lines
413 B
ArmAsm

# ld -z separate-code let .text and .rodata in two segment,
# need to consider segment alignment
.text
# first two la.local relax in the second trip, and result in the third
# la.local (relax to pcaddi) overflow
la.local $r12, a
la.local $r12, b
.fill 0x3ff8
# relax in the first trip
la.local $r12, c
.fill 0x1fbfec
a:
.fill 8
b:
.fill 0x1000
d:
.fill 0x1
.section .rodata
c:
.8byte 0x1