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

51 lines
736 B
ArmAsm

.text
.type foo_resolver, @function
foo_resolver:
ret
.size foo_resolver, .-foo_resolver
.globl foo1
.type foo1, %gnu_indirect_function
.set foo1, foo_resolver
.globl foo2
.type foo2, %gnu_indirect_function
.set foo2, foo_resolver
.globl foo3
.type foo3, %gnu_indirect_function
.set foo3, foo_resolver
.globl bar
.type bar, @function
bar:
.L1:
auipc x1, %got_pcrel_hi (foo1)
.ifdef __64_bit__
ld x1, %pcrel_lo (.L1) (x1)
.else
lw x1, %pcrel_lo (.L1) (x1)
.endif
call foo1
call foo1@plt
.L2:
auipc x2, %got_pcrel_hi (foo2)
.ifdef __64_bit__
ld x2, %pcrel_lo (.L2) (x2)
.else
lw x2, %pcrel_lo (.L2) (x2)
.endif
ret
.size bar, .-bar
.data
foo3_addr:
.ifdef __64_bit__
.quad foo3
.else
.long foo3
.endif