ff4ff35918
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.
33 lines
570 B
ArmAsm
33 lines
570 B
ArmAsm
# expect copy relocation for all these scenarios.
|
|
.global p
|
|
.global q
|
|
.global r
|
|
.section .data.rel.ro,"aw",%progbits
|
|
.align 3
|
|
.type p, %object
|
|
.size p, 8
|
|
p:
|
|
.xword global_a
|
|
|
|
.type q, %object
|
|
.size q, 8
|
|
q:
|
|
.xword global_b
|
|
|
|
.type r, %object
|
|
.size r, 8
|
|
r:
|
|
# Any pc-rel relocation as no dynamic linker support on AArch64.
|
|
.xword global_c - .
|
|
|
|
.text
|
|
.global main
|
|
main:
|
|
# Symbols are referenced by any other relocation against read-only
|
|
# section.
|
|
movz x0, :abs_g0_nc:global_a
|
|
adrp x1, global_b
|
|
# pc-rel.
|
|
adrp x2, global_d
|
|
add x2, x2, #:lo12:global_c
|