Files
RedBear-OS/recipes/tools/gnu-binutils/source/binutils/testsuite/binutils-all/testranges-ia64.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

58 lines
1.4 KiB
ArmAsm

# Test .debug_info can reference .debug_ranges entries without ordering the
# offsets strictly as increasing.
.text
start:
.byte 1
sub:
.byte 2
end:
.section .debug_ranges,"",@progbits
range:
range_sub:
data4.ua @secrel(sub), @secrel(end)
data4.ua 0, 0 /* range terminator */
range_cu:
data4.ua @secrel(start), @secrel(end)
data4.ua 0, 0 /* range terminator */
.section .debug_info,"",@progbits
data4.ua debugE - debugS /* Length of Compilation Unit Info */
debugS:
.short 0x2 /* DWARF version number */
data4.ua @secrel(abbrev0) /* Offset Into Abbrev. Section */
.byte 0x4 /* Pointer Size (in bytes) */
.uleb128 0x1 /* (DIE (0xb) DW_TAG_compile_unit) */
data4.ua range_cu - range /* DW_AT_ranges */
.uleb128 0x2 /* (DIE (0x6d) DW_TAG_subprogram) */
.ascii "A\0" /* DW_AT_name */
data4.ua range_sub - range /* DW_AT_ranges */
debugE:
.section .debug_abbrev,"",@progbits
abbrev0:
.uleb128 0x1 /* (abbrev code) */
.uleb128 0x11 /* (TAG: DW_TAG_compile_unit) */
.byte 0x0 /* DW_children_no */
.uleb128 0x55 /* (DW_AT_ranges) */
.uleb128 0x6 /* (DW_FORM_data4) */
.byte 0x0
.byte 0x0
.uleb128 0x2 /* (abbrev code) */
.uleb128 0x2e /* (TAG: DW_TAG_subprogram) */
.byte 0x0 /* DW_children_no */
.uleb128 0x3 /* (DW_AT_name) */
.uleb128 0x8 /* (DW_FORM_string) */
.uleb128 0x55 /* (DW_AT_ranges) */
.uleb128 0x6 /* (DW_FORM_data4) */
.byte 0x0
.byte 0x0
.byte 0x0 /* abbrevs terminator */