[PATCH] m68k: tag floating-point ABI used
Alan Modra
amodra@gmail.com
Fri Jun 26 05:32:19 GMT 2020
On Thu, Jun 25, 2020 at 04:05:38PM -0400, Pat Bernardi wrote:
> This patch adds GNU attribute support to m68k and utilises it to tag the
> floating-point calling convention used (hard-float or soft-float). It enables
> the linker to ensure linked objects use a consistent floating-point ABI and
> allows tools like GDB to infer the ABI used from the ELF file. It is based on
> similar work done for PowerPC.
>
> The patch has been tested for m68k-elf and x86-64/Linux.
>
> If approved, I'll need a maintainer to commit on my behalf.
Applied with a small fix to the ld ChangeLog and excess parens
> + if ((tag == Tag_GNU_M68K_ABI_FP && val > 2))
removed here.
--
Alan Modra
Australia Development Lab, IBM
More information about the Binutils
mailing list