Files
RedBear-OS/recipes/tools/gnu-binutils/source/ld/testsuite/ld-nios2/relax_ujmp.d
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

33 lines
744 B
D

#name: NIOS2 relax_ujmp
#as: -relax-all
#ld: --relax -Trelax_jmp.ld
#source: relax_ujmp.s
#objdump: -dr --prefix-addresses
# Test relaxation of unconditional jumps
.*: +file format elf32-littlenios2
Disassembly of section text2:
00000000 <[^>]*> br 00008000 <[^>]*>
00000004 <[^>]*> movhi at,1
00000008 <[^>]*> ori at,at,16
0000000c <[^>]*> jmp at
00000010 <[^>]*> br 0000001c <sym>
00000014 <[^>]*> nop
00000018 <[^>]*> nop
0000001c <sym> nop
Disassembly of section text1:
00008000 <[^>]*> br 00010000 <on_border>
00008004 <[^>]*> movhi at,1
00008008 <[^>]*> ori at,at,16
0000800c <[^>]*> jmp at
#...
00010000 <on_border> br 00010010 <in_range>
00010004 <[^>]*> nop
00010008 <[^>]*> nop
0001000c <[^>]*> nop
00010010 <in_range> nop
#pass