[klibc] [PATCH 3/3] arm64: Introduce arm64 support

Steve Capper steve.capper at linaro.org
Mon Nov 11 07:54:52 PST 2013


On Mon, Nov 11, 2013 at 07:20:04AM -0800, H. Peter Anvin wrote:
> Yes, that is not an issue, but the question is if the relatively small cost of adding a bit too jmp_buf makes it worth it, as long as people understand that there is no fp support in klibc.
> 
> Thorsten Glaser <tg at mirbsd.de> wrote:
> >Steve Capper dixit:
> >
> >>> Do we need the fpregs saved even though klibc doesn't do fp?
> >
> >>For gcc targetting Aarch64, We can only guarantee that d8-d15 are
> >>left alone when -mgeneral-regs-only is supplied for building klibc
> >>and any software linked against klibc. I would much prefer to
> >
> >We can enforce this in klcc, just like -mregparm=3 is used by
> >the i386 target.
> >
> >bye,
> >//mirabilos

I've added -mgeneral-regs-only to KLIBCREQFLAGS (and some comments and
code changes in pertinent places), and this has made it into the klcc
wrapper.

Thanks,
-- 
Steve


More information about the klibc mailing list