ff4ff35918
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.
47 lines
697 B
ArmAsm
47 lines
697 B
ArmAsm
.section ".tbss", "awT", @nobits
|
|
.globl bg1, bg2, bg3, bg4, bg5, bg6, bg7, bg8
|
|
bg1: .space 4
|
|
bg2: .space 4
|
|
bg3: .space 4
|
|
bg4: .space 4
|
|
bg5: .space 4
|
|
bg6: .space 4
|
|
bg7: .space 4
|
|
bg8: .space 4
|
|
bl1: .space 4
|
|
bl2: .space 4
|
|
bl3: .space 4
|
|
bl4: .space 4
|
|
bl5: .space 4
|
|
bl6: .space 4
|
|
bl7: .space 4
|
|
bl8: .space 4
|
|
|
|
.text
|
|
.globl _start
|
|
.ent _start
|
|
_start:
|
|
rduniq
|
|
mov $0, $9
|
|
|
|
/* IE */
|
|
ldq $1, sG2($gp) !gottprel
|
|
addq $1, $9, $1
|
|
|
|
/* IE against global symbol in exec */
|
|
ldq $1, bl1($gp) !gottprel
|
|
addq $1, $9, $1
|
|
|
|
/* LE */
|
|
lda $1, sg1($9) !tprel
|
|
lda $1, bl2+2($9) !tprel
|
|
|
|
ldah $1, sh2+3($9) !tprelhi
|
|
lda $1, sh2+3($1) !tprello
|
|
|
|
ldq $1, bl2+4($gp) !gottprel
|
|
addq $1, $9, $1
|
|
|
|
ret
|
|
.end _start
|