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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [binutils-2.18.50/] [gas/] [testsuite/] [gas/] [hppa/] [parse/] [labelbug.s] - Blame information for rev 832

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

Line No. Rev Author Line
1 38 julius
        .code
2
 
3
        .align 4
4
; A comment.  This should not be interpreted as a label, but both of the
5
; following statements should.
6
label_without_colon
7
label_with_colon:
8
 
9
; A problem tege found...
10
; Input scrubbing in gas makes life a real nightmare for assemblers
11
; in which the *position* within a line determines how to interpret
12
; a stream a characters.  These test one particular case where gas
13
; had the tendency to delete the whitespace between the opcode and
14
; operands if a label without a colon began a line, and the operands
15
; started with a non-numeric character.
16
L$1     add %r2,%r2,%r2
17
L$2:    add %r2,%r2,%r2
18
L$3
19
        add %r2,%r2,%r2
20
 
21
L$4     add %r2,%r2,%r2
22
L$5:    add %r2,%r2,%r2
23
L$6
24
        add %r2,%r2,%r2
25
 
26
; An instruction or pseudo-op may begin anywhere after column 0.
27
 b,n label_without_colon

powered by: WebSVN 2.1.0

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