Cross gcc Mailing List Archive

[Prev][Next][Index][Thread]

Local fwd/back label ref's "barf"



   I have some hand-written assembler (68k) that uses a numeric 'local'
   label, and a refernce to it.  Sample below:
   --------------------------------------------------------
   Line#  0124         ..
   Line#  0125         ..
   Line#  0126         subl    #_edata,d0
   Line#  0127         lsrl    #2,d0
   Line#  0128 1:      clrl    a0@+
   Line#  0129         dbra    d0, 1b
   Line#  0130         ..
   Line#  0131         ..
   -------------------------------------------------------
   Actual command line was:

   make
   cc -x assembler-with-cpp -traditional-cpp -D_LOCORE -I. -I../../../../arch
   -I../../../.. -DM68030 -DFPCOPROC -DCC130 -DTIMEZONE="0" -DDST="0" -DDDB 
   -DFFS -DSYSVSEM -DSYSVMSG -DSYSVSHM -DKTRACE -DCOMPAT_43 -DFIFO 
   -DDEVPAGER -DSWAPPAGER -DCOMPAT_SUNOS -D_KERNEL -Dcc130 -c
../../cc130/locore.s
   ../../cc130/locore.s: Assembler messages:
   ../../cc130/locore.s:128: Error: Rest of line ignored. 
   First ignoredcharacter is `1'.
   ../../cc130/locore.s:129: Error: parse error -- statement `dbra d0,1b'
ignored


   I've scanned (not exhaustively) the Changelog (and Changelog.1), NOTES,
   NEWS...practically everywhere and can't find a thing about this error.

   The CYGNUS On-line Technical Reference (which by the way is EXCELLENT!)
   affirms that local numeric labels 1...9 followed by a ":" in the 
   form N: is OK and only states that the current
   'C' compiler doesn't emit these guys.

   These local numeric lables have been around for a while, and worked just
   fine under the 1.92-ish assembler. Now......

   What gives?

   Randy



Home | Subject Index | Thread Index