summaryrefslogtreecommitdiffstats
path: root/lib/csu/sh (follow)
Commit message (Collapse)AuthorAgeFilesLines
* the fpu control symbol on sh (__fpscr_values) suddenly becomes localjsg2012-04-121-2/+5
| | | | | | | instead of global with gcc4 and this ends up breaking things in hard to debug ways. So move the definition to csu instead of libgcc. ok miod@
* Pass install the -S option to avoid a window where the target isn'tguenther2011-11-081-2/+2
| | | | | | | executable (by mode or content), which can trip up builds with 'make -j' (The generic fix is in share/mk/*; some Makefiles have their own INSTALL lines) ok millert@ deraadt@
* rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andderaadt2009-10-271-2/+1
| | | | | | | unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms
* Compile crt0.o, crtbegin.o and crtend.o with -fpie/-fPIE. This requireskurt2008-11-111-7/+7
| | | | | | gcc with pie support to be built first. ok kettenis@
* Remove PICFLAG= setting, it is overridden in bsd.prog.mk. tested on landisk.drahn2008-09-261-4/+1
| | | | Caught and ok kurt@
* Set the DN bit in the fpscr upon startup, to prevent faulting when loadingmiod2007-03-131-1/+4
| | | | | | | denormals. This is recommended by the manual, and is necessary for the gdb testsuite to pass; found by, discussed with, and ok kettenis@ (be sure to make includes before recompiling csu)
* Move landisk to hardware floating point. At the moment the FPU context ismiod2007-03-021-1/+9
| | | | | | | | | | | | | | | always saved upon context switches, as FPU registers are heavily used for long long computations (don't ask). Gcc default to -m4. Credits to drahn@ otto@ and deraadt@ for feedback and help testing. Upgrade procedure if you don't want to use the damn snapshots: - build and install new kernel, reboot off it - build new gcc, do not install it yet - make includes - install new gcc - build and install lib/csu and lib/libc - make build
* Preliminary userland bits for OpenBSD/landisk, many things coming frommiod2006-10-103-0/+253
NetBSD.