summaryrefslogtreecommitdiff
path: root/gnu
AgeCommit message (Collapse)Author
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
2004-06-24Missing file from 8.13.0Todd C. Miller
2004-06-24Update to sendmail.8.13.0Todd C. Miller
2004-06-22Teach mkhybrid how to create an El Torito non-emulation boot CD, withTom Cosgrove
a 2,048-byte boot sector. ok weingart@
2004-06-22sync with lynx 2.8.5.rel2 which fixes a few minor bugs (null pointer checks,Anil Madhavapeddy
progress bar with very slow connections)
2004-06-22trim some other-os build stuff that crept inAnil Madhavapeddy
2004-06-22update to lynx 2.8.5rel.1Anil Madhavapeddy
tested todd@,naddy@. millert@ deraadt@ ok
2004-06-21Recognize cats as an arm machine. Dunno how this was missed before.Dale Rahn
2004-06-21back out CPP change; obviously not tested. On at least arm, kills atTheo de Raadt
least ANSI_VARARGS deep inside the configure. Sorry -- try again.
2004-06-21propagate CPP here as wellAnil Madhavapeddy
2004-06-21propagate CPP to build system as well, millert@ okAnil Madhavapeddy
2004-06-20ICE with gcc3/propolice -O on macppc fixes:Hiroaki Etoh
- INSN_CODE and LOG_LINKS attributes should be copied from the first insn of splitted insns. ok pvalchev@ and sturm@
2004-06-18tagortag -> tag or tag. From Fabio Olive Leite.Otto Moerbeek
2004-06-16grok 4 new instructions which will show up in VIA C3 Esther, whichTheo de Raadt
isn't that far away... xcrypt-ctr (AES ctr mode), montmul (montgomery multiply for 800 RSA sign/sec at 1024bit), and xsha1/xsha256 too.
2004-06-15Use gen_rtx_REG and gen_rtx_MEM instead of gen_rtx(REG,..) and gen_rtx(MEM,..).Miod Vallat
No functional change, it's just faster.
2004-06-12Revert 1.10 - there are still bad interactions between block_move_no_loop()Miod Vallat
and the reload phase when compiling complex code, and the fix is non-trivial.
2004-06-10Typos in option descriptions; fixed in gcc 3.Miod Vallat
2004-06-09The GO_IF_LEGITIMATE_ADDRESS fix in m88k.h, as well as all the FUNCTION_ARGMiod Vallat
and FUNCTION_ARG_ADVANCE fixes in m88k.c, allow the optimized bcopy sequences to be reliable again, so enable them back.
2004-06-09In FUNCTION_ARG_ADVANCE(), do not pad the register position counter if theMiod Vallat
parameter is going to hit the stack.
2004-06-09Several potential security problems found and fixed by Stefan Esser &Otto Moerbeek
Sebastian Krahmer. ok millert@
2004-06-09More meaningful formulation of the __va_stk initialization inMiod Vallat
__builtin_saveregs(); no functional change.
2004-06-07Recognize hppa core files.Mark Kettenis
ok mickey@, drahn@, deraadt@
2004-06-07enable dynamic perl; millert okMichael Shalayeff
MAKE SURE TO REBUILD LD.SO FIRST