Date: Sun, 20 Mar 2011 20:41:04 +0100 From: Fabian Keil <freebsd-listen@fabiankeil.de> To: Roman Divacky <rdivacky@freebsd.org> Cc: current@freebsd.org Subject: Re: [TESTING]: boot2 compilation with -mregparm=3 Message-ID: <20110320204104.2cc0ef74@r500.local> In-Reply-To: <20110314185943.GA98118@freebsd.org> References: <20110314185943.GA98118@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] Roman Divacky <rdivacky@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@s review. Works for me on amd64 with gcc, but I don't use either a serial console or gptboot/zfsboot. Fabian [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (FreeBSD) iEYEARECAAYFAk2GWFcACgkQBYqIVf93VJ2YzQCfQPC/ys9xa9AEQ0aW0klop3OB +7YAnR8gjr7YeA+gNMvVqETwkdrTZ+CW =hQ6P -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110320204104.2cc0ef74>
