This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Name mangling problem in m68k port
- To: law at cygnus dot com, Andreas Schwab <schwab at issan dot informatik dot uni-dortmund dot de>
- Subject: Re: Name mangling problem in m68k port
- From: Richard Henderson <rth at cygnus dot com>
- Date: Tue, 2 Feb 1999 17:07:20 -0800
- Cc: egcs-patches at cygnus dot com
- References: <vyzvhhmcrkz.fsf@issan.cs.uni-dortmund.de> <7431.917978391@hurl.cygnus.com>
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~