daily update
[external/binutils.git] / gas / testsuite / gas / tic54x / labels.s
index ac47213..464b6e8 100644 (file)
@@ -1,55 +1,55 @@
-* local labels\r
-* two forms, $[0-9] and label? are allowed     \r
-* Local labels are undefined/reset in one of four ways:\r
-* .newblock\r
-* changing sections            \r
-* entering an include file\r
-* leaving an include file                      \r
-        .global addra, addrb, addrc\r
-label1:        ld      addra,a\r
-       sub     addrb,a\r
-       bc      $1, alt                 ; generates frag! \r
-       ld      addrb, a\r
-       b       $2\r
-$1:    ld      addra,a \r
-$2     add     addrc,a\r
-       .newblock\r
-       bc      $1,alt\r
-       stl     a, addrc\r
-$1     nop     \r
-       \r
-* #1, First definition of local label 'lab'    \r
-       nop\r
-lab?   add     #1,a                    ; reports as line 17?\r
-       b       lab?    \r
-* #2, Included file also defines local label 'lab'     \r
-       .copy labels.inc\r
-* #3, Next definition; exit from .copy clears all locals       \r
-lab?   add     #3,a                    ; reports as line 22?\r
-       b       lab?\r
-* #4, Next definition is within macro; supersedes previous definition while\r
-* within the macro \r
-mac    .macro\r
-lab?   add     #4,a                    ; line 31?\r
-       b       lab?\r
-       .endm\r
-* Macro invocation\r
-       mac\r
-* This reference should resolve to definition #3\r
-after_macro:   \r
-       b       lab?\r
-* Section change clears all definitions\r
-       .sect   new_section\r
-       nop\r
-lab?   add     #5,a\r
-       nop\r
-       nop\r
-       b       lab?\r
-* Newblock directive clears local labels\r
-       .newblock\r
-lab?   add     #6,a\r
-       nop\r
-       nop\r
-       b       lab?                            \r
-       .end\r
-\r
+* local labels
+* two forms, $[0-9] and label? are allowed     
+* Local labels are undefined/reset in one of four ways:
+* .newblock
+* changing sections            
+* entering an include file
+* leaving an include file                      
+        .global addra, addrb, addrc
+label1:        ld      addra,a
+       sub     addrb,a
+       bc      $1, alt                 ; generates frag! 
+       ld      addrb, a
+       b       $2
+$1:    ld      addra,a 
+$2     add     addrc,a
+       .newblock
+       bc      $1,alt
+       stl     a, addrc
+$1     nop     
+       
+* #1, First definition of local label 'lab'    
+       nop
+lab?   add     #1,a                    ; reports as line 17?
+       b       lab?    
+* #2, Included file also defines local label 'lab'     
+       .copy labels.inc
+* #3, Next definition; exit from .copy clears all locals       
+lab?   add     #3,a                    ; reports as line 22?
+       b       lab?
+* #4, Next definition is within macro; supersedes previous definition while
+* within the macro 
+mac    .macro
+lab?   add     #4,a                    ; line 31?
+       b       lab?
+       .endm
+* Macro invocation
+       mac
+* This reference should resolve to definition #3
+after_macro:   
+       b       lab?
+* Section change clears all definitions; it's a CODE section if we see insns
+       .sect   new_section
+       nop
+lab?   add     #5,a
+       nop
+       nop
+       b       lab?
+* Newblock directive clears local labels
+       .newblock
+lab?   add     #6,a
+       nop
+       nop
+       b       lab?                            
+       .end
+