Files
RedBear-OS/recipes/tools/gnu-binutils/source/ld/testsuite/ld-x86-64/tlsld3.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

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