summaryrefslogtreecommitdiff
path: root/gnu
AgeCommit message (Collapse)Author
2004-08-17strncmp works only if starting after start of buffer.Marc Espie
found thx to mmap malloc. okay millert@ deraadt@
2004-08-15Don't check for -fno-delete-null-pointer-checks on gcc 2; the resultingTodd C. Miller
message from gcc at Configure time confuses some people...
2004-08-14Set default ABI to "OpenBSD ELF" on amd64.Mark Kettenis
ok tedu@
2004-08-14Add example genericstableTodd C. Miller
2004-08-14When reading the ld.so hints file, map the entire file in a single mmapDale Rahn
instead of assuming the region after the first mmap is available. Same change was made to ELF ld.so previously. ok deraadt miod pvalchev
2004-08-14gcc 3.3.2 needs -fno-delete-null-pointer-checks in addition toTodd C. Miller
-fno-strict-aliasing. Avoid the need for compiling some bits with -O1 on arm (and others). Problem debugged and OK miod@
2004-08-13Add sparc64 libkvm kernel memory image debugging support.Mark Kettenis
2004-08-13Adjust sigtramp recognition for (not so recent) changes on sparc64.Mark Kettenis
2004-08-12Avoid dereferencing outside the bounds of an array. Found by mmapTodd C. Miller
malloc and reproducible via guard pages. OK deraadt@ miod@ tdeval@
2004-08-11Pick common code for trampoline mprotect() code. This did not work at allMiod Vallat
on amd64 and was working on sparc64 by sheer luck (because we are not Solaris).
2004-08-11Clean up old mips stuff and add sgi.Per Fogelstrom
ok deraadt@
2004-08-11mips->mips64. ok deraadt@Per Fogelstrom
2004-08-10missing \ at eolTheo de Raadt
2004-08-09proper version chekc for shlibsMichael Shalayeff
2004-08-09merge 5.8.5 into HEADTodd C. Miller
remove now-unused files crank libperl shared library major number update Makefile.bsd-wrapper tweak openbsd hints file for arm and m68k
2004-08-09Import of stock perl 5.8.5Todd C. Miller
2004-08-09Remove second instance of nls.c from the file list.Per Fogelstrom
OK from kettenis@, deraadt@
2004-08-09fix obvious typo in catalogMarc Espie
2004-08-08Correct handling of union return values on vax.Mark Kettenis
Fix stepping over functions on vax. ok tdeval@
2004-08-08Make sure that format variable is not a variable sized array correctlyAnil Madhavapeddy
when doing bounds checking (bug revealed by mmap malloc). Noticed by krause@, tested otto@
2004-08-05Watch your step and do not access memory below what you've just allocated;Miod Vallat
fixes SIGV on m68k. ok tdeval@ millert@
2004-08-04Fix propolice merge error in options list.Miod Vallat
2004-07-31eliminate portion for 3.2, there was no 3.2 release.Brad Smith
ok mickey@
2004-07-28In the never-ending saga of getting gcc to work reliably on m88k, today'sMiod Vallat
changes address incorrect stack usage, when optimization needs more nameless temporary values than available registers, and has to save them on stack. In some (rare) circumstances, it will compute a stack address _outside_ the current function local storage space, overwriting the caller's stack. Most of the time, this only affects the "outgoing argument area", which is harmless if it has not been populated; this explains why it has not been noticed earlier. Since I see no easy way to fix this, I decided to go the simpler way of removing this ougoing argument area. This not only reduces stack usage, but also makes varargs/stdarg code smaller and faster; also functions which get their first few arguments in registers, then some on the stack, then some in registers again, will not allocate stack space for the second set of arguments passed through registers. This is an ABI change, we are no longer 88Open compliant (have we ever been?).
2004-07-28fix path to sendmail's README;Jason McIntyre
from Jonathan Gray (PR #3870); ok millert@
2004-07-27Don't override PREFERRED_DEBUGGING_TYPE. This makes DWARF2 the defaultMark Kettenis
again; stabs doesn't work for 64-bit code. ok miod@, espie@
2004-07-25Always build a stack frame when profiling. Otherwise profiling would onlyMiod Vallat
work for code compiled at -O0...
2004-07-22Add vax libkvm kernel memory image debugging support.Mark Kettenis
ok miod@, wow deraadt@
2004-07-21In builtin_saveregs(), try to save registers with double store instructions,Miod Vallat
knowing that the area we are using is correctly aligned. Produces smaller and faster code (about 0.8% time decrease in a complete build, which amounts to roughly 15 minutes).
2004-07-20Do not provide builtins for strcpy() and strcat(), as done with gcc 2, onMiod Vallat
the sole purpose of making these easier to spot and exterminate. tested by various people on amd64 and I on arm&sparc64, ok deraadt@
2004-07-19In builtin_saveregs(), do not systematically allocate 8 words on the stackMiod Vallat
for registers if at least one nameless argument is passed through registers; instead, only allocate as many bytes as necessary. Slightly reduces stack usage; no ABI change.
2004-07-17Minor cleanups (remove duplicated extern lines, useMiod Vallat
current_function_{stdarg,varargs} instead of homegrown implementation, etc. No functional change.
2004-07-13switch sparc to setjmp/longjmp exceptions as DWARF2 handling is not present.Peter Valchev
fixes C++ exceptions. this relies on an earlier libstdc++ bump
2004-07-13bump these again, depending on gcc2/gcc3 a different library is installedDale Rahn
and they have different major numbers to prevent collision.
2004-07-13errno changes, lib major version bumps, and general flag dayMarco S Hyman
To build you must: cd /usr/src && make obj && make includes cd lib/libc && make depend && make && NOMAN=1 sudo make install cd /usr/src && make build
2004-07-13A better fix for the m68k optimize_reg_copy_3() problem.Miod Vallat
The problem really only arises when optimize_reg_copy_3() attempts to merge a load which fits in a register and a load which does not fit - in the m68k case, merging an int32_t foo and (int64_t)foo two lines later. In this case, and only if the backend provides its own expansion of the extendsidi2 insn (usually for performance and code size reasons) as embedded assembly statements but not rtl operations, then gcc at this point will ``fail to realize'' that when sign-extending (or zero-extending) the value of rN into rN and r(N+1), the value of rN is not preserved on big-endian architectures, and the optimization will produce bad code. Of all the OpenBSD-supported platforms, arm and m68k are the only affected; but further optimizations in gcc3 (on arm) apparently neuter this bug, which I have been unable to reproduce in an arm build with gcc3. This commit works around the problem by preventing expansions larger than the width of a general register, on m68k only. Other platforms are not affected.
2004-07-12point people to milter html docs;Jason McIntyre
suggested by Alexey E. Suslikov; ok millert@
2004-07-12Oops, adjust for __va_list size increase.Miod Vallat
2004-07-11move PICFLAG override for sparc after the inclusion of bsd.lib.mk; ok deraadtPeter Valchev
forgot to commit this with the .mk changes, sparc was broken for a while
2004-07-08Sync libkvm interface with FSF repository. This adds new "kvm proc" andMark Kettenis
"kvm pcb" commands. ok deraadt@
2004-07-06Unbreak m68k build.Mark Kettenis
ok miod@
2004-07-05Compile at -O1 on m68k, sig11 in LYMainLoop at -O2.Miod Vallat
2004-07-04Disable optimize_reg_copy_3() on m68k platforms.Miod Vallat
This is a workaround for lines 1055-1057 of tcp_input.c being miscompiled, though the problem looks like missing use/clobber qualifiers in the extendplussidi insn, rather than a specific optimize_reg_copy_3() issue. A proper fix may be devised in the future, in the meantime this allows m68k platforms to be back in track.
2004-07-04cats -> arm; miod okTheo de Raadt
2004-06-29Install milter docsTodd C. Miller
2004-06-29Install correct milter includesTodd C. Miller
2004-06-29Build and install libmilter.a (static only) and libmilter.h. OK deraadt@Todd C. Miller
2004-06-27Let's have http://www.OpenBSD.org/ defined as the STARTFILE again.Robert Nagy
ok deraadt@
2004-06-26Fix merge errorTom Cosgrove
ok drahn@
2004-06-24let vax build lynx (workaround); miod okTheo de Raadt