summaryrefslogtreecommitdiffstats
path: root/gnu
Commit message (Collapse)AuthorAgeFilesLines
* Give kgdb(1) a chance to take a look at FPU state.jkim2010-08-021-0/+1
|
* Fix case for library macrosuqs2010-08-021-1/+1
|
* Add libproc.rpaulo2010-07-311-0/+1
| | | | Sponsored by: The FreeBSD Foundation
* Add librtld_db.rpaulo2010-07-311-0/+1
| | | | Sponsored by: The FreeBSD Foundation
* kgdb: correctly map sections to addresses in elf object modules (amd64)avg2010-07-231-6/+28
| | | | | | | | | | | | | Unlike for modules with dso type, in elf object modules all the sections have virtual address of zero. So, it is insufficient to add module base address to section virtual address (as recorded in section header) to get section address in kernel memory. Instead, we should apply the same calculations that are performed by kernel loaders (in boot code and in kernel) when they lay out sections in memory. Discussed with: jhb, np MFC after: 3 weeks
* Disable building libobjc with clang as it's not yet supported.rpaulo2010-07-221-0/+3
| | | | Submitted by: Dimitry Andric <dimitry at andric.com>
* Sanitize CFLAGS and add WARNS?=2. The hardcoding of -Os -fPICmarcel2010-07-151-1/+1
| | | | as compiler options resulted in an invalid executable on PowerPC.
* Teach our toolchain how to generate 64-bit PowerPC binaries. This fixesnwhitehorn2010-07-1018-6/+1096
| | | | | | | | 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
* Mention the radiolist option in the man page. It is being listed whenbcr2010-07-061-0/+10
| | | | | | | | | | | | | 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@ MFC after: 2 weeks
* For "thread signal" command, print some information from siginfo whenkib2010-07-041-0/+37
| | | | | | | available. Suggested by: davidxu MFC after: 2 weeks
* Add an alignment of 8 for sections in the n32 ABI. The default alignmentjchandra2010-06-252-0/+2
| | | | | | | | | of of 4 causes _end to be word aligned, which will be returned by sbrk. malloc(3), when compiled for n32, expects sbrk to return an 8-byte aligned value. Approved by: rrs (mentor)
* Often reported issue with newer ld is:kib2010-06-181-1/+2
| | | | | | | | | | | | | | | | | error in /usr/lib/crtendS.o(.eh_frame); no .eh_frame_hdr table will be created. The issue is that crtend is compiled with unwind table, and also it places the special CIE into the .eh_frame indicating the end of section, that is located before generated unwind table. New ld has assertion that verifies that closing CIE is indeed the last CIE, causing the crypting message to be issued, and refusing to generate dwarf unwind. Add -fno-asynchronous-unwind-tables to disable unwind table generation for crtbegin/crtend. While there, disable omitting the frame pointer [1]. Requested by: kan [1] Reviewed by: kan MFC after: 2 weeks
* Make all tests in libdialog compilable.ae2010-06-154-7/+7
| | | | | | Fix coredump in menu3.c. Approved by: kib (mentor)
* Connect FDT infrastructure to the build system.raj2010-06-131-0/+5
| | | | | Reviewed by: imp Sponsored by: The FreeBSD Foundation
* Fix build for O32 systems without a TARGET_CPUTYPE defined. We must default tojmallett2010-06-021-0/+8
| | | | | | MIPS-III because FreeBSD relies on a number of MIPS-III features; the ABI default would be MIPS-I which we don't intend to support. Our old default before I switched to using the ABI default was MIPS32.
* Add/improve mips64r2, Octeon, n32 and n64 support in the toolchain.jmallett2010-06-027-9/+63
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. Reviewed by: imp
* Correct dtc version header autogen location.raj2010-05-251-9/+9
| | | | While there unify brackets usage.
* Add a new build option, MAN_UTILS. This option lets you control buildingjkim2010-05-191-1/+1
| | | | | | | | | 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. This patch is slightly improved by me from: PR: misc/145212
* Non-GCC gcc compatible compilers may provide the same multimedia intrinsicobrien2010-05-126-6/+13
| | | | | | | headers as GCC, but of their own implementation. So put the GCC ones into their own header "namespace". Requested by: ed
* Add FreeBSD 8.1 to known list as it's being referenced by a couple ofdelphij2010-04-291-0/+1
| | | | | | manpages already. MFC after: 3 days
* Make this directory more regular. Since it is one we control, use theimp2010-04-144-14/+3
| | | | | | | freebsd-based names for filenames. This allows us to eliminate almost all of the uses of ${MACHINE_ARCH} here to do special things, and instead we use it to include filenames. This makes new architectures easier to support.
* mdoc: order prologue macros consistently by Dd/Dt/Osuqs2010-04-141-1/+1
| | | | | | | | Although groff_mdoc(7) gives another impression, this is the ordering most widely used and also required by mdocml/mandoc. Reviewed by: ru Approved by: philip, ed (mentors)
* Simplify how we select which architectures to add gdbserver for. Ifimp2010-04-121-2/+1
| | | | the MD files exist, compile it, otherwise omit it.
* Change all our own code to use st_*tim instead of st_*timespec.ed2010-03-282-19/+1
| | | | Also remove some local patches to diff(1) which are now unneeded.
* Allow building a cross-kgdb for ia64.marcel2010-03-262-1/+8
|
* Handle cross-builds for gdbserver.marcel2010-03-261-1/+3
|
* Remove GNU cpio after fix of CVE-2010-0624.delphij2010-03-264-1101/+0
| | | | | | | | | | | | | 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. Blessed by: kientzle With hat: secteam MFC after: 3 days
* This broke when we went to gnu99 as the default standard. Fix the buildimp2010-03-241-0/+1
| | | | by reverting to the gnu89 standard.
* Fix typo in commentimp2010-03-191-1/+1
|
* Make little endian compiles produce little endian binaries on mips.imp2010-03-051-0/+4
| | | | Submitted by: neel@
* Remove stale path reference.raj2010-03-051-1/+1
|
* Make the n32 scripts actually generate, ummm, n32 binaries... <blush>imp2010-03-042-2/+2
| | | | Submitted by: jmallet
* Add n32 ABI generators...imp2010-03-024-1/+11
| | | | Submitted by: neel, jmallet
* Provide BSD-style Makefile for the device tree compiler (dtc).raj2010-02-281-0/+51
| | | | | | Note it is not connected to the build hierarchy yet. Sponsored by: The FreeBSD Foundation
* Initial gdbserver support for amd64.jkim2010-02-254-3/+319
|
* POSIX patch(1) would treat -b as different meaning (the functionalitydelphij2010-02-223-3/+3
| | | | | | | is to be provided by --suffix). Looking at the usage here in diffutils, it seems that we can just get rid of the -b .orig stuff. This resolves a problem that can triggered if we move toward to a more permissively licensed patch(1) program.
* - Remove GNU bc/dc bits. There has not been any regressions seen aftergabor2010-02-214-131/+0
| | | | | | | BSD bc/dc import. It has been tested with make universe that this code is not used by anything any more. Approved by: delphij (mentor)
* These contain JC's patch to get gdb sort of workingrrs2010-02-204-18/+17
| | | | | | | | | | | | on mips. Its not fully done yet but its a start. Obtained from: JC - c.jayachandran@gmail.com M gnu/usr.bin/gdb/kgdb/trgt_mips.c M gnu/usr.bin/gdb/arch/mips/init.c M gnu/usr.bin/gdb/arch/mips/Makefile M gnu/usr.bin/Makefile M contrib/gdb/gdb/mips-tdep.h
* Compile fbsd-threads.c. Threading & TLS support is working just fine.marcel2010-02-162-1/+3
|
* kgdb: initialize n_type field of nlist entry for kvm_nlist callavg2010-02-131-0/+1
| | | | | | | | | | | kvm_nlist skips lookup for entries that have n_type != N_UNDF. N_UNDF happens to be zero, so n_type typically has a correct value by accident, but not always. Note: jhb has a patch that replaces kvm_nlist use with direct gdb parsing. MFC after: 5 days X-MFC-Note: unless jhb commits kvm_nlist => kgdb_parse change
* Add description for libefi.marcel2010-02-091-0/+1
| | | | Pointed out by: ru
* Remove alpha support from here too. FreeBSD 6 was the last branch toimp2010-02-034-58/+0
| | | | support it.
* Remove more traces of the Alpha port.imp2010-02-031-2/+1
|
* Remove another reference to alpha...imp2010-02-031-4/+0
|
* Add a libgpib to the list of known .Lb names.joerg2010-02-011-0/+1
| | | | MFC after: 3 days
* Use the new PO_CXXFLAGS from r202807 to remove the '-ffunction-sections'sepotvin2010-01-222-0/+2
| | | | | | | flag when compiling profiled objects as it's ignored by the compiler. This removes the associated warning for each file compiled. MFC after: 1 month
* Replace GNU bc/dc with BSDL versions ported from OpenBSD. They have a goodgabor2010-01-201-3/+1
| | | | | | | | | | compatibility level with the GNU counterparts and have shown to be mature enough. For now, the GNU versions aren't removed from the tree, just detached from the build. Sponsored by: Google Summer of Code 2008 Portbuild run by: erwin Approved by: delphij
* Moved the doc-str-Lb-libulog string definition to where it belongs.ru2010-01-151-0/+1
|
* Pull up vendor changes. The following local changes made obsolete:ru2010-01-151-3/+0
| | | | | - Addition of several FreeBSD versions. - r192561 that attempted to fix UTF-8 issues.
* Merge r195030 from project/mips into head by hand:imp2010-01-081-1/+5
| | | | | | | r195030 | gonzo | 2009-06-25 19:27:31 -0600 (Thu, 25 Jun 2009) | 4 lines - Switch to libc softfloat from libgcc implementation. The problem with latter is that it is not complete, fpsetXXX/fpgetXXX functions are missing.
OpenPOWER on IntegriCloud