diff options
author | rdivacky <rdivacky@FreeBSD.org> | 2011-04-04 18:23:55 +0000 |
---|---|---|
committer | rdivacky <rdivacky@FreeBSD.org> | 2011-04-04 18:23:55 +0000 |
commit | fd38f1e08c79f1ed404956cc8814525593d9c72b (patch) | |
tree | 4f539c150145f8900b8b1d5b6c731a99b586cb75 /tools/regression/lib/libc | |
parent | 8f7c029680ef6333e0c565669b17871d25a57203 (diff) | |
download | FreeBSD-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