summaryrefslogtreecommitdiff
path: root/gnu/usr.bin
AgeCommit message (Collapse)Author
2013-10-19Depending on wether the kernel has been compiled with or withoutAlexander Bluhm
debug information, gdb will either see calltrap or alltraps in the stack trace of a kernel core file. To make the gdb backtrace command work without debug information in the amd64 kernel, add the same special case for alltraps as for calltrap. OK miod@
2013-10-09Merge binutils 2.15 einfo() buffering change to binutils-2.17.Todd C. Miller
OK deraadt@ miod@
2013-09-30Make stderr buffered in einfo(). Speeds up display of error messagesTodd C. Miller
on slower platforms. Idea from espie@, OK espie@ deraadt@ guenther@
2013-09-05gcc4 has phased out -W in favor of -Wextra. Teach gcc3 to recognize -WextraMiod Vallat
as an ersatz for -W. Now that more and more third-party software assumes the compiler supports -Wextra, this is definitely worth doing.
2013-09-05Explicitely define USE_GAS for OpenBSD targets; the configure machinery inMiod Vallat
gcc 3 no longer defines this for us.
2013-08-13Switch time_t, ino_t, clock_t, and struct kevent's ident and dataPhilip Guenther
members to 64bit types. Assign new syscall numbers for (almost all) the syscalls that involve the affected types, including anything with time_t, timeval, itimerval, timespec, rusage, dirent, stat, or kevent arguments. Add a d_off member to struct dirent and replace getdirentries() with getdents(), thus immensely simplifying and accelerating telldir/seekdir. Build perl with -DBIG_TIME. Bump the major on every single base library: the compat bits included here are only good enough to make the transition; the T32 compat option will be burned as soon as we've reached the new world are are happy with the snapshots for all architectures. DANGER: ABI incompatibility. Updating to this kernel requires extra work or you won't be able to login: install a snapshot instead. Much assistance in fixing userland issues from deraadt@ and tedu@ and build assistance from todd@ and otto@
2013-08-11A few fixes from Tim Mcintosh:Miod Vallat
- provide 88110 syntactic sugar for the control register names - correctly handle -m options - and a minor fix to allow the register prefix to correctly be recognized in front of the condition codes (only needed for SVR4)
2013-08-08Prep for big ino_t: cast to unsigned long long and format with %ll or %qPhilip Guenther
httpd correction and ok kettenis@
1998-03-12Latest version from CyclicThorsten Lockert
2013-08-07don't warn on missing newline at eofJonathan Gray
matches the behaviour of gcc >= 4.3 and clang ok miod@
2003-11-29Import gcc-3.3.2. Only the compiler. ada frontend removed for space Marc Espie
considerations.
2013-08-06Remove support for COMPILER_VERSION == gcc2.Miod Vallat
Change the logic depending upon COMPILER_VERSION everywhere, to assume gcc4 is the norm and to explicitely test for gcc3 when a different behaviour is required. No functional change intended. Be sure to `make install' in share/mk before attempting to do anything.
2013-08-06Switch vax to gcc 3.3.6.Miod Vallat
2013-08-06One major difference between gcc 2.95 and gcc 3, is that the latter comesMiod Vallat
with an optimization pass which attemps to identify and remove dead stores. Unfortunately, this logic assumes that a given rtl MEM reference can only refer to register contents and values, but not further dereference memory. This is not true of all addressing modes on vax, and this causes gcc 3 to consider as dead stores everything which can be expressed as *offset(register) in vax assembly. The canonical example of this is linked list insertion or removal, with instructions such as "item->prev->next = item->next" being wrongly optimized out, and cause double frees or other funny linking problems later on. Add a knob to disable the troublesome part of that optimization pass, and only enable this knob on vax. This gives a native vax gcc 3 compiler able to rebuild the world.
2003-11-29Import gcc-3.3.2. Only the compiler. ada frontend removed for space Marc Espie
considerations.
2003-11-29Import gcc-3.3.2. Only the compiler. ada frontend removed for space Marc Espie
considerations.
2013-08-05Use proper types for device and inode numbersPhilip Guenther
ok kettenis@
2013-07-13Register GDB_OSABI_OPENBSD_ELF as well.Miod Vallat
2013-07-13In Perl_upg_version(), do not compare double against 10e50 on vax, for thisMiod Vallat
value can not be represented by a double (unless compiling with -mg); instead, use a lower limit value. This does not impact the behaviour since both sides of the test are supposed to produce the same result, albeit in different ways. ok millert@ espie@
2013-07-11ELF configuration for gcc3 on vax.Miod Vallat
2013-07-05Put the a.out as and ld to rest in the Attic, finally!Miod Vallat
2013-07-05ELF_TOOLCHAIN bye bye.Miod Vallat
2013-07-05VAX ELF toolchain, using `%' as the register prefix. Heavily based uponMiod Vallat
NetBSD.
1995-10-18initial import of NetBSD treeTheo de Raadt
2013-07-04Add support for the GCC binary integer constants extension.Jonathan Gray
From Joerg Wunsch in GCC PR 23479, under the GPLv2. This is required to build the i965 backend with newer versions of mesa. ok kettenis@ espie@ miod@
2003-11-29Import gcc-3.3.2. Only the compiler. ada frontend removed for space Marc Espie
considerations.
2013-07-01Unbreak "make includes" with an empty /usr/include by creating the 'objc'Martin Pieuchot
directory if it doesn't exist. ok sthen@, espie@
2013-06-20Move the declaration of `disable_x_prog' outside of a #ifdef AUTH_SERVER_SUPPORTMiod Vallat
block where it had been mistakenly put in the first place (in r1.28).
2013-06-19don't link to hx509, pthread and ntlm related librariesRobert Nagy
2013-06-18Shuffle library link order to appease the static arch deities.Miod Vallat
2013-06-17link to the new kerberos librariesRobert Nagy
2013-06-04classify_integer(): test whether the value can be built using the `set'Miod Vallat
instruction, before testing whether it can be built with `or.u'; this allows further optimization. condition_value(): handle ORDERED and UNORDERED condition codes. print_operand(): remove support for no longer used `w' qualifier.
2013-06-04Add "length" attribute to "weird" class instructions of small length: userMiod Vallat
inline assembly, tb/tbnd instructions. Don't use `r' qualifier for "register_operand", it's redundant.
2013-06-04Do not feed UTF-8 input into mandoc or nroffIngo Schwarze
because that resulted in corrupt output. This is a verbatim backport of the following bugfix from upstream git master: https://rt.cpan.org/Public/Bug/Display.html?id=77465 https://github.com/mrallen1/Pod-Perldoc/commit/6e1541d0bcb74a7b2b9ee3235d57953fb800bb67 Do not take the comment in the source code too literally. It doesn't really explain the problem well. OK sthen@ espie@ millert@
2013-06-03avoid rebuilding server.c and client.c in the install targetRobert Nagy
2013-06-03Only produce UTF-8 output if the user's locale asks for it.Ingo Schwarze
Will send this upstream as well. OK millert@ bluhm@ stsp@
2013-06-03backport commitid support from newer CVS (with a different random idjoshua stein
generator) writing a commitid is currently disabled ok deraadt
1997-03-18New release from Cyclic SoftwareThorsten Lockert
1996-01-30Upgrade to 1.7.1 snapshotThorsten Lockert
1995-12-19raw import of cvs-1.6Theo de Raadt
2013-05-18Put libgcov.a in the same directory as libgcc.a rather than /usr/lib (unlikeMiod Vallat
FreeBSD).
2013-05-18Build and install libgcov on gcc 4 platforms. Build machinery from FreeBSD.Miod Vallat
This makes gcc -fprofile-arcs work again. Regression reported by Azwaw OUSADOU on tech@, thanks for noticing and sorry for the delay fixing this.
2009-10-15Import a BSD make based infrastructure for building gcc, based on theRobert Nagy
same solution from FreeBSD. Don't even try to build it at the moment. This is commited so people can work on it in tree.
2013-05-17Don't reject '++' and '--' in expressions. Some versions of gcc emit these.Mark Kettenis
Fix found upstream. ok miod@, martynas@
2013-05-14make sure the linear ordering matches what makedoc actually does, otherwiseMarc Espie
make -j might rebuild those spuriously when they end up being out of date... okay millert@
2013-05-09Allow gdb on m88k to fetch symbols from shared libraries when debuggingMiod Vallat
dynamically linked binaries. Borrowed from m68k with trivial changes. ok kettenis@
2013-05-08A port of the current gcc 3.3.6 m88k backend to gcc 4.2.1.Miod Vallat
Main features: - md constraints rewritten in RTL - md predicaties rewritten in RTL - md va_arg switched to gimple - abort() calls replaced with gcc_assert() or gcc_unreachable() for better diagnostics - support for non-ELF systems completely removed Missing: - conversion of the pipeline information from define_function_unit to define_automata not done yet (thus pipeline information currently removed) Known regressions against 3.3.6 so far: - no stack protector support yet - __builtin_setjmp doesn't restore the frame pointer correctly upon return from __builtin_longjmp - at least one case of optimization error when delay slots are not disabled. - libgcc is only built -fPIC, instead of static/fpic/fPIC.
2013-05-08In block_move_sequence(), use emit_move_insn() instead of rolling our ownMiod Vallat
incomplete equivalent. The ugly BLK<->{QI,HI,SI,DI} load and store insns in m88k.md can thus get removed, and there was much rejoicing (as well as fewer warnings when building).
2013-05-08Do not define OBSD_NO_DYNAMIC_LIBRARIES when building an ELF m88k compiler.Miod Vallat
2013-04-28Revert the previous commit. It breaks the xenocara build on macppc and theBrian Callahan
issue it fixes will be fixed anyway once the move to binutils-2.17 happens. xenocara breakage discovered by matthieu@