summaryrefslogtreecommitdiffstats
path: root/lib/csu/sparc (follow)
Commit message (Collapse)AuthorAgeFilesLines
* retire sparctedu2016-09-011-138/+0
|
* Rearrange C runtime bits: now that ld.so exports environ and __progname,guenther2016-03-201-10/+1
| | | | | | | | | | | 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@
* In static binaries, invoke kbind() once to disable it.guenther2015-09-011-1/+10
| | | | | With much assistance from miod@ ok deraadt@@
* static pie support for sparc.miod2015-07-031-2/+60
|
* Merge Makefiles, moving the build up a level and putting the CPU-specificguenther2014-11-121-61/+0
| | | | | | | build flags into conditionals in the Makefile, fixing a few inconsistencies in the process. \o/ miod@
* Merge the per-arch crt0.c files into common_elf/crt0.c, with MD macros inguenther2013-12-033-128/+27
| | | | | | the md_init.h files. Worked out with and ok miod@; ok matthew@
* Register cleanup handler passed by ld.so with atexit(3).kettenis2012-12-241-6/+6
| | | | tested by benno@
* 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@
* crtbeginS.o needs to be buit with -fPIC; with -fpic the relocations for thekettenis2010-12-241-1/+3
| | | | | | | gcc3/4 exception handling related symbols will be truncated causing linker failures when building shared libraries. ok drahn@, deraadt@, miod@
* 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
* The recent change to bsd.own.mk to allow PICFLAG to be overridden madekurt2008-10-061-3/+1
| | | | | | | these previously ignored PICFLAG settings become active. Remove PICFLAG overrides to restore -fpic/-fPIC modes. In snaps for a week. okay drahn@
* No multi-line strings, to please gcc3. No functional change.miod2004-02-011-20/+20
|
* __init/__fini handling on ELF has not been correct. It is supposed todrahn2004-01-082-2/+61
| | | | | | 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@
* Fix dependancy building for ELF startup code. Changed Makefilesdrahn2003-05-301-10/+24
| | | | to build startup code the same on all (ELF) archs. hppa ok mickey@
* copy basename of argv[0] to bss for __progname, so that large stack smashderaadt2003-02-281-0/+9
| | | | does not make propolice reporting ineffective; millert miod ok
* Adapt sparc crt* to how things are done on our other ELF architectures.art2002-08-112-145/+105
| | | | Some parts of crt0.c are from NetBSD.
* Remove some dead ifdefs to make the code more readable.art2002-07-221-30/+2
|
* Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.millert2002-02-161-5/+5
|
* Use "realinstall" to allow the framework to do other work if needed;tholo2001-03-241-2/+2
| | | | path of least surprise. Ok millert@
* Fix RCS Idsniklas1999-08-202-3/+3
|
* Use OpenBSD tags and not SCCS or RCS Id tagstholo1997-06-241-1/+2
|
* COPY -> INSTALL_COPY and STRIP -> INSTALL_STRIPmillert1997-04-271-2/+2
| | | | | | | 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.
* install -> ${INSTALL}, -c -> ${COPY}downsj1996-12-081-2/+2
|
* initial import of NetBSD treederaadt1995-10-182-0/+228