summaryrefslogtreecommitdiffstats
path: root/gnu
Commit message (Collapse)AuthorAgeFilesLines
* Include "system.h" for isdir() prototype.rodrigc2015-11-041-0/+1
| | | | | Submitted by: bofh Differential Revision: https://reviews.freebsd.org/D2711
* Use PCB/LR from PCB rather from stack on armv7-gdbzbb2015-10-301-7/+3
| | | | | | | | | | | The kernel dump does not store these values on the stack. Use PCB structure to resolve PC and LR properly. Submitted by: Wojciech Macek <wma@semihalf.com> Reviewed by: jhb, kib Obtained from: Semihalf Sponsored by: Juniper Networks Inc. Differential Revision: https://reviews.freebsd.org/D4013
* Remove disconnected xditview.bdrewery2015-10-211-34/+0
|
* Avoid warning race with creating 'ldscripts' directory during build.bdrewery2015-10-161-2/+1
| | | | | | | | | | | | | In r204548 the 'rm -f ldscripts' was added likely due to reading the conditional as 'else it is a file'. That seems unlikely though and the more likely case is just that the directory hasn't been created yet. Because this races with ,ssother scripts, use 'mkdir -p' which is a minimal modification vs upstream to avoid the warning of 'File exists' if another script creates it first. This could replace the 'test -d' as well but then it's more unneeded change to the upstream script. Sponsored by: EMC / Isilon Storage Division
* Add more SUBDIR_PARALLEL.bdrewery2015-10-155-3/+23
| | | | | MFC after: 3 weeks Sponsored by: EMC / Isilon Storage Division
* Remove directories disconnected since r169718.bdrewery2015-10-152-32/+0
| | | | | MFC after: 1 week Sponsored by: EMC / Isilon Storage Division
* Refactor the test/ Makefiles after recent changes to bsd.test.mk (r289158) andngie2015-10-124-16/+7
| | | | | | | | | | | | netbsd-tests.test.mk (r289151) - Eliminate explicit OBJTOP/SRCTOP setting - Convert all ad hoc NetBSD test integration over to netbsd-tests.test.mk - Remove unnecessary TESTSDIR setting - Use SRCTOP where possible for clarity MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Divison
* Updated dependssjg2015-10-071-0/+1
|
* Replace most of the beforeinstall: hack with FILES mechanism.bdrewery2015-09-304-26/+40
| | | | | | | | | | | | | This now generates the files into the OBJDIR as needed. Some of the files are installed directly from the src directory. Files which are generated from the src directory are renamed to .in to generate them and avoid colliding with the checked-in file when CURDIR=OBJDIR. The remaining beforeinstall: handling still needs to be reworked as it does not work well with staging for packaging. MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division
* When XSAVE support was added on amd64, the FPU save area was movedjhb2015-09-291-1/+0
| | | | | | | | | | | | | | | | | | | out of 'struct pcb' and into a variable-sized region after the structure. The kgdb code currently only reads the pcb. It does not read in the FPU save area but instead passes stack garbage as the FPU's saved context. Fixing this would mean determining the proper size of the area and fetching it. However, this state is not saved for running CPUs in stoppcbs[], so the callback would also have to know to ignore those pcbs. Instead, just remove the call since it is of limited usefulness. It results in kgdb reporting the state of the FPU/SIMD registers in userland, not their current values in the kernel. In particular, it does not report the correct state for any code in the kernel which does use the FPU and would report incorrect values in that case. Reviewed by: kib MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D3743
* Remove redundant .NOPATH.bdrewery2015-09-263-6/+0
| | | | | | All of these are already in CLEANFILES which is added to .NOPATH in bsd.obj.mk. Sponsored by: EMC / Isilon Storage Division
* Fix subdir -j build after r287983 by adding missing dependencies.bdrewery2015-09-255-0/+5
| | | | Sponsored by: EMC / Isilon Storage Division
* Fix emulation ldscripts not being installed since r131832.bdrewery2015-09-251-1/+1
| | | | | | | For example, 32bit scripts on 64bit host. MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division
* META_MODE: Remove DEP_MACHINE from Makefile.depend files.bdrewery2015-09-255-10/+0
| | | | | | This has not been needed since r246865 in projects/bmake. Sponsored by: EMC / Isilon Storage Division
* META_MODE: Remove DEP_RELDIR from Makefile.depend files.bdrewery2015-09-2517-34/+0
| | | | | | This has not been needed since r284171 in projects/bmake. Sponsored by: EMC / Isilon Storage Division
* Add missing CLEANFILES.bdrewery2015-09-241-0/+2
| | | | | MFC after: 1 week Sponsored by: EMC / Isilon Storage Division
* Fix installation of 32bit libraries after r288074.bdrewery2015-09-211-0/+2
| | | | | | | | | | | FILES is not used when LIBRARIES_ONLY is set, which is used to build and install the lib32 sysroot. All of the csu files do quality as "libraries" for this case so just undefine LIBRARIES_ONLY. This is still better than the previous realinstall handling as it does not hook into META_MODE properly. Sponsored by: EMC / Isilon Storage Division
* Use SHAREOWN/SHAREMODE/SHAREGRP rather than LIB* as these are plain ASCIIbdrewery2015-09-211-3/+0
| | | | | | | | scripts that the linker can load rather than binary library objects. Effectively no change. Suggested by: hrs
* Replace realinstall: and META_MODE staging hacks with FILES mechanism.bdrewery2015-09-211-14/+6
| | | | | | | | | | This partially reverts r270170 for lib/csu/i386 while retaining the change for using bsd.lib.mk. These FILES groups could go into lib/csu/Makefile.inc but I've kept them in the Makefiles for clarity. Sponsored by: EMC / Isilon Storage Division
* Replace afterinstall: hack with FILES mechanism.bdrewery2015-09-191-4/+6
| | | | Sponsored by: EMC / Isilon Storage Division
* Replace beforeinstall: handling with FILES.bdrewery2015-09-181-4/+2
| | | | | | This actually fixes some cases to respect LIBRARIES_ONLY. Sponsored by: EMC / Isilon Storage Division
* Remove .WAIT hacks and put in specific dependencies.imp2015-08-281-2/+5
|
* Add another .WAIT since sometimes we lose the race.imp2015-08-281-0/+1
|
* Drop a .WAIT into the list. Items later in the list than this dependimp2015-08-261-0/+6
| | | | on items earlier. Enable parallel builds.
* Roll WITHOUT_ELFTOOLCHAIN_TOOLS into WITHOUT_TOOLCHAINemaste2015-08-131-1/+1
| | | | | | | | | | | The option was added only to ease the transition from GNU Binutils to ELF Tool Chain tools, and that process is now complete (for the viable replacements). Noting the removal in UPDATING is sufficient as we have not shipped a release with the option. Reviewed by: brooks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D3240
* Remove old GNU Binutils tools now provided by ELF Tool Chainemaste2015-08-0524-2336/+0
| | | | | | Reviewed by: bapt, brooks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D3238
* Allow ELF Tool Chain elfcopy to be installed as objcopyemaste2015-07-291-1/+4
| | | | | | | | | | | | | ELF Tool Chain elfcopy is nearly a drop-in replacement for GNU objcopy, but does not currently support PE output which is needed for building x86 UEFI bits. Add a src.conf knob to allow installing it as objcopy and set it by default for aarch64 only, where we don't have a native binutils. Reviewed by: bapt Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D2887
* Replace GNU RCS ident with a BSD license identbapt2015-07-265-480/+3
| | | | | | | | | | | | | | | | | | | | Rationale: ident(1) is useful out of RCS, lot of scripts are using ident(1) and failing when base is built WITHOUT_RCS. This version is: - fully compatible with RCS 5.7 ident. - fully compatible with RCS 5.9 ident. - passes all ident test from GNU RCS 5.9 test suite This version has support for: svn extension for the Keyword id (double colon and # before last $) Différences with GNU RCS ident: - no long options as found in GNU RCS 5.9 (but not commented there). - '-V' reports nothing but has been added for compatibility. Differential Revision: https://reviews.freebsd.org/D3200 Reviewed by: pfg
* - Record dependencies of gdb/gdbtui/kgdb on binutils/lib{bfd,iberty,opcodes},marius2015-07-192-4/+7
| | | | | | | | fixing parallel builds. - Don't build gdb/gdbtui/kgdb or libreadline when MK_BINUTILS is "no" for obvious reasons. MFC after: 3 days
* Use single instance of the identical INKERNEL() and PMC_IN_KERNEL()kib2015-07-021-3/+3
| | | | | | | | | | | | | macros on amd64 and i386. Move the definition to machine/param.h. kgdb defines INKERNEL() too, the conflict is resolved by renaming kgdb version to PINKERNEL(). On i386, correct the lowest kernel address. After the shared page was introduced, USRSTACK no longer points to the last user address + 1 [*] Submitted by: Oliver Pinter [*] Sponsored by: The FreeBSD Foundation MFC after: 1 week
* new dependssjg2015-06-164-0/+5
|
* Hook extra libs to _LIBS so bsd.lib.mk can do its thingsjg2015-06-161-2/+3
| | | | | Differential Revision: D2843 Reviewed by: imp
* Revert r284417 it is not necessary anymorebapt2015-06-152-2/+2
|
* Enforce overwritting SHLIBDIRbapt2015-06-152-2/+2
| | | | | | | | | Since METAMODE has been added, sys.mk loads bsd.mkopt.mk which ends load loading bsd.own.mk which then defines SHLIBDIR before all the Makefile.inc everywhere. This makes /lib being populated again. Reported by: many
* Avoid circular dependency with nmsjg2015-06-141-0/+3
|
* Add META_MODE support.sjg2015-06-13113-0/+4359
|\ | | | | | | | | | | | | | | | | | | | | Off by default, build behaves normally. WITH_META_MODE we get auto objdir creation, the ability to start build from anywhere in the tree. Still need to add real targets under targets/ to build packages. Differential Revision: D2796 Reviewed by: brooks imp
| * dirdeps.mk now sets DEP_RELDIRsjg2015-06-0891-182/+0
| |
| * Merge sync of headsjg2015-05-2790-5752/+307
| |\
| * | all is MAIN targetsjg2014-11-301-0/+2
| | |
| * | Merge from head@274682sjg2014-11-1953-102/+44
| |\ \
| * | | fixed depsjg2014-11-191-1/+0
| | | |
| * | | Merge head from 7/28sjg2014-08-19105-1314/+157
| |\ \ \
| * | | | Fix building libstdc++ with clangsjg2014-05-162-6/+3
| | | | | | | | | | | | | | | | | | | | Reviewed by: theraven
| * | | | Updated dependenciessjg2014-05-1658-55/+10
| | | | |
| * | | | Updated dependenciessjg2014-05-1063-21/+165
| | | | |
| * | | | Merge from headsjg2014-05-0820-19/+20
| |\ \ \ \
| * | | | | Need to stage_filessjg2014-05-051-0/+6
| | | | | |
| * | | | | New/updated dependenciessjg2014-05-051-0/+6
| | | | | |
| * | | | | Merge headsjg2014-04-2840-72/+179
| |\ \ \ \ \
| * | | | | | Merge head@256308sjg2013-10-141-2/+2
| | | | | | |
OpenPOWER on IntegriCloud