This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Assertion failure in m68k assembler
- To: Alan Modra <alan at SPRI dot Levels dot UniSA dot Edu dot Au>
- Subject: Re: Assertion failure in m68k assembler
- From: Andreas Schwab <schwab at suse dot de>
- Date: 08 May 2001 15:30:12 +0200
- Cc: <binutils at sourceware dot cygnus dot com>
- References: <Pine.LNX.4.30.0105082222510.9289-100000@mullet.itr.unisa.edu.au>
Alan Modra <alan@SPRI.Levels.UniSA.Edu.Au> writes:
|> This should fix it.
|>
|> * config/tc-m68k.c (md_estimate_size_before_relax): Set fr_var
|> from md_relax_table, and combine some switch cases.
Thanks, it works again.
|> I notice also a peculiarity in the ABSTOPCREL handling in that
|> flag_short_refs isn't tested. bug?
I don't think so. flag_short_refs only applies to displacements.
Absolute addressing is long by default, and ABSTOPCREL is just an
optimisation. If you want short absolute addressing you'll have to add an
explicit size specifier.
Andreas.
--
Andreas Schwab "And now for something
SuSE Labs completely different."
Andreas.Schwab@suse.de
SuSE GmbH, Schanzäckerstr. 10, D-90443 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5