summaryrefslogtreecommitdiff
path: root/gnu
Commit message (Collapse)AuthorAgeFilesLines
* Merge r249836 from stable/8 to releng/8.4: Add FreeBSD 8.4.Sergey Kandaurov2013-04-241-0/+1
| | | | | | | Approved by: re (kib) Notes: svn path=/releng/8.4/; revision=249842
* Update default FreeBSD version.Glen Barber2013-03-181-1/+1
| | | | | | | Approved by: re (jpaetzel) Notes: svn path=/stable/8/; revision=248464
* MFC r217749: Use string literal format strings to quiet clang warnings.Ed Maste2012-12-111-2/+2
| | | | Notes: svn path=/stable/8/; revision=244120
* MFC r241857:Eitan Adler2012-10-301-3/+8
| | | | | | | | | | | | Add support for the "&" character in usernames. Charlie & finally has his last name. PR: gnu/37910 Approved by: cperciva (implicit) Notes: svn path=/stable/8/; revision=242336
* Partial merge of r213507 from head:Isabell Long2012-06-111-1/+8
| | | | | | | | | | | | | | | | | | | | In r178993, the ability to view a man page by giving a path to the man page itself was added, but never documented. Subsequently, the GNU-licensed man(1) and its man page were replaced by BSD licensed implementations, and later on this undocumented functionality was also added to the new BSD-licensed man(1), together with documentation. This is a merge of the documentation part of that commit (r213507) into the GNU-licensed man(1) man page in stable/8, in order to document the available functionality. PR: docs/158973 Merge help: bz Approved by: gabor (mentor) Notes: svn path=/stable/8/; revision=236908
* MFC: r222090: add WITH{,OUT}_{GCC,BINUTILS} providing fine-grained controlDavid E. O'Brien2012-05-301-2/+4
| | | | Notes: svn path=/stable/8/; revision=236342
* Switch the default operating system version printed in the manual pages.Ken Smith2012-02-161-1/+1
| | | | | | | Approved by: re (implicit) Notes: svn path=/stable/8/; revision=231807
* MFC r228060, r228068, r228060Baptiste Daroussin2012-01-162-21/+23
| | | | | | | | | Upgrade gperf to 3.0.3 latest GPLv2 version Approved by: des (mentor) Notes: svn path=/stable/8/; revision=230239
* MFC r208737 (required by OCTEON* kernels):Oleksandr Tymoshenko2011-12-086-8/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add/improve mips64r2, Octeon, n32 and n64 support in the toolchain. o) Add TARGET_ABI to the MIPS toolchain build process. This sets the default ABI to one of o32, n32 or n64. If it is not set, o32 is assumed as that is the current default. o) Set the default GCC cpu type to any specified TARGET_CPUTYPE. This is necessary to have a working "cc" if e.g. mips64 is specified, as binutils will refuse to link objects using different ISAs in some cases. o) Add support for n32 and n64 ABIs to binutils and GCC. o) Add additional required libgcc2 stubs for n32 and n64. o) Add support for the "mips64r2" architecture to GCC. Add the "octeon" o) When static linking, wrap default libraries in --start-group and --end-group. This is required for static linking to work on n64 with the interdependencies between libraries there. This is what other OSes that support n64 seem to do, as well. o) Fix our GCC spec to define __mips64 for 64-bit targets, not __mips64__, the former being what libgcc, etc., check and the latter seemingly being a misspelling of a hand merge from a Linux spec. o) When no TARGET_CPUTYPE is specified at build time, make GCC take the default ISA from the ABI. Our old defaults were too liberal and assumed that 64-bit ABIs should default to the MIPS64 ISA and that 32-bit ABIs should default to the MIPS32 ISA, when we are supporting or will support some systems based on earlier 32-bit and 64-bit ISAs, most notably MIPS-III. o) Merge a new opcode file (and support code) from a later version of binutils and add flags and code necessary to support Octeon-specific instructions. This should also make merging opcodes for other modern architectures easier. No objections from: imp, jmallet, jchandra MFC after: 18 months Notes: svn path=/stable/8/; revision=228337
* MFC 225017:John Baldwin2011-09-161-33/+48
| | | | | | | | | Walk the zombproc list as well as the allproc list when enumerating threads and processes in a kernel image. This allows examination of threads that have exited or are in the late stages of exiting. Notes: svn path=/stable/8/; revision=225629
* MFC: r224687Marius Strobl2011-08-132-0/+3
| | | | | | | | | | | Compile fbsd-threads.c. Amongst others this is necessary for a working kgdb(1). PR: 158719 Reviewed by: marcel Notes: svn path=/stable/8/; revision=224832
* Sync Groff with what's in HEAD except for not re-enabling ANSI SGR support.Ruslan Ermilov2011-06-081-2/+4
| | | | Notes: svn path=/stable/8/; revision=222855
* MFC r220630:Dimitry Andric2011-05-161-1/+1
| | | | | | | | | | | | | In r219639, SSSE3 instruction set support was backported to our gcc. Therefore, we also need to install the new tmmintrin.h header containing the related intrinsic functions, similar to xmmintrin.h, emmintrin.h, etc. Reported by: George Liaskos <geo.liaskos@gmail.com> Notes: svn path=/stable/8/; revision=221982
* MFC r220043:Konstantin Belousov2011-04-021-3/+4
| | | | | | | | | Print the raw value of si_code, that is esp. useful for undecoded values. Sponsored by: The FreeBSD Foundation Notes: svn path=/stable/8/; revision=220278
* Partially MFC r209867 and r215439, to provide rudimentary support forDimitry Andric2011-03-142-2/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | linking i386 (32 bit) executables on amd64, using gcc's -m32 option. r209867 introduces the needed multilib options to gcc's multilib.h, but was originally intended just for powerpc64. r215439 teaches the linker to search in /usr/lib32 for elf_i386_fbsd output, and amends r209867 to apply to amd64 too. NOTE: this MFC does NOT provide full support for compiling and linking all existing 32 bit programs on amd64, since /usr/include/machine still contains amd64-specific headers. Though simple "Hello World" type programs work, anything relying on machine-specific types might fail in various interesting ways. You have been warned. :) MFC r209867: Teach our toolchain how to generate 64-bit PowerPC binaries. This fixes a variety of bugs in binutils related to handling of 64-bit PPC ELF, provides a GCC configuration for 64-bit PowerPC on FreeBSD, and associated build systems tweaks. Obtained from: projects/ppc64 MFC r215439: Let gcc and ld know where to find 32 bit libraries on amd64. Reviewed by: arch@ Approved by: kib (mentor) Notes: svn path=/stable/8/; revision=219648
* Add back soon-to-be-release FreeBSD 7.4 which got clobbered in the previousUlrich Spörlein2011-02-131-0/+1
| | | | | | | merges. Notes: svn path=/stable/8/; revision=218672
* MFH r217595Ulrich Spörlein2011-02-131-7/+0
| | | | | | | | Update groff manpage and symbols with what has been submitted upstream. Also remove local overrides that are now in the contrib tree. Notes: svn path=/stable/8/; revision=218659
* MFC r215679:Attilio Rao2010-12-271-3/+44
| | | | | | | | | | | | | Add the ability for GDB to printout the thread name along with other thread specific informations. In order to achieve that, for both on-line debugging and core analysis, a new member to PT_LWPINFO ptrace(2) interface is added and a new ELF note (NT_THRMISC) as well. Sponsored by: Sandvine Incorporated Notes: svn path=/stable/8/; revision=216734
* Adjust the version of FreeBSD printed on the manual pages.Ken Smith2010-12-221-1/+2
| | | | | | | Approved by: re (implicit) Notes: svn path=/stable/8/; revision=216652
* Merge MIPS platform support to 8-STABLE.Jayachandran C.2010-11-277-12/+65
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit merges the MIPS platform changes that was now stable in -CURRENT into 8-STABLE. The MIPS changesets are too many (~400) to list here. But the changesets merged in this commit that affect other platforms are summarized below: r204635 : (changes to sys/dev/hwpmc, lib/libpmc, sys/sys/pmc.h) Add support for hwpmc(4) on the MIPS 24K, 32 bit, embedded processor. r205845: (changes to sys/modules/Makefile) Fix for building modules on mips and arm. r204031: (changes to sys/kern/link_elf_obj.c) printf fix, as part of kernel module support for MIPS. r206404: (changes to sys/arm/include/bus.h) Add BUS_SPACE_UNRESTRICTED and define it to be ~0, just like all the other platforms - for arm and mips. r206819: (changes to sys/vm/) Add VMFS_TLB_ALIGNED_SPACE option and kmem_alloc_nofault_space(), which is used to allocate kernel stack address on MIPS. r208165, r211087: (sys/kern/subr_smp.c, sys/kern/sched_ule.c) Enable ULE scheduler for MIPS, Fix for an issue in SMP when 32 cpus are enabled. r208659: (sys/{ia64/ia64,mips/mips,sun4v/sun4v}/pmap.c) Simplify the inner loop of get_pv_entry() r208794: (changes to sys/vm/) Make vm_contig_grow_cache() extern, and use it when vm_phys_alloc_contig() fails to allocate MIPS page table pages. r210327: (changes to sys/vm/) Support for MIPS page table page allocation. Add a new function 'vm_page_t vm_page_alloc_freelist(int flind, int order, int req)' to vm/vm_page.c to allocate a page from a specified freelist, and other related changes. Reviewed by: alc(vm changes only) Approved by: kib(re), alc(vm), imp(mips), jmallett(mips), gnn(mips pmc) Notes: svn path=/stable/8/; revision=215938
* MFC r209690:Konstantin Belousov2010-11-031-0/+37
| | | | | | | | For "thread signal" command, print some information from siginfo when available. Notes: svn path=/stable/8/; revision=214760
* MFC r213835: Add FreeBSD 8.2.Jaakko Heinonen2010-10-171-0/+1
| | | | Notes: svn path=/stable/8/; revision=213951
* MFC r213487:Xin LI2010-10-091-0/+1
| | | | | | | Add definition for FreeBSD 7.4, which will be used in a manual page change. Notes: svn path=/stable/8/; revision=213640
* MFC r213013:Ed Maste2010-10-081-1/+3
| | | | | | | | | Move test for zero bufp or size before rseq and wseq calculation. This avoids spinning in an infinite loop for some (possibly corrupt?) core files at work. Notes: svn path=/stable/8/; revision=213577
* MFC r212286:Tijl Coosemans2010-09-212-2/+2
| | | | | | | | | | | | | | | | GCC defines built-ins for atomic instructions found on i486 and higher. Because FreeBSD no longer supports the 80386 cpu all code targeting FreeBSD/i386 necessarily runs on i486 or higher so the compiler built-ins can be used by default inside libstdc++ and in C++ headers. This allows newly compiled C++ code to inline some atomic operations. Old binaries continue to use libstdc++ functions. PR: 148926 Tested by: Yuri Karaban <tech askold net> Approved by: kib (mentor) Notes: svn path=/stable/8/; revision=212962
* MFC r206622,207939,208593,208732,209031: mdoc cleanupUlrich Spörlein2010-08-271-1/+1
| | | | | | | | | | - order prologue by Dd/Dt/Os - fix prologue - remove empty lines and other garbage - uppercase document title Notes: svn path=/stable/8/; revision=211872
* MFC r210424: kgdb: correctly map sections to addresses in elf objectAndriy Gapon2010-08-211-6/+28
| | | | | | | modules (amd64) Notes: svn path=/stable/8/; revision=211587
* MFC r209738:Benedict Reuschling2010-07-201-0/+10
| | | | | | | | | | | | | | | | Mention the radiolist option in the man page. It is being listed when dialog(1) is run without arguments and works as expected. Therefore, it should be part of the manual as well. Note: dialog(1) has not been updated for many years and is not actively maintained at the moment. PR: docs/139682 Submitted by: manolis@ Discussed with: jkim@ Notes: svn path=/stable/8/; revision=210297
* MFC r209294:Konstantin Belousov2010-07-021-1/+2
| | | | | | | | Add -fno-asynchronous-unwind-tables to disable unwind table generation for crtbegin/crtend. While there, disable omitting the frame pointer. Notes: svn path=/stable/8/; revision=209641
* Change the FreeBSD version that will be printed for the manual pages.Ken Smith2010-05-261-1/+1
| | | | | | | Approved by: re (implicit) Notes: svn path=/stable/8/; revision=208569
* MFC: r208320Jung-uk Kim2010-05-251-1/+1
| | | | | | | | | | | | | | | Add a new build option, MAN_UTILS. This option lets you control building utilities and related support files for manual pages, which were previously controlled by MAN. For POLA, the default depends on MAN, i.e., WITHOUT_MAN implies WITHOUT_MAN_UTILS and WITH_MAN implies WITH_MAN_UTILS. Note this patch implicitly fixes a documentation bug of src.conf(5), which says WITHOUT_MAN may be used to not build manual pages while it was also disabling some utilities for manual pages. Approved by: re (kib) Notes: svn path=/stable/8/; revision=208546
* MFC r207383:Xin LI2010-05-031-0/+1
| | | | | | | | Add FreeBSD 8.1 to known list as it's being referenced by a couple of manpages already. Notes: svn path=/stable/8/; revision=207559
* MFC r205702:Xin LI2010-03-294-1101/+0
| | | | | | | | | | | | | | Remove GNU cpio after fix of CVE-2010-0624. Note that this is actually a no-op for most users, as this GNU cpio was broken on -HEAD and 8-STABLE since last March until the recent fix. FreeBSD 8.0+ uses BSD cpio by default and the code is being actively maintained. Notes: svn path=/stable/8/; revision=205848
* MFC r205630 (imp):Xin LI2010-03-261-0/+1
| | | | | | | | This broke when we went to gnu99 as the default standard. Fix the build by reverting to the gnu89 standard. Notes: svn path=/stable/8/; revision=205701
* MFC r203823: kgdb: initialize n_type field of nlist entry for kvm_nlistAndriy Gapon2010-03-021-0/+1
| | | | Notes: svn path=/stable/8/; revision=204592
* MFC r203357: teach groff about libgpib.Joerg Wunsch2010-02-041-0/+1
| | | | Notes: svn path=/stable/8/; revision=203500
* MFC: Sync Groff with trunk except libulog addition.Ruslan Ermilov2010-01-181-3/+1
| | | | Notes: svn path=/stable/8/; revision=202570
* MFC r198471.Alexander Kabaev2009-12-201-0/+1
| | | | | | | | | | | | | Log: Compile libgcov without stack protection. It can be linked into both static and dynamic binaries compiled with or without stack protection and should not depend on libssp_nonshared.a symbols. Discussed with: kib PR: bin/139052 Notes: svn path=/stable/8/; revision=200748
* MFC r197393Alan Cox2009-11-011-0/+2
| | | | | | | Add FreeBSD 7.2 and 7.3. Notes: svn path=/stable/8/; revision=198771
* MFC r197259Stephane E. Potvin2009-09-242-1/+3
| | | | | | | | | | | The buffer returned by fgetln is not a "C" string and might not be NUL terminated. Make sure that it is before using it. Reviewed by: marck@ Approved by: re (kib) Notes: svn path=/stable/8/; revision=197472
* Bump the version of all non-symbol-versioned shared libraries inKen Smith2009-07-195-5/+5
| | | | | | | | | | | preparation for 8.0-RELEASE. Add the previous version of those libraries to ObsoleteFiles.inc and bump __FreeBSD_Version. Reviewed by: kib Approved by: re (rwatson) Notes: svn path=/head/; revision=195767
* Second attempt at eliminating .text relocations in shared librariesAlexander Kabaev2009-07-142-1/+7
| | | | | | | | | | | | | | | | | compiled with stack protector. Use libssp_nonshared library to pull __stack_chk_fail_local symbol into each library that needs it instead of pulling it from libc. GCC generates local calls to this function which result in absolute relocations put into position-independent code segment, making dynamic loader do extra work every time given shared library is being relocated and making affected text pages non-shareable. Reviewed by: kib Approved by: re (kib) Notes: svn path=/head/; revision=195697
* Back out previous revision until better tested fix is ready.Alexander Kabaev2009-06-293-16/+2
| | | | | | | Approved by: re (impliciti, by approving previos check-in) Notes: svn path=/head/; revision=195152
* Eliminate .text relocations in shared libraries compiled with stack protector.Alexander Kabaev2009-06-283-2/+16
| | | | | | | | | | | | | | | Use libssp_nonshared library to pull __stack_chk_fail_local symbol into each library that needs it instead of pulling it from libc. GCC generates local calls to this function which result in absolute relocations put into position-independent code segment, making dynamic loader do extra work everys time given shared library is being relocated and making affected text pages non-shareable. Reviewed by: kib Approved by: re (kensmith) Notes: svn path=/head/; revision=195151
* Add libjail, a (somewhat) simpler interface to the jail_set and jail_getJamie Gritton2009-06-241-0/+1
| | | | | | | | | system calls and the security.jail.param sysctls. Approved by: bz (mentor) Notes: svn path=/head/; revision=194869
* Compile static gcov library with -fPIC to match what stock GCC buildsAlexander Kabaev2009-06-211-4/+12
| | | | | | | | | are doing. This is required for libgcov.a to be usable on amd64. Reported by: stas Notes: svn path=/head/; revision=194564
* Don't set $PATH - if the caller doesn't have /bin and /usr/bin in theirBrian Somers2009-06-141-1/+0
| | | | | | | | | | PATH then they can expect things to break. PR: 135417 MFC after: 3 weeks Notes: svn path=/head/; revision=194158
* Change the internal buffer used to store input lines from a static bufferStephane E. Potvin2009-05-086-53/+74
| | | | | | | | | | | to a dynamically allocated one in order to support input lines of arbitrary length. Approved by: kan (mentor) MFC after: 1 month Notes: svn path=/head/; revision=191910
* Fix build breakage due to the interplay between r189801 and r189824.David Schultz2009-03-141-0/+1
| | | | | | | | | | In particular, vendor sources that aren't ready for gnu99 should still be compiled with gnu89. (Before r189824, these would have generated warnings if you tried to compile them in gnu99 mode, but the warnings went unheeded due to -Wno-error.) Notes: svn path=/head/; revision=189834
* Define a macro for POSIX.1-2008 here until a future groff importDavid Schultz2009-02-281-0/+4
| | | | | | | includes one. Notes: svn path=/head/; revision=189135