summaryrefslogtreecommitdiff
path: root/lib/csu
AgeCommit message (Collapse)Author
2007-10-30avoid intermediate files with same name (ie. a.out) for parallel makeTheo de Raadt
ok miod
2007-10-17remove "unused variable" warningsCharles Longeau
tested by deraadt@ on a gcc2 arch looks ok ray@ ok deraadt@
2007-09-03Add __cxa_atexit() support for gcc3. This provides support for shared ↵Todd C. Miller
object destructors called at dlclose() time. Inspired by similar changes in FreeBSD and NetBSD.
2007-03-13Set the DN bit in the fpscr upon startup, to prevent faulting when loadingMiod Vallat
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)
2007-03-02Move landisk to hardware floating point. At the moment the FPU context isMiod Vallat
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
2006-11-09build obj in shDale Rahn
2006-10-10Preliminary userland bits for OpenBSD/landisk, many things coming fromMiod Vallat
NetBSD.
2005-09-25Revert temporary hack.Mark Kettenis
ok deraadt@
2005-08-04zap rcsid. Okay deraadt@, krw@Marc Espie
2005-04-01hppa64 bits cloned form hppaMichael Shalayeff
2004-10-26Change __register_frame_info into a weakly defined symbol.Mark Kettenis
ok drahn@, pval@, deraadt@
2004-10-21Temporary hack to make alpha build again.Mark Kettenis
ok drahn@, deraadt@
2004-10-10Add support for DWARF2 exception handling.Mark Kettenis
ok drahn@, millert@
2004-09-10add mips64 to the list. ok derradt.Per Fogelstrom
2004-09-09Shared libs now works. Changes here for ABI64.Per Fogelstrom
2004-08-23kill useless __main() symbol which clashes w/ certain evil software inPeter Valchev
the ports tree; ok pefo
2004-08-06csu stuff for sgi et alPer Fogelstrom
2004-07-24New, working, profiling code for m88k.Miod Vallat
2004-07-07The -DPIC flag must be passed when building crtbeginS.o/crtendS.o howeverDale Rahn
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@
2004-06-01do not need sh_func_adrs w/ gcc3 no moreMichael Shalayeff
2004-05-26better code for calling ctorsMichael Shalayeff
2004-02-27change amd64's MACHINE_ARCH from x86_64 to amd64. There are many manyTheo de Raadt
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.
2004-02-09Proper PIC support in arm startup files.Dale Rahn
2004-02-01No multi-line strings, to please gcc3. No functional change.Miod Vallat
2004-02-01link into build. make obj is safe in arm dir.Dale Rahn
2004-02-01tag..Dale Rahn
2004-02-01startup files for arm. Partially borrowed from NetBSD.Dale Rahn
2004-01-28for make obj, enter x86_64; mickey okTheo de Raadt
2004-01-28things for amd64; from art@Michael Shalayeff
2004-01-26add finalized guard to destructor calls, to prevent multiple calls.Marc Espie
stop most kde apps from burping all over the place on exit, which means that, somehow, our destructors get registered twice... :-( Okay drahn@
2004-01-26small clean-up: typedef to desambiguate const, prototypes...Marc Espie
ok drahn@, some time ago.
2004-01-08__init/__fini handling on ELF has not been correct. It is supposed toDale 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@
2004-01-05Do not have non-dynamic crt0 depend upon libc's strrchr() function on a.out.Miod Vallat
2004-01-04kill multi-line string; ok miodPeter Valchev
2004-01-04c++rt0 is a relic. It shall go away.Dale Rahn
2004-01-04c++rt0.o is a relic of long ago. tested on ELF drahn a.out miod, ok miod@Dale Rahn
2004-01-04zap multi-line literals; ok deraadtPeter Valchev
2003-12-28correct array initializer size to be [1], not [0] fixes gcc3 libstdc++ errorDale Rahn
ok espie, millert
2003-12-26Put this again, but this time make sure the compiler really does not frob theMiod Vallat
stack frame before we get a chance to tinker with it.
2003-12-26Revert - this was a bit premature.Miod Vallat
2003-12-25A much simpler and more readable start() routine...Miod Vallat
2003-12-04also export _start as an alias to __start (noticed by pval@) and redo the ↵Michael Shalayeff
early startup as i always wanted to
2003-11-22remove multi-line literals in __asm syntax to keep gcc3 happyAnil Madhavapeddy
henric@ henning@ ok
2003-08-25Define both _start and __start in crt0, all of the other architectures do.Dale Rahn
2003-06-27ansiTheo de Raadt
2003-06-26boring protosTheo de Raadt
2003-06-04more 3/4 cleanups for lazy developersTheo de Raadt
2003-05-30i sent you the damn working diff, didn't i?Michael Shalayeff
2003-05-30Fix dependancy building for ELF startup code. Changed MakefilesDale Rahn
to build startup code the same on all (ELF) archs. hppa ok mickey@
2003-04-17i386 startup code for ELF. based on newer version of NetBSD code.Dale Rahn