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

29 lines
398 B
ArmAsm

.text
.type selector, %function
foo:
movl $0, %eax
ret
selector:
.ifdef __x86_64__
leaq foo(%rip), %rax
.else
leal foo@GOTOFF(%eax), %eax
.endif
ret
.type selector, %gnu_indirect_function
.globl _start
_start:
.ifdef __x86_64__
movabs ptr, %rax
call *%rax
.else
mov ptr, %eax
call *%eax
.endif
ret
.data
.type ptr, @object
ptr:
.dc.a foo
.section .note.GNU-stack,"",@progbits