This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: m68k floating point overwrites vector table
- To: gcc-bugs at gcc dot gnu dot org
- Subject: Re: m68k floating point overwrites vector table
- From: Nick Papadonis <npapadon at yahoo dot com>
- Date: 21 Mar 2001 21:02:26 -0500
- Cc: binutils at sourceware dot cygnus dot com
- Organization: None
- References: <m3snkdk1w2.fsf@h0050bad6338d.ne.mediaone.net>
This is not a bug with GCC. If someone commited my patch to this,
please uncommit it. I believe this is a bug in BINUTILS
'as'. If the problem is fixed there, things will be right. This
problem also is present in the fresh CVS of binutils. Anyone?
Nick Papadonis <npapadon@yahoo.com> writes:
> Not sure if this is a bug or not, but when compiling for
> target=m68k-coff, my exception vector table is overwritten.
>
> gcc 2.95.2
> binutils 2.10.1
> target=m68k-coff, MC68332
>
> It looks like this is all happening in the software floating point
> library. I linked to $M68KPATH/lib/gcc-lib/m68k-coff/2.95.2/libgcc.a
> when compiling for my target.
>
> In the file gcc/config/m68k/lb1sf68.asm,
> it appears something like:
> ROUND_TO_NEAREST = 0 | round result to nearest representable value
> Was making a symbol ROUNDT_TO_NEARETST at addreess 0x0.
>
> Changing all these assignments to the following seemed to solve the problem.
> .set ROUND_TO_NEAREST , 0 | round result to nearest representable value
>
> --
> - Nick
--
- Nick