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

36 lines
878 B
D

#name: NIOS2 relax_section
#as: -relax-section
#ld: --relax -Trelax_jmp.ld
#source: relax_section.s
#objdump: -dr --prefix-addresses
# Test relaxation of section
.*: +file format elf32-littlenios2
Disassembly of section text1:
00008000 <[^>]*> bne r2,r3,00008010 <[^>]*>
00008004 <[^>]*> nextpc at
00008008 <[^>]*> addi at,at,32764
0000800c <[^>]*> jmp at
00008010 <[^>]*> bge r2,r3,00008024 <[^>]*>
00008014 <[^>]*> nextpc at
00008018 <[^>]*> addi at,at,32767
0000801c <[^>]*> addi at,at,9
00008020 <[^>]*> jmp at
00008024 <[^>]*> bne r2,r3,00008030 <in_range>
00008028 <[^>]*> nop
0000802c <[^>]*> nop
00008030 <in_range> nop
#...
00010000 <[^>]*> br 00008030 <in_range>
00010004 <just_out_of_range> nop
00010008 <[^>]*> nop
0001000c <[^>]*> nop
00010010 <[^>]*> nop
00010014 <[^>]*> nop
00010018 <[^>]*> nop
0001001c <[^>]*> nop
00010020 <farther_out_of_range> nop
#pass