summaryrefslogtreecommitdiffstats
path: root/tools/regression/lib/libc
diff options
context:
space:
mode:
authorrdivacky <rdivacky@FreeBSD.org>2011-04-04 18:23:55 +0000
committerrdivacky <rdivacky@FreeBSD.org>2011-04-04 18:23:55 +0000
commitfd38f1e08c79f1ed404956cc8814525593d9c72b (patch)
tree4f539c150145f8900b8b1d5b6c731a99b586cb75 /tools/regression/lib/libc
parent8f7c029680ef6333e0c565669b17871d25a57203 (diff)
downloadFreeBSD-src-fd38f1e08c79f1ed404956cc8814525593d9c72b.zip
FreeBSD-src-fd38f1e08c79f1ed404956cc8814525593d9c72b.tar.gz
Build boot2 with -mregparm=3, ie. pass upto 3 arguments via registers.
This modifies CFLAGS and tweaks sio.S to use the new calling convention. The sio_init() and sio_putc() prototypes are modified so that other users of this code know the correct calling convention. This makes the code smaller when compiled with clang. Reviewed by: jhb Tested by: me and Freddie Cash <fjwcash gmail com>
Diffstat (limited to 'tools/regression/lib/libc')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud