Files
RedBear-OS/recipes/tools/gnu-binutils/source/ld/testsuite/ld-sh/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

62 lines
753 B
ArmAsm

.text
.globl _foo
.type _foo, %function
_foo:
mov.l r12,@-r15
sts.l pr,@-r15
mov.l 1f,r12
mov.l @r12,r12
mov.l 2f,r0
mov.l @(r0,r12),r12
mov.l 3f,r0
mov.l @(r0,r12),r1
mov.l @r1,r2
add #1,r2
mov.l r2,@r1
mov.l 4f,r0
bsrf r0
nop
.Lb4:
mov.l 5f,r0
bsrf r0
nop
.Lb5:
mov.l 6f,r0
bsrf r0
nop
.Lb6:
lds.l @r15+,pr
rts
mov.l @r15+,r12
.align 2
1: .long ___GOTT_BASE__
2: .long ___GOTT_INDEX__
3: .long x@GOT
4: .long _slocal - .Lb4
5: .long _sglobal@PLT - (.Lb5 - .)
6: .long _sexternal@PLT - (.Lb6 - .)
.size _foo, .-_foo
.type _slocal, %function
_slocal:
rts
nop
.size _slocal, .-_slocal
.globl _sglobal
.type _sglobal, %function
_sglobal:
rts
nop
.size _sglobal, .-_sglobal
.data
.4byte _slocal
.comm x,4,4