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

50 lines
533 B
ArmAsm

.macro define,name
.text
.type \name,%gnu_indirect_function
\name:
mov pc,lr
.size \name,.-\name
.endm
.macro test_relocs,name
bl \name(PLT)
ldr r4,1f
ldr r4,2f
1:
.word \name(GOT)
2:
.word \name(GOT_PREL)
.data
.word \name
.word \name - .
.text
.endm
.globl f2
.globl f3
.hidden f3
.globl f4
.protected f4
define f1
define f2
define f3
define f4
.data
foo:
.word 0x11223344
.text
.globl arm
arm:
test_relocs foo
test_relocs f1
test_relocs f2
test_relocs f3
test_relocs f4
.size arm,.-arm