summaryrefslogtreecommitdiffstats
path: root/gnu
Commit message (Collapse)AuthorAgeFilesLines
* Retire GNU man in favor of the newly written BSDL version.gordon2010-10-031-5/+0
| | | | Approved by: wes (mentor)
* Remove target peigen.c so that make doesn't warn us about it.rpaulo2010-09-301-2/+0
|
* Add support for the BFD target efi-app-x86_64.rpaulo2010-09-291-2/+11
| | | | | This uses only GPL2 source code and is a requirement for a 64 bit EFI boot loader.
* Move test for zero bufp or size before rseq and wseq calculation. Thisemaste2010-09-221-1/+3
| | | | | avoids spinning in an infinite loop for some (possibly corrupt?) core files at work.
* When building world with clang, for gnu/lib/libobjc, sys/boot/i386/boot2dim2010-09-211-3/+1
| | | | | | | | | | | | and sys/boot/pc98/boot2, do not simply assign 'gcc' to CC, since compile flags are sometimes passed via this variable, for example during the build32 stage on amd64. This caused the 32-bit libobjc build on amd64 to fail. Instead, only replace the first instance of clang (if any, including optional path) with gcc, and leave the arguments alone. Approved-by: rpaulo (mentor)
* GCC defines built-ins for atomic instructions found on i486 and higher.tijl2010-09-072-2/+2
| | | | | | | | | | | | | | 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> Reviewed by: kan Approved by: kib (mentor) MFC after: 2 weeks
* Use a more robust way to substitute gcc for clang, when compilingdim2010-08-311-1/+3
| | | | | | | gnu/lib/libobjc and sys/boot/i386/boot2, so it also works when using absolute paths and/or options, as in CC="/absolute/path/clang -foo". Approved by: rpaulo (mentor)
* Repair some build breakage introduced in r211725 and garbage collect somenwhitehorn2010-08-281-1/+1
| | | | code made obsolete in the same commit.
* Create a checklist and call one of the *printw() functions from theimp2010-08-241-0/+18
| | | | | | | | | | | | | | | | | selected() callback. When the dialog first appears, you will not see the printed statement on the dialog, if you move down one, you will, move up again and it now appears. I am assuming that you call a *printw() function on a line in the dialog box of course. The fix, from the pr: This is a hack at best, I looked at the redraw code in dialog_checklist() and took the minimal amount of it out to do a simple "refresh" right after the items are drawn. This doesn't hurt anything and makes the library work like it should. There is probably a better way however =). PR: 148609 Submitted by: John Hixson
* MFtbemd:imp2010-08-236-31/+21
| | | | | Prefer MACHNE_CPUARCH to MACHINE_ARCH in most contexts where you want to test of all the CPUs of a given family conform.
* - Change default grep back to GNU version. BSD grep can be built with thegabor2010-08-231-4/+4
| | | | | | | | WITH_BSD_GREP knob. - Bump __FreeBSD_version Requested by: dougb Approved by: delphij (mentor)
* We need to pull bsd.own.mk before modifying the CC variable. Otherwiserpaulo2010-08-211-0/+2
| | | | | | it will be overwritten when we include bsd.lib.mk. Pointed out by: Dimitry Andric <dimitry at andric.com>
* Fix buildworld -DNO_CLEAN when using with Perforce, which marks files aswill2010-08-124-5/+5
| | | | | | | read-only by default, meaning files copied can't be overwritten next time. Reviewed by: imp Approved by: ken (mentor)
* Change kgdb_lookup() to resolve symbols via GDB instead of via libkvm(3).jhb2010-08-043-29/+23
|
* 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.
OpenPOWER on IntegriCloud