summaryrefslogtreecommitdiff
path: root/gnu
AgeCommit message (Collapse)Author
2010-09-14Provide a LOCAL_ALIGNMENT() macro, as on other strict alignment architectures.Miod Vallat
2010-09-11Setup sane INCLUDE_DEFAULTS when cross compiling.Joel Sing
ok drahn@
2010-09-11Make sure we build all the required integer-to-float and float-to-integerMark Kettenis
functions that are needed on mips64. ok miod@
2010-09-10Add infrastructure to build GCC 4.2.1 for OpenBSD/mips64. Only tested onMark Kettenis
loongson (mips64el). ok miod@
2010-09-09let gcc4 build on landiskJonathan Gray
initial diff from jasper, finished by me with help from miod ok jasper@ miod@ kettenis@
2010-09-06enable wide character support; ok nicm@Christian Weisgerber
2010-09-04Compile the v3 demangler support code in libiberty, bump minor. Will be usedMiod Vallat
in a not-so-distant future. ok kettenis@ (some time ago)
2010-08-29Make sure local arrays of chars are word-aligned on strict alignmentMark Kettenis
architectures, just like what is done for global ones. This isn't just an optiization. There is a long tradition of building packets in arrays of chars on the stack by using casts to types that require stricter alignment. Ignore the language lawyers say it isn't explicitly allowed by the C standard. Historically many (all?) C compilers have handled that just fine, so it is stupid to break this. Thanks to mikeb@ for finding the GCC bug report against upstream GCC 4.2.1. This fixes hppa/hppa64 and sparc/sparc64 as discuessed with miod@ (upstream only fixed sparc/sparc64). Other strict alignment architectures will need similar fixes. ok deraadt@, mikeb@, miod@
2010-08-01Add infrastructure to buil GCC 4.2.1 on OpenBSD/sparc.Mark Kettenis
2010-08-01Make __builtin_return_address(0) work with -fstack-protector. Old diffMark Kettenis
from Jakub Jelinek that never made it into upstream GCC. Fixes ld.so. Found by drahn@ and me; ok miod@
2010-07-26Turn on -Wsystem-headers by default, so that glitches in our headersPhilip Guenthe
aren't silently ignored but rather get warned about and fixed. Purely stylistic warnings like -Wredundant-decls are your own problem however. testing help from landry@, header fixes from kettenis@ ok deraadt@
2010-07-26- replace SP with sp calls. this was defined within cvs.1, but unsupportedJason McIntyre
by mandoc; diff from kristaps - while here, fix a bad width specifier
2010-07-22As per OpenCVS, general usage in coversation and apparently newerJonathan Gray
upstream versions of this code, add blame as an alias for annotate. ok henning@ fgsch@ deraadt@ thib@ krw@
2010-07-20disconnect groff_man(7) from the build and install man(7) instead;Ingo Schwarze
"fine" jmc@ "no worries" deraadt@ "looks good" J.C. Roberts
2010-07-19Fix handling of hidden symbols on hppa. Patch from upstream (Alan Modra).Mark Kettenis
ok miod@, tested by landry@
2010-07-16Exit strip(1) with an error, if an objfile could not be read.Marco Pfatschbacher
Input and OK millert@
2010-06-28Update the Safe module to version 2.2.7 for CVE-2010-1168 andTodd C. Miller
CVE-2010-1447. From Ian McWilliam
2010-06-11Add support for Intel AES-NI and the CLMUL_ instructions, plus a few othersThordur I. Bjornsson
that are needed to omplement accelerated AES (and AES-GCM mode) on newer Intel cores. Diff from Mike Belopuhov. no objections/ok miod@
2010-06-06Back out rev. 1.2 which breakes the .hw roff instruction,Ingo Schwarze
found the hard way by matthieu@ and krw@ in /usr/xenocara/lib/libXaw/spec/strings.mit. This needs to be done more carefully. Sorry!
2010-06-06plug fd leak when using --html --css-include. fixes pr/6387.Federico G. Schwindt
millert@ ok.
2010-06-06Yet another underflow. Found while hunting down the ICEs that happenMatthias Kilian
from time to time when building the www/larbin port. This is an independent bugfix, and it's different from 4.5.0. ok espie@
2010-06-06prevent segfault on amd64 when -Wmissing-include-dirs -I/nonexistentMarc Espie
(happens even with empty files), as diagnosed with kili@ on evolution-database. We obviously need to check the token chain and go up if we're at the start of a buffer (unless we're really at the start unless we have to give up). Independent fix. Same functionality as code found on the gcc 4.5 branch, but completely different lines. okay miod@
2010-06-05Increase the -man -Tascii text width from 65 to 78 charactersIngo Schwarze
in both our old in-tree groff and in mandoc, because 1) It looks and reads better. 2) It agrees with both bsd.lv mandoc and with modern groff. The tmac.an part was done by millert@, with a minor fix by me. While touching our old groff, switch off hyphenation, suggested a long time ago by millert@. It helps searching and comparisons. While touching mandoc terminal_man(), explicitely initialize the tabwidth - not strictly required, but easier to understand and more robust, also suggested by millert@. General mumbling of agreement by many, including millert@ deraadt@ jmc@ sobrado@ ... Remaining problem: Setting the title length (.lt) has no effect for me, but we can fix this in tree in case anybody figures it out.
2010-05-30Only enable -fstack-protector by default on targets that support it.Mark Kettenis
ok marco@
2010-05-30Fix ICE on hppa. Variant on minimal fix from GCC PR 34762.Mark Kettenis
ok deraadt@
2010-05-26make gcc4 lib sprintf/strcpy free.Marc Espie
activate proper C99 stuff. fix locale support when there's no locale. work common with kettenis@
2010-05-25Initialise "last" pointer in node class constructor, fixes crashes withNicholas Marriott
some man pages when built with gcc4. ok deraadt
2010-05-25Enable -fstack-protector by default.Robert Nagy
2010-05-25unlink g77 from the build.Marc Espie
as discussed with Theo, so that he can synch set. (eventual gcc2 fallout to fix later)
2010-05-24Make sure references to hidden symbols are resolved locally and don't goMark Kettenis
through the PLT.
2010-05-24Link against libc_p and libpthread_p when -p or -pg is specified, like we didMark Kettenis
for gcc3. ok espie@
2010-05-23GCC PR C++/33094.Marc Espie
C++ semantics fix. Member constants can be file-local, if they're not external. Fixes build of py-tagpy, which barfs in Boost otherwise. (original fix, different text from gcc 4.2.4) okay deraadt@, kettenis@
2010-05-20We have a copy of git_version.h in src so that we can build libperlTodd C. Miller
with out own rules but apparently this causes problems after git_version.h is generated in the obj dir. This will only ever be a stub as we build from a release, not a git checkout. Add a pre-generated lib/Config_git.pl and prevent git_version.h and Config_git.pl from being removed by the clean target. Appears to fix parallel make issues. OK oga@
2010-05-20turn off strict overflow for all optimizations on OpenBSD, also disable wrapv.Dale Rahn
ok kettenis@ robert@, tested by marco@, kevlo@ myself
2010-05-17always provide "includes" targetChristian Weisgerber
2010-05-16the cp-demangler is part of libsupc++ as wellMarc Espie
2010-05-16Don't include -ftree-vrp in -O2 and higher as it has known bugs in gcc 4.2.Jonathan Gray
Fixes jdk builds among other things. ok robert@ espie@
2010-05-16install unwind.h, like for gcc3.Marc Espie
problem spotted by matthieu/naddy okay kettenis@, matthieu@
2010-05-15We really want position independant objects in libsupc++.a.Matthieu Herrb
ok espie@
2010-05-15Add libsupc++-v3Robert Nagy
2010-05-15Add Makefile for libsupc++-v3 that pulls common stuff fromRobert Nagy
libstdc++-v3/Makefile.common. ok espie@
2010-05-15Move libsupc++ sources and other common stuff to Makefile.commonRobert Nagy
to be used by gnu/lib/libsupc++-v3 and gnu/lib/libstdc++-v3 ok espie@
2010-05-14Fix ICE when checking a zero-size array for __bounded__ (TYPE_MAX_VALUENicholas Marriott
is now NULL for zero-length arrays so check for that). ok avsm
2010-05-12wint_t is int on OpenBSD; ok kettenis@Christian Weisgerber
2010-05-12port -ftrampolines/-Wtrampolines support from gcc3.Marc Espie
comments and okay kettenis@
2010-05-12options.[ch] will auto-define those.Marc Espie
okay kettenis@
2010-05-11default to march=i486 for gcc4 as we no longer run on 386 class machinesJonathan Gray
and this lets gcc emit code with xadd/cmpxchg instructions. ok kettenis@
2010-05-10Use OPENBSD_OS_CPP_BUILTINS(), and add a few missing defines to make sureMark Kettenis
the types used by GCC match those in machine/_types.h.
2010-05-10Switch to using COMPILER_VERSION instead of USE_GCC3, allows for more flexibleDale Rahn
complier picking, eg supporting gcc2, gcc3, and gcc4. based on diff by Marco, with fixes from espie@. ok espie@ general mumbling of approval of others.
2010-05-10fix a few strcpy issues.Marc Espie
okay millert@, nicm@ ... (thx others for pointing out stupidity in intermediate patches...)