Introduce and use L() for mips local labels

Alexandre Oliva aoliva@redhat.com
Fri Mar 14 01:52:00 GMT 2003


This patch introduces the L() macro in the mips unix port, and uses it
in all assembly code that formerly used non-standard notations for
local labels, sometimes making them non-local.  It also changes some
(pointless?) uses of .cpsetup to SETUP_GP, in preparation for n32 and
n64, in which .cpsetup must not be used.  Since SETUP_GP, an
ABI-specified macro, expands to .cpsetup in o32, and will expand to
nothing on n32 and n64, we'd better be using them right away.
Including both sysdep.h and sys/asm.h caused warnings because END()
was defined differently, so I went ahead and updated the definition in
sysdep.h with that in sys/asm.h.  Ok to install?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: use-L-for-local-labels.patch
Type: text/x-patch
Size: 36427 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20030314/fea6eee2/attachment.bin>
-------------- next part --------------

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                 aoliva@{redhat.com, gcc.gnu.org}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist                Professional serial bug killer


More information about the Libc-alpha mailing list