summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin
Commit message (Collapse)AuthorAgeFilesLines
* sync from headsjg2013-04-1215-18/+94
|\
| * Add FreeBSD 8.4.pluknet2013-04-081-0/+1
| | | | | | | | MFC after: 3 days
| * KGDB: Accept KLD symbol files with the ".symbols" extension.will2013-03-281-0/+1
| | | | | | | | | | | | | | Submitted by: gibbs Approved by: ken (mentor) Sponsored by: Spectra Logic MFC after: 1 month
| * KGDB: Allow modules to be loaded from the specified kernel's directory.will2013-03-281-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When looking up the absolute path for a kld, call find_kld_path() first. This enables locating the module in a different directory than the one stored in kernel memory. With this change, kgdb can now be run on a kernel & vmcore whose associated modules are located in the same directory as the kernel. This makes independent triaging of problems much easier. This change also does not break the normal kgdb use case where no arguments are specified; in that case kgdb loads the running kernel and its modules. Reviewed by: adrian Approved by: ken (mentor) Sponsored by: Spectra Logic MFC after: 1 month
| * kgdb enhancements!adrian2013-02-192-10/+13
| | | | | | | | | | | | | | | | | | * document the kgdb -b flag * better verify what's valid with -b * add more comprehensive command line help PR: kern/175743 Submitted by: Christoph Mallon <christoph.mallon@gmx.de>
| * In kthr.c, obtain the address of the PCB for threads that were runningmarcel2013-02-1711-7/+75
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | on a core, when the core was stopped, by calling kgdb_trgt_core_pcb(). This has 2 advantages: 1. We don't need to include a machine-specific header anymore and as such kthr.c is truly machine independent. This allows the code to be used in a cross-debugger. 2. We don't need to lookup stoppcbs in generic code when it's an inherently target-spicific symbol. It does not exist for ia64. Implement kgdb_trgt_core_pcb() for all architectures, except ia64, by calling a common function called kgdb_trgt_stop_pcb(). This function differs from kgdb_trgt_core_pcb() in that it gets the size of the PCB structure as an argument and as such remains machine independent. On ia64 the PCB for stopped cores is in the PCPU structure itself. This for better scaling. The implementation of kgdb_trgt_core_pcb() for ia64 uses the cpuid_to_pcpu[] array to to obtain the address of the PCB structure.
* | Updated dependenciessjg2013-03-178-14/+8
| |
* | Updated dependenciessjg2013-03-1156-0/+56
| |
* | Updated dependenciessjg2013-02-1695-190/+0
| |
* | Sync with HEAD.obrien2013-02-0821-15/+77
|\ \ | |/
| * - Add a BSD-licensed patch, ported by Pedro F. Giffuni (pfg) fromgabor2013-01-291-1/+12
| | | | | | | | | | | | | | | | DragonflyBSD and install it as bsdpatch. WITH_BSD_PATCH makes it default and installs GNU patch as gnupatch. Submitted by: pfg Obtained from: The DragonflyBSD Project
| * bsd.own.mk needs to be included before Makefil.inc so MK_ARM_EABI is definedandrew2013-01-251-3/+3
| |
| * Reorder so that NO_MAN is declared before bsd.own.mk is included and thusbrooks2013-01-241-6/+7
| | | | | | | | | | has an effect (not installed a g++.1 manpage over the g++.1(.gz) link created in ../cc).
| * Import new (BSDL) device tree compiler. Now built by default, so that it can'ttheraven2013-01-221-1/+1
| | | | | | | | | | | | | | | | | | | | be used on the host system (and not installed on the device, if required). The GPL'd one is still available if there are any devices that need it (make universe passes with it, including kernels that use fdt, but there may be some out-of-tree ones). WITH_GPL_DTC can be used to select the old one, for now. Probably won't be MFC'd, but we'll remove the GPL'd version in head after the new one has had a lot more testing and ship it in 10.0.
| * Make "-D skip" option work with FIFO by opening file in non-blocking mode.davidxu2013-01-221-2/+6
| | | | | | | | | | Reviewed by: jhb Tested by: delphij
| * Add command-line support to kgdb to allow the baudrate to be set.adrian2013-01-211-1/+14
| | | | | | | | | | | | | | | | | | This allows a remote session to be specified with '-r' as well as a non-default baudrate setting using '-b'. TODO: add to the kgdb manpage. MFC after: 2 weeks
| * Add compiler support for the ARM EABI.andrew2013-01-1712-3/+34
| | | | | | | | | | | | ARM EABI support is disabled by default and can be enabled by setting WITH_ARM_EABI when building, however only the kernel-toolchain target will work with this flag until the rest of the support is added.
| * Set the correct relocation type for R_ARM_TARGET2 to R_ARM_GOT_PREL. Theandrew2013-01-062-0/+2
| | | | | | | | | | TARGET2 relocation is unused in the current ABI but this change is required for EABI support.
| * Fix a dependencyantoine2013-01-011-1/+1
| |
| * More correct version of prev. fix.ache2012-12-181-1/+1
| |
| * Fix:ache2012-12-171-1/+1
| | | | | | | | | | line 11: Malformed conditional (${TARGET} == "arm" || ${TARGET_ARCH} == "powerpc64")
| * Also remove -Werror on arm with clang as there are warnings.andrew2012-12-151-1/+1
| |
| * Clean up hardcoded ar(1) flags in the tree to use the global ARFLAGS ineadler2012-12-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | share/mk/sys.mk instead. This is part of a medium term project to permit deterministic builds of FreeBSD. Submitted by: Erik Cederstrand <erik@cederstrand.dk> Reviewed by: imp, toolchain@ Approved by: cperciva MFC after: 2 weeks
* | Correct the r242545 sync with head@242525.obrien2013-02-076-1590/+0
| |
* | Updated/new Makefile.dependsjg2012-11-087-24/+93
| |
| |
| \
| \
| \
*---. \ Sync from headsjg2012-11-0420-107/+40
|\ \ \ \ | | |_|/ | |/| |
| * | | Add support for the "&" character in usernames.eadler2012-10-221-3/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Charlie & finally has his last name. PR: gnu/37910 Submitted by: Harry Newton <harry_newton@telinco.co.uk> Approved by: cperciva MFC after: 1 week
| * | | - Remove GNU sort and the WITH_GNU_SORT knobgabor2012-10-136-1572/+0
| | | |
| * | | Add support for bmake. This includes:marcel2012-10-062-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Don't do upgrade_checks when using bmake. As long as we have WITH_BMAKE, there's a bootstrap complication in ths respect. Avoid it. Make the necessary changes to have upgrade_checks work wth bmake anyway. 2. Remove the use of -E. It's not needed in our build because we use ?= for the respective variables, which means that we'll take the environment value (if any) anyway. 3. Properly declare phony targets as phony as bmake is a lot smarter (and thus agressive) about build avoidance. 4. Make sure CLEANFILES is complete and use it on .NOPATH. bmake is a lot smarter about build avoidance and should not find files we generate in the source tree. We should not have files in the repository we want to generate, but this is an easier way to cross this hurdle. 5. Have behavior under bmake the same as it is under make with respect to halting when sub-commands fail. Add "set -e" to compound commands so that bmake is informed when sub-commands fail. 6. Make sure crunchgen uses the same make as the rest of the build. This is important when the make utility isn't called make (but bmake for example). 7. While here, add support for using MAKEOBJDIR to set the object tree location. It's the second alternative bmake looks for when determining the actual object directory (= .OBJDIR). Submitted by: Simon Gerraty <sjg@juniper.net> Submitted by: John Van Horne <jvanhorne@juniper.net>
| * | | Dont use -Werror when building libbfd and gnu as on powerpc64 with clangrdivacky2012-08-242-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | as there are warnings. Reviewed by: nwhitehorn
| * | | A workaround in r238563 was for makes (notably bmake) without theru2012-08-241-5/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | internal knowledge that "cd" is a shell's built-in. Such makes may attempt to exec() "cd" that in turn will fail on systems that lack the "cd" executable. Reworked this by eliminating the root cause. Submitted by: Simon Gerraty <sjg@juniper.net>
| * | | Fix typo. Not a win in terms of functionality but in terms of completeness.andreast2012-08-191-1/+1
| | | |
| * | | Catch up with the subversion conversion and apply these build-time patches.obrien2012-08-173-85/+0
| | | |
| * | | Merging of projects/armv6, part 3gonzo2012-08-158-10/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | r238211: Support TARGET_ARCH=armv6 and TARGET_ARCH=armv6eb This adds a new TARGET_ARCH for building on ARM processors that support the ARMv6K multiprocessor extensions. In particular, these processors have better support for TLS and mutex operations. This mostly touches a lot of Makefiles to extend existing patterns for inferring CPUARCH from ARCH. It also configures: * GCC to default to arm1176jz-s * GCC to predefine __FreeBSD_ARCH_armv6__ * gas to default to ARM_ARCH_V6K * uname -p to return 'armv6' * make so that MACHINE_ARCH defaults to 'armv6' It also changes a number of headers to use the compiler __ARM_ARCH_XXX__ macros to configure processor-specific support routines. Submitted by: Tim Kientzle <kientzle@freebsd.org>
| * | | Backed out r228904, and added libstdthreads support to mdoc(7) to whereru2012-07-261-0/+1
| | | | | | | | | | | | | | | | it belongs.
| * | | Backed out r236255, and added FreeBSD 9.1 support to mdoc(7) to whereru2012-07-261-0/+1
| | | | | | | | | | | | | | | | it belongs.
| * | | a ";" tells make we want the shell to be usedobrien2012-07-181-1/+1
| | | | | | | | | | | | | | | | Submitted by: Simon Gerraty <sjg@juniper.net>
| * | | After the binutils 2.17.50 import, the assembler supports AS_REL16nwhitehorn2012-07-081-1/+1
| |/ / | | | | | | | | | relocations.
| * | - Switch to BSD sort as default sort. GNU sort will still be installed asgabor2012-06-271-1/+1
| |/ | | | | | | | | | | | | | | | | "gnusort". Most of the BSD sort development work was done by Oleg Moskalenko <oleg.moskalenko@citrix.com>. - GNU grep can be set to default by setting WITH_GNU_GREP. It will cause BSD sort to be installed as "bsdsort". Portbuild tested by: linimon
* | Sync FreeBSD's bmake branch with Juniper's internal bmake branch.marcel2012-08-22112-3/+3760
|/ | | | Requested by: Simon Gerraty <sjg@juniper.net>
* Print key value, an index, otherwise we don't know which key is allocated.davidxu2012-05-211-1/+1
|
* - Hook up BSD sort to the build. By default, it will be installed asgabor2012-05-111-0/+11
| | | | | | "bsdsort" and GNU sort will be the default "sort". When WITH_BSD_SORT is set, BSD sort will be the default "sort" and GNU sort will be installed as "gnusort".
* General mdoc(7) and typo fixes.gjb2012-05-105-6/+6
| | | | | | PR: 167696 Submitted by: Nobuyuki Koganemaru (kogane!jp.freebsd.org) MFC after: 3 days
* Add src.conf option WITH_SHARED_TOOLCHAIN to enable building thekib2012-04-297-2/+22
| | | | | | | | toolchain binaries as dynamically linked. Option is disabled by default. Reviewed by: ru (previous version) MFC after: 2 weeks
* Allow building a powerpc cross-kgdb.marcel2012-04-271-0/+5
|
* Assume a big-endian default on MIPS and drop the "eb" suffix from MACHINE_ARCH.jmallett2012-03-294-6/+8
| | | | | | | | | | | | | | | This makes our naming scheme more closely match other systems and the expectations of much third-party software. MIPS builds which are little-endian should require and exhibit no changes. Big-endian TARGET_ARCHes must be changed: From: To: mipseb mips mipsn32eb mipsn32 mips64eb mips64 An entry has been added to UPDATING and some foot-shooting protection (complete with warnings which should become errors in the near future) to the top-level base system Makefile.
* Make default ABI for as(1) to be the same as target platform.gonzo2012-03-232-1/+11
| | | | | This change makes object files compiled with default flags by gcc and as compatible.
* Note two shortcomings of GDB on MIPS that should be addressed.jmallett2012-03-131-0/+3
|
* Add a WITH_CLANG_IS_CC option for src.conf(5), disabled by default, thatdim2012-02-294-7/+951
| | | | | | | | | | installs clang as /usr/bin/cc, /usr/bin/c++ and /usr/bin/cpp. Note this does *not* disable building and installing gcc, which will still be available as /usr/bin/gcc, /usr/bin/g++ and /usr/bin/gcpp. If you want to disable gcc completely, you must use WITHOUT_GCC. MFC after: 2 weeks
* Enable TLS support for ARM toolchaingonzo2012-02-141-2/+0
| | | | Reviewed by: cognet
OpenPOWER on IntegriCloud