This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Multi-arch bug in gas - tc_fix_adjustable
- From: "Jafa" <jafa at silicondust dot com>
- To: "Alan Modra" <amodra at bigpond dot net dot au>
- Cc: <binutils at sources dot redhat dot com>
- Date: Tue, 17 Dec 2002 14:57:50 -0800
- Subject: Re: Multi-arch bug in gas - tc_fix_adjustable
- References: <0dd801c2a61e$1ad60ae0$f601a8c0@nkelseyxp> <redirect-4850105@silicondust.com>
- Reply-to: "Jafa" <jafa at silicondust dot com>
>But the arm port isn't cgen based.
Ok, I kinda assumed.
fr30 and frv are two others that have code in the cgen directory and use
this style of code.
If I am completly off-base then thats ok, its just it got me worried as I
looked at other ports for reference as to how to write a tc_fix_adjustable
function and this might be a real problem.
Nick
----- Original Message -----
From: "Alan Modra" <amodra@bigpond.net.au>
To: <jafa@silicondust.com>
Sent: Tuesday, December 17, 2002 2:53 PM
Subject: Re: Multi-arch bug in gas - tc_fix_adjustable
*This message was transferred with a trial version of CommuniGate(tm) Pro*
On Tue, Dec 17, 2002 at 02:46:14PM -0800, Nick Kelsey wrote:
> The problem is that gas write.c calls the arch dependant tc_fix_adjustable
> function before fix->fx_r_type, and most cgen based archs that I have
> checked have an if or switch statement based on fix->fx_r_type that
compares
> it with BFD types.
>
> For example:
>
> tc-arm.c:
But the arm port isn't cgen based.
--
Alan Modra
IBM OzLabs - Linux Technology Centre