summaryrefslogtreecommitdiff
path: root/gnu
AgeCommit message (Collapse)Author
2003-10-15reverse the comment on binutils gas/ld as that's what it is nowMichael Shalayeff
2003-10-11Bye bye GNU bc/dc.Otto Moerbeek
ok deraadt@
2003-10-07toplev.c, flags.h: add -fstack-protector-all option to generate protection ↵Hiroaki Etoh
instruments for every functions. ok pvalchev@
2003-10-07flag_stack_protection enables to genereate protecting instruments for every ↵Hiroaki Etoh
functions. ok pvalchev@
2003-10-07rtl_epilogue: fix pp warning message trouble at -Wmissing-noreturn.Hiroaki Etoh
ok pvalchev@
2003-10-07copy_args_for_protection: fix the problem that move_arg_location may corrupt ↵Hiroaki Etoh
the contents of DECL_RTL (parms). ok pvalchev@
2003-10-06This is one of these eerie moments when you realize that a significant partMiod Vallat
of your beliefs are wrong. In this case, trust in gcc. When computing the address of a field in a structure on stack, and: - the offset of the structure relative to the stack pointer and - the offset of the field relative to the structure have no _bits_ in common (for example, accessing field at structure(8) with the structure at sp(64)), triggers a gcc optimization in the following improvement: (plus (plus (frame_pointer offset_for_structure) offset_for_field)) changing into (plus (frame_pointer direct_offset_for_field)) In the aforementioned "no bits in common" case, gcc will use (or (plus frame_pointer offset_for_structure) offset_for_field) which is not necessarily correct, depending on the value of the frame pointer... Checking generated assembly code for a kernel compilation pointed out that ALL architectures were affected by this bug (some, such as m88k, alpha and sparc64, being much more affected than others, such as vax and m68k). Our first move was to backport a fix for this found in the gcc 3.x branch, however it relies upon several microbugfixes scattered around, and produced a misbehaving kernel on one particular machine. So what goes in with this commit is just a conservative fix which disables this particular "bitwise or is fun" optimization. Problem discovery and analysis by yours truly. Fix by etoh@ and I. Tested on all supported architectures by various people, including deraadt@, henning@, mickey@, naddy@ and I.
2003-10-03missing -h support; jeffi@rcn.comTheo de Raadt
2003-10-03Make msp bind to 127.0.0.1 instead of localhost since "localhost" mayTodd C. Miller
not resolve correctly via DNS.
2003-10-01Introduce a new target switch, -mmemcpy (and -mno-memcpy).Miod Vallat
This switch forces block copy operations to always fallback to memcpy() when it is not done by inline load and stores, rather than using the m88k movstr* functions found in libgcc. The name of this option has been choosen after the mips back end, which has a similar option. Right now, this is a no-op since these functions are disabled due to (yet) another gcc bug; but this will help building standalone code, such as the kernel and boot blocks, without having to link against libgcc.
2003-10-01Don't use the contents of ~/.signature for the Organization field.Todd C. Miller
Closes PR 3499; deraadt@ OK
2003-09-26Disable bc (and dc).Otto Moerbeek
ok deraadt@
2003-09-25Free buffer and set it to NULL on error lest it be used.Todd C. Miller
Fixes a crash when MALLOC_OPTIONS includes 'J' found by david@.
2003-09-20Fix pasto; closes PR 3482Todd C. Miller
2003-09-20powerpc ld.so has a slightly unreasonable expectation about __got_startDale Rahn
and the location of the GOT. reorder GOT and the CTOR/DTOR section.
2003-09-19Make CTORS/DTORS non-writeable in dynamic binaries. ok deraadt@Dale Rahn
2003-09-18- missing .ElJason McIntyre
- new sentence, new line - kill whitespace at EOL - OpenBSD -> .Ox - add $OpenBSD$
2003-09-17New sendmail prototype for OpenBSD with more features enabled thatTodd C. Miller
people accepting mail from the net tend to use. The localhost-only config is not being changed since most of these changes don't make sense there.
2003-09-17Update to sendmail-8.12.10. This includes a fix for a buffer overflowTodd C. Miller
in address parsing. That fix (but not all of sendmail-8.12.10) has been applied to OpenBSD 3.4 and the 3.2 and 3.2 -stable branches.
2003-09-16from millertTheo de Raadt
2003-09-09pass the -a flag to grep so that it doesn't treat some info files as binaryDavid Krause
ok deraadt@
2003-09-05Stop the bounds checker warning on a bound of 0, so now it only triggersAnil Madhavapeddy
on negative values. Suppresses some warnings on code which is useless but legal. deraadt@ ok
2003-09-03- use displays and indentJason McIntyre
- use .Sq
2003-09-03- new sentence, new lineJason McIntyre
- section reorder - use .Sq instead of `' - kill whitespace - typos
2003-09-02escape punctuation;Jason McIntyre
ok deraadt@
2003-09-02A slightly reworked version of the "default to -fno-ident" change, whichMiod Vallat
improves diffability against stock gcc sources, for us alzheimer-impaired people. Requested by deraadt@ (no functional change)
2003-08-26stop dumping "GCC: (GNU) 2.95.3 20010125 (prerelease, propolice)" intoTed Unangst
every object by default. ok avsm@ henning@ marc@
2003-08-22Enable support for DSN-specific timeouts. This allows you to junkTodd C. Miller
bounces faster than normal messages so they don't clutter up the queue so much. Requested by Chuck Yerkes
2003-08-21A port of the g++ bugfix found atMiod Vallat
http://gcc.gnu.org/ml/gcc-bugs/1999-08n/msg00621.html and described in the related thread. This particular problem used to not be triggered (or not often), but the use of propolice affects the instruction flow, and started triggering it more often, for example in Qt's qmenubar class. Ironically, running with /etc/malloc.conf->AJ would neuter the bug in this case... Problem tracked by espie@ and etoh@, tested by various, ok deraadt@
2003-08-21fix symbol name error in mcount functionality in a.out->ELF transition.Dale Rahn
This changes the real definition to __mcount, but with a weak mcount for compat. On the next major bump the weak alias should be removed. Without this diff the compiler symbol mcount conflicts with the user mcount() function.
2003-08-19typo in comment, compiler vs. complierBrad Smith
2003-08-15remove extra \n in {warn,err}{,x} callsTheo de Raadt
2003-08-13Correct comments about queue runner.Todd C. Miller
2003-08-13Install sendmail tuning guideTodd C. Miller
2003-08-12Stop the madness, though shalt not pass FD_SETSIZE as the first param toTodd C. Miller
select(2) needlessly. deraadt@ OK
2003-08-12Don't tell people to use FD_SETSIZE as the first argument to select().Todd C. Miller
2003-08-11Convert to queue groups and queuing-only config w/ a queue runner.Todd C. Miller
This keeps sendmail from DoSing my machine when thousands of messages come in (generally mailing list bounces).
2003-08-10link File::Basename to basename, dirname, fileparseMarc Espie
ok millert@ `as long as basename(3) still points to the C routine'
2003-08-10sprintf -> snprintf, okay millert@.Marc Espie
2003-08-09Perl hints to use -O1 on mvme88k now; ok millert@Miod Vallat
2003-08-09fix for mcount call to allow .text sizes larger than 512k; epsie@ okMichael Shalayeff
2003-08-08On some architectures, being too optimistic in preserve_subexpressions_p(),Miod Vallat
for example when -fexpensive-optimizations is used, sometimes causes incorrect code sequences to be generated. As -fexpensive-optimizations is implied by -O2, this means we are potentially affected by this in numerous places... so add a specific workaround to nullify expensizve-optimizations in preserve_subexpressions_p() on a known-to-be-affected basis. So far, only alpha, powerpc, m88k, sparc and sparc64 are affected. Problem tracked down by henning@ - analysis by etoh@ and I - ugly workaround by me - ok deraadt@
2003-08-07Disable the so-called optimized memcpy functions for small (less than a fewMiod Vallat
hundred bytes) block copies. While the functions themselves are probably optimal or not far from it, the code responsible for their invocation is not, and has a bad tendency of miscomputing the destination buffer address, especially when optimization is used. This is a temporary measure, these functions will be reenabled once a good fix is ready. ok deraadt@ espie@
2003-08-06Check for and skip variable-length arrays while bounds checking insteadAnil Madhavapeddy
of erroring out in a later sanity check. Error noticed by jolan@ This only affects the -Wbounded case
2003-08-06small cleanup;Jason McIntyre
ok millert@
2003-08-06backport a fix from current gdb to fix a crash when using set enumTed Unangst
without an argument. problem reported by adrian at coresecurity.com ok millert@
2003-08-03gnu gzip dir is now bye byeTheo de Raadt
2003-08-01A working gcc 2.95/m88k compiler, for some low standard value of working.Miod Vallat
Configuration settings mostly borrowed from the former gcc 2.8 configuration. A few typos and fixes backported from gcc 3.3, and a hell lot of fixes from my fingertips. This is enough to yield a compiler which will produce correct code at -O0. Optimization is slightly broken for some constructs, and more fixes are in the pipeline. ok deraadt@
2003-08-01Back out threads setting inadvertently added in last commit.Todd C. Miller
2003-07-31We no longer use GNU diffutils; don't tell rcs we do...Todd C. Miller