Name mangling problem in m68k port

Richard Henderson rth@cygnus.com
Tue Feb 2 17:07:00 GMT 1999


On Tue, Feb 02, 1999 at 10:59:51AM -0700, Jeffrey A Law wrote:
> The assembler interprets the ".b" as a size directive for the operand?  Weird.

Yep, you can specify an 8-bit reference to a symbol.  IIRC,
MIT syntax did this with :b, but the m68k assembler tries to
do everything at once.

> Seems to me a better solution might be to define NO_DOT_IN_LABEL to avoid
> the situation entirely.  Is there some reason not to do this?

It would change the ABI.

I think Andreas' solution is quite resonable under the circumstances.


r~


More information about the Gcc-patches mailing list