Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-03-20 | Rearrange C runtime bits: now that ld.so exports environ and __progname, | Philip Guenther | |
move their definitions and initialization in static links to libc.a Make crt0 always invoke a new func _csu_finish() in libc to process the auxv and to either register the ld.so cleanup function (in dynamic links) or initialize environ and __progname and do MC_DISABLE_KBIND (in static links). In libc, get pagesize from auxv; cache that between getpagesize() and sysconf(_SC_PAGESIZE) ok mpi@ "good time" deraadt@ | |||
2016-03-13 | crt0.c is already setting environ, so don't set it in MD_START_SETUP | Philip Guenther | |
ok kettenis@ mpi@ | |||
2015-09-01 | In static binaries, invoke kbind() once to disable it. | Philip Guenther | |
With much assistance from miod@ ok deraadt@@ | |||
2014-12-27 | Static PIE support for alpha. | Mark Kettenis | |
This adds alpha-specific first-pass GOT relocation code to boot.h. The assembly code is pure magic. The numeric register names don't make it easier to understand (or compare with the equivalent ld.so code). Unfortunately the assembler only understands a few symbolic register names. Renames the crt0.o entry point to __start. Our compiler was already using __start and the linker will soon follow. ok kurt@ | |||
2014-11-12 | Merge Makefiles, moving the build up a level and putting the CPU-specific | Philip Guenther | |
build flags into conditionals in the Makefile, fixing a few inconsistencies in the process. \o/ miod@ | |||
2013-12-03 | Merge the per-arch crt0.c files into common_elf/crt0.c, with MD macros in | Philip Guenther | |
the md_init.h files. Worked out with and ok miod@; ok matthew@ | |||
2011-11-08 | Pass install the -S option to avoid a window where the target isn't | Philip Guenthe | |
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@ | |||
2009-10-28 | rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and | Theo de Raadt | |
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 | |||
2008-11-11 | Compile crt0.o, crtbegin.o and crtend.o with -fpie/-fPIE. This requires | Kurt Miller | |
gcc with pie support to be built first. ok kettenis@ | |||
2008-10-06 | The recent change to bsd.own.mk to allow PICFLAG to be overridden made | Kurt Miller | |
these previously ignored PICFLAG settings become active. Remove PICFLAG overrides to restore -fpic/-fPIC modes. In snaps for a week. okay drahn@ | |||
2005-09-25 | Revert temporary hack. | Mark Kettenis | |
ok deraadt@ | |||
2005-08-04 | zap rcsid. Okay deraadt@, krw@ | Marc Espie | |
2004-10-21 | Temporary hack to make alpha build again. | Mark Kettenis | |
ok drahn@, deraadt@ | |||
2004-01-08 | __init/__fini handling on ELF has not been correct. It is supposed to | Dale Rahn | |
be a section which code stubs (branches) can be added to initialize/destructor This adds MD stubs to allow this to operate as expected. should fix wine and behave according to ELF specs. ok miod@ | |||
2003-08-25 | Define both _start and __start in crt0, all of the other architectures do. | Dale Rahn | |
2003-05-30 | Fix dependancy building for ELF startup code. Changed Makefiles | Dale Rahn | |
to build startup code the same on all (ELF) archs. hppa ok mickey@ | |||
2003-02-28 | copy basename of argv[0] to bss for __progname, so that large stack smash | Theo de Raadt | |
does not make propolice reporting ineffective; millert miod ok | |||
2002-02-16 | Part one of userland __P removal. Done with a simple regexp with some minor ↵ | Todd C. Miller | |
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically. | |||
2001-05-29 | fix the alpha after that last diff which was obviously not tested | Theo de Raadt | |
2001-03-24 | Use "realinstall" to allow the framework to do other work if needed; | Thorsten Lockert | |
path of least surprise. Ok millert@ | |||
2001-02-03 | Remove even more dead code. | Artur Grabowski | |
2001-02-03 | Schedule running of __fini in __init, not __start. | Artur Grabowski | |
2001-02-03 | Use crtbegin and crtend from common_elf. | Artur Grabowski | |
2001-02-03 | Don't define ECOFF_COMPAT. We're ELF. | Artur Grabowski | |
2001-01-31 | deconfuse include path. (XXX - this for my future hacks). | Artur Grabowski | |
2001-01-25 | This is not how we'll do dynamic libraries on alpha anyway. | Artur Grabowski | |
Zap dead code. | |||
1999-08-20 | Fix RCS Ids | Niklas Hallqvist | |
1998-06-01 | consitancize with other archs | Michael Shalayeff | |
1997-06-24 | Use OpenBSD tags and not SCCS or RCS Id tags | Thorsten Lockert | |
1997-04-27 | COPY -> INSTALL_COPY and STRIP -> INSTALL_STRIP | Todd C. Miller | |
This fixes namespace problems where STRIP is sometimes used as the name of the strip(1) to use and other times used as the flag to send install(1) when stripping (or not). COPY doesn't have this problem (yet) but was poorly named. | |||
1996-11-13 | Sync with NetBSD, Add OpenBSD tags. | Niklas Hallqvist | |
1996-11-13 | Sync with NetBSD, Add OpenBSD tags. | Niklas Hallqvist | |
1996-05-22 | machine/asm.h is sufficient | Theo de Raadt | |
1995-12-21 | from netbsd; limit the flags that get passed to cpp | Theo de Raadt | |
1995-12-15 | from netbsd; do not override other CFLAGS settings | Theo de Raadt | |
1995-12-14 | from netbsd; fix profiling support | Theo de Raadt | |
1995-10-18 | initial import of NetBSD tree | Theo de Raadt | |