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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [binutils-2.20.1/] [gas/] [testsuite/] [gas/] [mmix/] [err-bpo6.s] - Blame information for rev 205

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

Line No. Rev Author Line
1 205 julius
% { dg-do assemble { target mmix-*-* } }
2
 
3
# Test that we handle COMM-type symbols with base-plus-offset relocs, but
4
# that we don't merge ones that may be separately merged with other
5
# symbols at link-time.  Likewise for weak symbols.
6
 .comm comm_symbol1,4,4
7
 .lcomm comm_symbol3,4
8
 GREG comm_symbol1
9
 GREG comm_symbol3
10
 GREG xx
11
 .weak xx
12
xx:
13
 LDA $47,yy             % { dg-error "no suitable GREG definition" "" }
14
 LDA $46,xx
15
 LDA $42,comm_symbol1
16
 LDA $43,comm_symbol2   % { dg-error "no suitable GREG definition" "" }
17
 LDA $44,comm_symbol3
18
 LDA $45,comm_symbol4
19
yy:
20
 .comm comm_symbol2,4,4
21
 .lcomm comm_symbol4,4

powered by: WebSVN 2.1.0

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