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.
28 lines
421 B
ArmAsm
28 lines
421 B
ArmAsm
.text
|
|
.globl _start
|
|
_start:
|
|
1: movabsq $_GLOBAL_OFFSET_TABLE_-1b, %r11
|
|
pushq %rbx
|
|
pushq %rbx
|
|
leaq 1b(%rip), %rbx
|
|
addq %r11, %rbx
|
|
|
|
/* LD, -mcmodel=large */
|
|
leaq foo@tlsld(%rip), %rdi
|
|
movabsq $__tls_get_addr@pltoff, %rax
|
|
addq %rbx, %rax
|
|
call *%rax
|
|
|
|
movl foo@dtpoff(%rax), %eax
|
|
|
|
popq %rbx
|
|
popq %rbx
|
|
ret
|
|
.globl foo
|
|
.section .tdata,"awT",@progbits
|
|
.align 4
|
|
.type foo, @object
|
|
.size foo, 4
|
|
foo:
|
|
.long 100
|