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.
72 lines
1.1 KiB
ArmAsm
72 lines
1.1 KiB
ArmAsm
// Test symbol references in .data when used with DT_RELR.
|
|
// Relocations for unaligned sections are currently not packed.
|
|
|
|
.text
|
|
.global _start
|
|
_start:
|
|
nop
|
|
|
|
sym_local:
|
|
nop
|
|
|
|
.global sym_hidden
|
|
.hidden sym_hidden
|
|
sym_hidden:
|
|
nop
|
|
|
|
.global sym_global
|
|
sym_global:
|
|
nop
|
|
|
|
.global sym_global_abs
|
|
.set sym_global_abs, 42
|
|
|
|
.global sym_weak_undef
|
|
.weak sym_weak_undef
|
|
|
|
.section .data.unaligned_local
|
|
unaligned_local:
|
|
.xword sym_local
|
|
|
|
.section .data.unaligned_hidden
|
|
unaligned_hidden:
|
|
.xword sym_hidden
|
|
|
|
.section .data.unaligned_global
|
|
unaligned_global:
|
|
.xword sym_global
|
|
|
|
.section .data.unaligned_DYNAMIC
|
|
unaligned_DYNAMIC:
|
|
.xword _DYNAMIC
|
|
|
|
.section .data.aligned_local
|
|
.p2align 1
|
|
aligned_local:
|
|
.xword sym_local
|
|
|
|
.section .data.aligned_hidden
|
|
.p2align 1
|
|
aligned_hidden:
|
|
.xword sym_hidden
|
|
|
|
.section .data.aligned_global
|
|
.p2align 1
|
|
aligned_global:
|
|
.xword sym_global
|
|
|
|
.section .data.aligned_global_abs
|
|
.p2align 1
|
|
aligned_global_abs:
|
|
.xword sym_global_abs
|
|
|
|
.section .data.aligned_weak_undef
|
|
.p2align 1
|
|
aligned_weak_undef:
|
|
.xword sym_weak_undef
|
|
|
|
.section .data.aligned_DYNAMIC
|
|
.p2align 1
|
|
aligned_DYNAMIC:
|
|
.xword _DYNAMIC
|