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

53 lines
845 B
ArmAsm

.section ".tbss","awT",@nobits
.p2align 3
pad: .space 8
.global a
a: .space 8
.global b
b: .space 8
.global c
c: .space 8
.global d
d: .space 8
.text
.globl _start
_start:
#Small model OpenPower
addi 3,2,.La@toc
bl __tls_get_addr(.La@tlsgd)
nop
.section .toc,"aw",@progbits
.p2align 3
.La:
.quad a@dtpmod
.quad a@dtprel
.text
#Medium mode ELF
addis 3,2,b@got@tlsgd@ha
addi 3,3,b@got@tlsgd@l
bl __tls_get_addr(b@tlsgd)
nop
#PCrel
pla 3,c@got@tlsgd@pcrel
bl __tls_get_addr@notoc(c@tlsgd)
#All of the above using the same symbol
addis 3,2,.Ld@toc@ha
addi 3,3,.Ld@toc@l
bl __tls_get_addr(.Ld@tlsgd)
nop
.section .toc,"aw",@progbits
.Ld:
.quad d@dtpmod
.quad d@dtprel
.text
addis 3,2,d@got@tlsgd@ha
addi 3,3,d@got@tlsgd@l
bl __tls_get_addr(d@tlsgd)
nop
pla 3,d@got@tlsgd@pcrel
bl __tls_get_addr@notoc(d@tlsgd)