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.
21 lines
301 B
ArmAsm
21 lines
301 B
ArmAsm
.text
|
|
.global __tls_get_addr
|
|
.align 2
|
|
.global foo
|
|
.type foo, @function
|
|
foo:
|
|
push lr, gb
|
|
lrw t1, .L2@GOTPC
|
|
grs gb, .L2
|
|
.L2:
|
|
addu gb, gb, t1
|
|
grs a2, .LTLS0
|
|
lrw a3, __tls_get_addr@PLT
|
|
.LTLS0:
|
|
lrw a0, var@TLSGD32
|
|
ldr.w a3, (gb, a3 << 0)
|
|
addu a0, a0, a2
|
|
jsr a3
|
|
ld.w a0, (a0, 0)
|
|
pop lr, gb
|