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] - Blame information for rev 853

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

Line No. Rev Author Line
1 38 julius
;# Main file, x.s, with the program (_start) referring to two
2
;# linkonce functions fn and fn2.  The functions fn and fn2 are
3
;# supposed to be equivalent of C++ template instantiations; the
4
;# main file instantiates fn.  There's the equivalent of an FDE
5
;# entry in .eh_frame, referring to fn via a local label.
6
 
7
 .text
8
 .global _start
9
_start:
10
 .long fn
11
 .long fn2
12
 
13
 .section .gnu.linkonce.t.fn,"ax",@progbits
14
 .weak fn
15
 .type fn,@function
16
fn:
17
L:a:
18
 .long 1
19
 .long 2
20
L:b:
21
 .size fn,L:b-L:a
22
 
23
 .section .eh_frame,"aw",@progbits
24
 .long 2
25
 .long L:a
26
 .long L:b-L:a

powered by: WebSVN 2.1.0

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