[PATCH] m68k: tag floating-point ABI used

John Paul Adrian Glaubitz glaubitz@physik.fu-berlin.de
Sun Jul 26 22:04:13 GMT 2020


Hello!

> Tag the floating-point calling convention used on m68k-elf (either hard-float
> or soft-float) through the GNU assembler attribute. The use of the tag 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. Since tagging is only
> enabled when the m68k assembler supports GNU attributes, this patch can be
> applied independently from the corresponding binutils patch.
> 
> If approved, I'll need a maintainer to commit on my behalf.

This seems like a useful enhancement to the m68k backend.

Any chance it can be picked up?

Thanks,
Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaubitz@debian.org
`. `'   Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913


More information about the Gcc-patches mailing list