OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [binutils-2.18.50/] [ld/] [testsuite/] [ld-mmix/] [x.s] - Rev 825

Go to most recent revision | Compare with Previous | Blame | View Log

;# 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.  There's the equivalent of an FDE
;# entry in .eh_frame, referring to fn via a local label.
 
 .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 .eh_frame,"aw",@progbits
 .long 2
 .long L:a
 .long L:b-L:a
 

Go to most recent revision | Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.