[TESTING]: boot2 compilation with -mregparm=3
Fabian Keil
freebsd-listen at fabiankeil.de
Sun Mar 20 19:41:42 UTC 2011
Roman Divacky <rdivacky at freebsd.org> wrote:
> This patch:
>
>
> http://lev.vlakno.cz/~rdivacky/boot2-mregparm.patch
>
>
> makes boot2 to be compiled with -mregparm=3 (which shrinks it
> some). It changes CFLAGS to include -mregparm=3 and also
> rewrites sio.S to use register passing.
>
> This survived my testing in qemu and jhb at s review.
Works for me on amd64 with gcc, but I don't use either
a serial console or gptboot/zfsboot.
Fabian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20110320/b86da017/signature.pgp
More information about the freebsd-current
mailing list