URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 38 |
Rev 156 |
;# Main file, x.s, with the program (_start) referring to two
|
;# Main file, x.s, with the program (_start) referring to two
|
;# linkonce functions fn and fn2. The functions fn and fn2 are
|
;# linkonce functions fn and fn2. The functions fn and fn2 are
|
;# supposed to be equivalent of C++ template instantiations; the
|
;# supposed to be equivalent of C++ template instantiations; the
|
;# main file instantiates fn. There's the equivalent of an FDE
|
;# main file instantiates fn. There's the equivalent of an FDE
|
;# entry in .eh_frame, referring to fn via a local label.
|
;# entry in .eh_frame, referring to fn via a local label.
|
|
|
.text
|
.text
|
.global _start
|
.global _start
|
_start:
|
_start:
|
.long fn
|
.long fn
|
.long fn2
|
.long fn2
|
|
|
.section .gnu.linkonce.t.fn,"ax",@progbits
|
.section .gnu.linkonce.t.fn,"ax",@progbits
|
.weak fn
|
.weak fn
|
.type fn,@function
|
.type fn,@function
|
fn:
|
fn:
|
L:a:
|
L:a:
|
.long 1
|
.long 1
|
.long 2
|
.long 2
|
L:b:
|
L:b:
|
.size fn,L:b-L:a
|
.size fn,L:b-L:a
|
|
|
.section .eh_frame,"aw",@progbits
|
.section .eh_frame,"aw",@progbits
|
.long 2
|
.long 2
|
.long L:a
|
.long L:a
|
.long L:b-L:a
|
.long L:b-L:a
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.