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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [binutils-2.20.1/] [ld/] [testsuite/] [ld-mmix/] [x.s] - Blame information for rev 205

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 205 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.  An exception-table-lookalike entry
5
;# refers to fn via a local label.  We use .gcc_except_table as we
6
;# can't be bothered to produce syntactically valid .eh_frame contents
7
;# and there's no option to turn off warning messages for invalid
8
;# contents.
9
 
10
 .text
11
 .global _start
12
_start:
13
 .long fn
14
 .long fn2
15
 
16
 .section .gnu.linkonce.t.fn,"ax",@progbits
17
 .weak fn
18
 .type fn,@function
19
fn:
20
L:a:
21
 .long 1
22
 .long 2
23
L:b:
24
 .size fn,L:b-L:a
25
 
26
 .section .gcc_except_table,"aw",@progbits
27
 .long 2
28
 .long L:a
29
 .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.