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.
17 lines
297 B
ArmAsm
17 lines
297 B
ArmAsm
# Test for Nios II 32-bit, 16 and 8-bit relocations
|
|
|
|
.set noat
|
|
.set some_other_sym, 0x1000
|
|
.text
|
|
.global _start
|
|
_start:
|
|
# signed 16-bit relocation
|
|
addi r1, r1, some_sym
|
|
addi r1, r1, min
|
|
addi r1, r1, max
|
|
addi r1, r1, some_sym + some_other_sym + 1
|
|
addi r1, r1, some_sym - some_other_sym + 1
|
|
|
|
|
|
|