Files
RedBear-OS/recipes/tools/gnu-binutils/source/ld/testsuite/ld-sparc/vxworks1-lib.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

45 lines
566 B
ArmAsm

.text
.globl foo
.type foo, %function
foo:
save %sp, -104, %sp
sethi %hi(__GOTT_BASE__), %l7
ld [%l7+%lo(__GOTT_BASE__)],%l7
ld [%l7+%lo(__GOTT_INDEX__)],%l7
sethi %hi(x), %g1
or %g1, %lo(x), %g1
ld [%l7+%g1], %g1
ld [%g1], %g2
add %g2, 1, %g2
call slocal, 0
st %g2, [%g1]
call sexternal, 0
nop
call sexternal, 0
nop
ret
restore
.size foo, .-foo
.type slocal, %function
slocal:
retl
nop
.size slocal, .-slocal
.globl sglobal
.type sglobal, %function
sglobal:
retl
nop
.size sglobal, .-sglobal
.data
.4byte slocal
.comm x,4,4