Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Sprinkle a few __used markers to prevent gcc4 from throwing away essential | 2010-05-01 | 9 | -40/+40 | ||
| | | | | | | | bits of code and data. With this change gcc4 builds usable crt*.o on sparc64, other architectures probably need some more love. ok marco@, jsg@ | |||||
* | Use MACHINE_CPU instead of MACHINE_ARCH to pick the correct machine dependent | 2010-02-03 | 1 | -3/+3 | ||
| | | | | | | | files or directories when applicable. The inspiration and name of MACHINE_CPU come from NetBSD, although the way to provide it to Makefiles is completely different. ok kettenis@ | |||||
* | Make sure to use 64 bit instructions in the assembly statements (addi -> daddi) | 2009-12-10 | 1 | -8/+4 | ||
| | | | | | in the prologue; this gives a chance for binaries loaded with their stack over 2GB virtual, to run. Who's your daddi now? | |||||
* | rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and | 2009-10-27 | 14 | -29/+23 | ||
| | | | | | | | 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 | |||||
* | Don't specify mode(SI) attribute for __EH_FRAME_END__ as we have | 2009-07-14 | 2 | -4/+4 | ||
| | | | | | | 32 bit ints on OpenBSD. ok kettenis@ | |||||
* | fix rcs ids. ok sthen@ | 2009-06-21 | 1 | -1/+1 | ||
| | ||||||
* | Do not break gcc -Z on powerpc. mprotect the got only if it is padded. | 2009-06-16 | 1 | -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 NetBSD | 2009-04-13 | 8 | -8/+98 | ||
| | | | | | | with minor differences. okay kettenis@ drahn@ | |||||
* | Work-around a gcc3 -g bug causing debug ld.so to crash. | 2009-03-06 | 2 | -4/+4 | ||
| | | | | okay kettenis@ drahn@ | |||||
* | Tag ELF shared libraries as OpenBSD. | 2009-02-04 | 2 | -2/+6 | ||
| | | | | ok kurt@, drahn@, miod@ | |||||
* | Re-enable pie support on macppc (still off by default but usable | 2009-01-14 | 2 | -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 executables | 2008-11-21 | 1 | -7/+7 | ||
| | ||||||
* | fix rcs tag. | 2008-11-13 | 1 | -1/+1 | ||
| | | | | From patrick keshishian <sidster@boxsoft.com> | |||||
* | Compile crt0.o, crtbegin.o and crtend.o with -fpie/-fPIE. This requires | 2008-11-11 | 8 | -54/+54 | ||
| | | | | | | gcc with pie support to be built first. ok kettenis@ | |||||
* | adjust asm to be pic compatible. okay kettenis@ | 2008-10-17 | 1 | -3/+6 | ||
| | ||||||
* | The recent change to bsd.own.mk to allow PICFLAG to be overridden made | 2008-10-06 | 9 | -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. | 2008-09-26 | 1 | -4/+1 | ||
| | | | | Caught and ok kurt@ | |||||
* | Remove separate pic versions of crt0, crtbegin, crtend. Next | 2008-07-28 | 4 | -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, | 2008-06-25 | 4 | -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@ | 2008-06-25 | 1 | -4/+3 | ||
| | | | | "Slackers!" deraadt@ | |||||
* | More read/write result checking fixes to avoid unsigned comparisons vs | 2008-01-29 | 1 | -2/+2 | ||
| | | | | | | -1. ok henning@ beck@ ray@ | |||||
* | avoid intermediate files with same name (ie. a.out) for parallel make | 2007-10-30 | 1 | -8/+8 | ||
| | | | | ok miod | |||||
* | remove "unused variable" warnings | 2007-10-17 | 1 | -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. | 2007-09-03 | 4 | -4/+72 | ||
| | ||||||
* | Set the DN bit in the fpscr upon startup, to prevent faulting when loading | 2007-03-13 | 1 | -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 is | 2007-03-02 | 1 | -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 sh | 2006-11-09 | 1 | -2/+2 | ||
| | ||||||
* | Preliminary userland bits for OpenBSD/landisk, many things coming from | 2006-10-10 | 3 | -0/+253 | ||
| | | | | NetBSD. | |||||
* | Revert temporary hack. | 2005-09-25 | 2 | -131/+3 | ||
| | | | | ok deraadt@ | |||||
* | zap rcsid. Okay deraadt@, krw@ | 2005-08-04 | 9 | -45/+9 | ||
| | ||||||
* | hppa64 bits cloned form hppa | 2005-04-01 | 3 | -0/+253 | ||
| | ||||||
* | Change __register_frame_info into a weakly defined symbol. | 2004-10-26 | 2 | -10/+16 | ||
| | | | | ok drahn@, pval@, deraadt@ | |||||
* | Temporary hack to make alpha build again. | 2004-10-21 | 2 | -3/+131 | ||
| | | | | ok drahn@, deraadt@ | |||||
* | Add support for DWARF2 exception handling. | 2004-10-10 | 4 | -4/+40 | ||
| | | | | ok drahn@, millert@ | |||||
* | add mips64 to the list. ok derradt. | 2004-09-10 | 1 | -2/+2 | ||
| | ||||||
* | Shared libs now works. Changes here for ABI64. | 2004-09-09 | 2 | -30/+59 | ||
| | ||||||
* | kill useless __main() symbol which clashes w/ certain evil software in | 2004-08-23 | 1 | -4/+2 | ||
| | | | | the ports tree; ok pefo | |||||
* | csu stuff for sgi et al | 2004-08-06 | 3 | -0/+308 | ||
| | ||||||
* | New, working, profiling code for m88k. | 2004-07-24 | 1 | -3/+18 | ||
| | ||||||
* | The -DPIC flag must be passed when building crtbeginS.o/crtendS.o however | 2004-07-07 | 2 | -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 more | 2004-06-01 | 1 | -3/+2 | ||
| | ||||||
* | better code for calling ctors | 2004-05-26 | 1 | -5/+3 | ||
| | ||||||
* | change amd64's MACHINE_ARCH from x86_64 to amd64. There are many many | 2004-02-27 | 4 | -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. | 2004-02-09 | 2 | -4/+11 | ||
| | ||||||
* | No multi-line strings, to please gcc3. No functional change. | 2004-02-01 | 1 | -20/+20 | ||
| | ||||||
* | link into build. make obj is safe in arm dir. | 2004-02-01 | 1 | -2/+2 | ||
| | ||||||
* | tag.. | 2004-02-01 | 1 | -0/+1 | ||
| | ||||||
* | startup files for arm. Partially borrowed from NetBSD. | 2004-02-01 | 3 | -0/+264 | ||
| | ||||||
* | for make obj, enter x86_64; mickey ok | 2004-01-28 | 1 | -2/+2 | ||
| | ||||||
* | things for amd64; from art@ | 2004-01-28 | 6 | -0/+500 | ||
| |