This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [PATCH] m68000 ELF + two m68k gas fixes
- From: Andreas Schwab <schwab at suse dot de>
- To: Matt Fredette <fredette at theory dot lcs dot mit dot edu>
- Cc: binutils at sources dot redhat dot com, fredette at netbsd dot org,nickc at cambridge dot redhat dot com
- Date: 27 Dec 2001 23:49:38 +0100
- Subject: Re: [PATCH] m68000 ELF + two m68k gas fixes
- References: <200112181754.MAA27626@swan.lcs.mit.edu>
Matt Fredette <fredette@theory.lcs.mit.edu> writes:
|> [ for gas/ChangeLog ]
|> Tue Dec 18 12:33:01 2001 Matt Fredette <fredette@netbsd.org>
|>
|> * config/tc-m68k.h (md_prepare_relax_scan): Force relaxation
|> into word mode for zero-displacement unconditional absolute
|> jumps, too, otherwise they get assembled incorrectly.
FWIW, this is broken since revision 1.11 of tc-m68k.c, where the
relaxation was redesigned. The hardcoding in md_prepare_relax_scan should
probably be prominently documented in the comment for md_relax_table. And
btw, you need to check for this_step == 0 and this_step == 12 as well, as
there are now four cases where disp == 0 provokes an error in
tc-m68k.c:md_convert_frag_1.
Andreas.
--
Andreas Schwab "And now for something
Andreas.Schwab@suse.de completely different."
SuSE Labs, SuSE GmbH, Schanzäckerstr. 10, D-90443 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5