summaryrefslogtreecommitdiffstats
path: root/lib/csu (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Don't specify mode(SI) attribute for __EH_FRAME_END__ as we havejsg2009-07-142-4/+4
| | | | | | 32 bit ints on OpenBSD. ok kettenis@
* fix rcs ids. ok sthen@martynas2009-06-211-1/+1
|
* Do not break gcc -Z on powerpc. mprotect the got only if it is padded.drahn2009-06-161-15/+34
| | | | | Diff written and tweaked by kurt@ and myself. ok kurt@, now is agood time deraadt@
* Add gcj java class registration hooks for gcc3 elf archs. From NetBSDkurt2009-04-138-8/+98
| | | | | | with minor differences. okay kettenis@ drahn@
* Work-around a gcc3 -g bug causing debug ld.so to crash.kurt2009-03-062-4/+4
| | | | okay kettenis@ drahn@
* Tag ELF shared libraries as OpenBSD.kettenis2009-02-042-2/+6
| | | | ok kurt@, drahn@, miod@
* Re-enable pie support on macppc (still off by default but usablekurt2009-01-142-12/+76
| | | | | | | | | | | | again). Due to the way executable sections are loaded by the kernel, a one page .got section with the blrl instruction may be in the data cache and not flushed causing random crashes upon process startup. Flush the data cache before ___start() jumps there. Also mprotect the .got section to be read/exec instead of read/write/exec. ld.so knows how to cope and static binaries don't write to .got. written by and okay drahn@
* revert -fpie for now, it produces crashing executablesotto2008-11-211-7/+7
|
* fix rcs tag.jsg2008-11-131-1/+1
| | | | From patrick keshishian <sidster@boxsoft.com>
* Compile crt0.o, crtbegin.o and crtend.o with -fpie/-fPIE. This requireskurt2008-11-118-54/+54
| | | | | | gcc with pie support to be built first. ok kettenis@
* adjust asm to be pic compatible. okay kettenis@kurt2008-10-171-3/+6
|
* The recent change to bsd.own.mk to allow PICFLAG to be overridden madekurt2008-10-069-25/+7
| | | | | | | these previously ignored PICFLAG settings become active. Remove PICFLAG overrides to restore -fpic/-fPIC modes. In snaps for a week. okay drahn@
* Remove PICFLAG= setting, it is overridden in bsd.prog.mk. tested on landisk.drahn2008-09-261-4/+1
| | | | Caught and ok kurt@
* Remove separate pic versions of crt0, crtbegin, crtend. Nextkurt2008-07-284-83/+7
| | | | | | release we are taking a different approach. Idea from kettenis@. okay kettenis@ weingart@
* Build pic versions of crt0, crtbegin & crtend for amd64, i386, powerpc,kurt2008-06-254-7/+91
| | | | | sparc64. The rest will come later. okay drahn@ no objection miod@ "Get it in" deraadt@
* Make pic compatiable. From and okay drahn@ no objection miod@kurt2008-06-251-4/+3
| | | | "Slackers!" deraadt@
* More read/write result checking fixes to avoid unsigned comparisons vskrw2008-01-291-2/+2
| | | | | | -1. ok henning@ beck@ ray@
* avoid intermediate files with same name (ie. a.out) for parallel makederaadt2007-10-301-8/+8
| | | | ok miod
* remove "unused variable" warningschl2007-10-171-2/+1
| | | | | | tested by deraadt@ on a gcc2 arch looks ok ray@ ok deraadt@
* Add __cxa_atexit() support for gcc3. This provides support for shared object destructors called at dlclose() time. Inspired by similar changes in FreeBSD and NetBSD.millert2007-09-034-4/+72
|
* 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
* build obj in shdrahn2006-11-091-2/+2
|
* Preliminary userland bits for OpenBSD/landisk, many things coming frommiod2006-10-103-0/+253
| | | | NetBSD.
* Revert temporary hack.kettenis2005-09-252-131/+3
| | | | ok deraadt@
* zap rcsid. Okay deraadt@, krw@espie2005-08-049-45/+9
|
* hppa64 bits cloned form hppamickey2005-04-013-0/+253
|
* Change __register_frame_info into a weakly defined symbol.kettenis2004-10-262-10/+16
| | | | ok drahn@, pval@, deraadt@
* Temporary hack to make alpha build again.kettenis2004-10-212-3/+131
| | | | ok drahn@, deraadt@
* Add support for DWARF2 exception handling.kettenis2004-10-104-4/+40
| | | | ok drahn@, millert@
* add mips64 to the list. ok derradt.pefo2004-09-101-2/+2
|
* Shared libs now works. Changes here for ABI64.pefo2004-09-092-30/+59
|
* kill useless __main() symbol which clashes w/ certain evil software inpvalchev2004-08-231-4/+2
| | | | the ports tree; ok pefo
* csu stuff for sgi et alpefo2004-08-063-0/+308
|
* New, working, profiling code for m88k.miod2004-07-241-3/+18
|
* The -DPIC flag must be passed when building crtbeginS.o/crtendS.o howeverdrahn2004-07-072-11/+11
| | | | | using PICFLAGS is not the proper way to do that. Put it directly in the build script. Fixes a problem with upcoming PICFLAG. ok deraadt@
* do not need sh_func_adrs w/ gcc3 no moremickey2004-06-011-3/+2
|
* better code for calling ctorsmickey2004-05-261-5/+3
|
* change amd64's MACHINE_ARCH from x86_64 to amd64. There are many manyderaadt2004-02-274-252/+2
| | | | | | reasons for this, quite a few of them technical, and not all of them in response to Intel's broken ia32e crud. The gcc toolchain stays at x86_64 for now.
* Proper PIC support in arm startup files.drahn2004-02-092-4/+11
|
* No multi-line strings, to please gcc3. No functional change.miod2004-02-011-20/+20
|
* link into build. make obj is safe in arm dir.drahn2004-02-011-2/+2
|
* tag..drahn2004-02-011-0/+1
|
* startup files for arm. Partially borrowed from NetBSD.drahn2004-02-013-0/+264
|
* for make obj, enter x86_64; mickey okderaadt2004-01-281-2/+2
|
* things for amd64; from art@mickey2004-01-286-0/+500
|
* add finalized guard to destructor calls, to prevent multiple calls.espie2004-01-268-26/+44
| | | | | | | stop most kde apps from burping all over the place on exit, which means that, somehow, our destructors get registered twice... :-( Okay drahn@
* small clean-up: typedef to desambiguate const, prototypes...espie2004-01-2610-32/+86
| | | | ok drahn@, some time ago.
* __init/__fini handling on ELF has not been correct. It is supposed todrahn2004-01-0820-54/+482
| | | | | | 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@
* Do not have non-dynamic crt0 depend upon libc's strrchr() function on a.out.miod2004-01-052-9/+5
|