9 Commits

Author SHA1 Message Date
matt
8caf10303e Put the startup code in .text.startup 2013-08-19 22:14:37 +00:00
christos
c5e820cae4 PR/45989: Martin Husemann: lint invocation does include -w only on i386
- turn lint -w for all the platforms after fixing the lint warnings.
- add _DIAGASSERTS() for casts that would assign values to types that
  would not fit.
- change types, add casts
- change into ansii prototypes
- turn on _DIAGNOSTIC for libc (during current, to be eliminated for release
  builds)

approved by core@
2012-03-13 21:13:30 +00:00
joerg
eb47f1619a Use a constant array for the MIB. Newer LLVM decided that mib[] warranted
stack protections, with the obvious crash after the setup was done.
As a positive side effect, code size shrinks a bit.
2011-12-08 02:27:14 +00:00
joerg
67f518f496 Use __dead 2011-09-16 16:05:58 +00:00
joerg
cb63bb73c3 Don't use argument as direct format string. 2010-12-07 20:10:53 +00:00
drochner
f7e3ae7c1f -delete prototypes which are already in <ssp/ssp.h>
-make __fail __noreturn__
2009-11-17 20:46:20 +00:00
ad
c984f259af Make threaded programs die correctly:
kill(getpid(), SIGFOO) -> raise(SIGFOO)
2009-01-30 23:21:02 +00:00
ad
e54e98d8cc xprintf returns void. 2008-06-03 19:22:37 +00:00
ad
ec4d182d4a - stack_protector.c doesn't really belong under sys/. Add a new directory
for misc support routines and put it there.
- Add a libc constructor. Use this to initialize threading and the
  stack protector stuff. libpthread cannot be initialized safely using
  its own constructor because libc and libpthread are deeply intertwined.
  PR bin/37347
2007-11-13 15:21:19 +00:00