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

60 lines
792 B
ArmAsm

.syntax unified
.arch armv6t2
.macro define,name,type
.type \name,%gnu_indirect_function
\type
\name:
mov pc,lr
.size \name,.-\name
.endm
.macro test_relocs,name,width
bl\width \name
b\width \name
beq\width \name
ldr r4,1f
ldr r4,2f
1:
.word \name(GOT)
2:
.word \name(GOT_PREL)
.endm
.global f1
.global f2
.global f3
.global f4
.hidden f3
.hidden f4
define f1,.arm
define f2,.thumb_func
define f3,.arm
define f4,.thumb_func
.globl _start
.type _start,%function
.arm
_start:
test_relocs foo
test_relocs f1,
test_relocs f2,
.size _start,.-_start
.globl _thumb
.type _thumb,%function
.thumb_func
_thumb:
test_relocs foo
test_relocs f3,.w
test_relocs f4,.w
.size _thumb,.-_thumb
.data
foo:
.word 0x11223344
.word __irel_start
.word __irel_end