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.
30 lines
731 B
ArmAsm
30 lines
731 B
ArmAsm
;# Main file, x.s, with the program (_start) referring to two
|
|
;# linkonce functions fn and fn2. The functions fn and fn2 are
|
|
;# supposed to be equivalent of C++ template instantiations; the
|
|
;# main file instantiates fn. An exception-table-lookalike entry
|
|
;# refers to fn via a local label. We use .gcc_except_table as we
|
|
;# can't be bothered to produce syntactically valid .eh_frame contents
|
|
;# and there's no option to turn off warning messages for invalid
|
|
;# contents.
|
|
|
|
.text
|
|
.global _start
|
|
_start:
|
|
.long fn
|
|
.long fn2
|
|
|
|
.section .gnu.linkonce.t.fn,"ax",@progbits
|
|
.weak fn
|
|
.type fn,@function
|
|
fn:
|
|
L:a:
|
|
.long 1
|
|
.long 2
|
|
L:b:
|
|
.size fn,L:b-L:a
|
|
|
|
.section .gcc_except_table,"aw",@progbits
|
|
.long 2
|
|
.long L:a
|
|
.long L:b-L:a
|