* ld-mmix/x.s, ld-mmix/y.s, ld-mmix/zeroeh.ld,
[deliverable/binutils-gdb.git] / ld / testsuite / ld-mmix / x.s
CommitLineData
3c3bdf30
NC
1;# 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
dd52c6de
HPN
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.
3c3bdf30
NC
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
19fn:
20L:a:
21 .long 1
22 .long 2
23L:b:
24 .size fn,L:b-L:a
25
dd52c6de 26 .section .gcc_except_table,"aw",@progbits
3c3bdf30
NC
27 .long 2
28 .long L:a
29 .long L:b-L:a
This page took 0.326886 seconds and 4 git commands to generate.