Files
RedBear-OS/recipes/tools/gnu-binutils/source/ld/testsuite/ld-arm/thumb2-bl-blx-interwork.s
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

88 lines
916 B
ArmAsm

.arch armv7-a
.global _start
.syntax unified
.text
.thumb
.macro do_calls
@ The following four instructions are accepted by gas, but generate
@ meaningless code.
@bl.w arm0
@bl.w arm4
@nop
@bl.w arm0
@bl.w arm4
@nop
blx.w arm0
blx.w arm4
nop
blx.w arm0
blx.w arm4
nop
bl.w thumb0
bl.w thumb2
bl.w thumb4
bl.w thumb6
nop
bl.w thumb0
bl.w thumb2
bl.w thumb4
bl.w thumb6
nop
@ These eight are all accepted by gas, but generate bad code.
@blx.w thumb0
@blx.w thumb2
@blx.w thumb4
@blx.w thumb6
@nop
@blx.w thumb0
@blx.w thumb2
@blx.w thumb4
@blx.w thumb6
.endm
.thumb_func
.align 3
_start:
do_calls
.arm
.align 3
arm0:
bx lr
.align 3
nop
arm4:
bx lr
.thumb
.thumb_func
.align 3
thumb0:
bx lr
.thumb_func
.align 3
nop
thumb2:
bx lr
.thumb_func
.align 3
nop
nop
thumb4:
bx lr
.thumb_func
.align 3
nop
nop
nop
thumb6:
bx lr
backwards:
do_calls