Files
RedBear-OS/recipes/tools/gnu-binutils/source/ld/testsuite/ld-pe/pr26659-weak-undef-sym.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

39 lines
1013 B
ArmAsm

.text
.globl foo
.def foo; .scl 2; .type 32; .endef
foo:
pushq %rbp
movq %rsp, %rbp
subq $32, %rsp
movl %ecx, 16(%rbp)
movq .refptr.bar1(%rip), %rax
testq %rax, %rax
je .L2
call bar1
.L2:
movq .refptr.bar2(%rip), %rax
testq %rax, %rax
je .L3
call bar2
.L3:
movl 16(%rbp), %eax
imull %eax, %eax
addq $32, %rsp
popq %rbp
ret
.weak bar2
.weak bar1
.def bar1; .scl 2; .type 32; .endef
.def bar2; .scl 2; .type 32; .endef
.section .rdata$.refptr.bar2, "dr"
.globl .refptr.bar2
.linkonce discard
.refptr.bar2:
.quad bar2
.section .rdata$.refptr.bar1, "dr"
.globl .refptr.bar1
.linkonce discard
.refptr.bar1:
.quad bar1