aboutsummaryrefslogtreecommitdiff
path: root/gnu
Commit message (Collapse)AuthorAgeFilesLines
* Add support for diffs generated by Perforce.Ed Schouten2009-08-231-0/+24
| | | | | | | | It basically picks the filenames from the "====" line and strips off the # revision number. Notes: svn path=/head/; revision=196459
* Make head 9.0-CURRENT in preparation for lifting code freeze.Ken Smith2009-08-221-1/+2
| | | | | | | Approved by: re (implicit) Notes: svn path=/head/; revision=196432
* 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
* Restore the install location of libssp.so.0.Ruslan Ermilov2009-02-241-1/+2
| | | | | | | Noticed by: tegge Notes: svn path=/head/; revision=188995
* Initial gdbserver support for PowerPC.Rafal Jaworowski2009-02-234-1/+274
| | | | | | | Obtained from: Juniper Networks, Semihalf Notes: svn path=/head/; revision=188941
* Fix build when WITH_SSP is set explicitly.Ruslan Ermilov2009-02-212-2/+6
| | | | | | | Submitted by: Jeremie Le Hen Notes: svn path=/head/; revision=188895
* Honor WITHOUT_INSTALLLIB in some places.Jung-uk Kim2009-02-131-0/+2
| | | | Notes: svn path=/head/; revision=188583
* For files not named on the command line, only the basename is comparedDavid E. O'Brien2009-01-301-2/+5
| | | | | | | | | | | | to the exclude pattern. Change this so that "grep --exclude='*/.svn/*' -[Rr] foo *" DWIM. Obtained from: dave+news001@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx (Dave Gibson) Obtained from: comp.unix.questions [Thu, 15 Mar 2007 18:54:38 +0000] Obtained from: http://unix.derkeiler.com/Newsgroups/comp.unix.questions/2007-03/msg00046.html Notes: svn path=/head/; revision=187907
* There's no need to redundantly redefine atomicity.h.Warner Losh2008-12-311-1/+0
| | | | Notes: svn path=/head/; revision=186641
* Remove the /usr/X11R6 paths. It has been long enough since the X stuffKen Smith2008-12-301-2/+0
| | | | | | | | | | moved to /usr/local. Checked with: des (last person to have fiddled with this) MFC after: 1 month Notes: svn path=/head/; revision=186602
* Added FreeBSD 6.4.Ruslan Ermilov2008-12-131-0/+1
| | | | Notes: svn path=/head/; revision=186041
* Added FreeBSD 7.1.Ruslan Ermilov2008-12-131-0/+1
| | | | Notes: svn path=/head/; revision=186040
* Push mips support into the tree.Warner Losh2008-12-113-1/+32
| | | | Notes: svn path=/head/; revision=185924
* Push mips support for ld into the tree.Warner Losh2008-12-115-0/+40
| | | | Notes: svn path=/head/; revision=185923
* Push mips support for as into the tree.Warner Losh2008-12-113-0/+27
| | | | Notes: svn path=/head/; revision=185922
* Add strndup(3) prototype to string.h.Konstantin Belousov2008-12-082-2/+2
| | | | | | | | | | | | | | This change was erronously ommitted from the r185690, and attempt to simply add the prototype to string.h has revealed that several contributed programs defined local prototypes for strndup(), controlled by autoconfed config.h. So, manually change #undef HAVE_STRNDUP to #define HAVE_STRNDUP 1. Next import of the corresponding program would regenerate config.h, overriding the changes in this commit. No objections from: kan Notes: svn path=/head/; revision=185777
* Initial gdbserver support for ARM.Rafal Jaworowski2008-11-174-4/+226
| | | | | | | Obtained from: Juniper Networks, Semihalf Notes: svn path=/head/; revision=185023
* Document what the sed trick is for.David E. O'Brien2008-10-162-4/+5
| | | | | | | Remove an embedded <TAB>, and use same style for both files. Notes: svn path=/head/; revision=183957
* Enable UTF-8.Dag-Erling Smørgrav2008-10-081-0/+1
| | | | | | | MFC after: 1 week Notes: svn path=/head/; revision=183696
* Oops, initialize sections and sections_end to NULL.John Baldwin2008-10-021-1/+1
| | | | | | | | Submitted by: Navdeep Parhar MFC after: 1 week Notes: svn path=/head/; revision=183556
* Revert previous commit. The prototype has been moved to unistd.hMarcel Moolenaar2008-09-281-1/+1
| | | | Notes: svn path=/head/; revision=183440
* Differentiate between interrupt frames, trap interrupt frames and timerKonstantin Belousov2008-09-271-3/+33
| | | | | | | | | | | | frame in the kgdb, to allow it to properly backtrace over the interrupt stacks. Noted and reviewed by: tegge Tested by: pho MFC after: 1 week Notes: svn path=/head/; revision=183414
* Add -D_OSRELDATE_H to CFLAGS to prevent the declaration ofMarcel Moolenaar2008-09-261-1/+1
| | | | | | | | | | | getosreldate() in assembler source files. We still get the definition of __FreeBSD_version this way, because it's outside the standard multiple-inclusion protection trick. All this is specific to ia64. Notes: svn path=/head/; revision=183384
* Use existing GDB routines for parsing the section table of klds inJohn Baldwin2008-09-251-36/+23
| | | | | | | | | the 'add-kld' command instead of doing it more by hand. MFC after: 1 week Notes: svn path=/head/; revision=183359
* add new build knobs and jigger some existing controls to improveSam Leffler2008-09-211-5/+6
| | | | | | | | | | | control over the result of buildworld and installworld; this especially helps packaging systems such as nanobsd Reviewed by: various (posted to arch) MFC after: 1 month Notes: svn path=/head/; revision=183242
* MFP4: Add mips to the list of soft-float platforms.Warner Losh2008-09-191-2/+2
| | | | Notes: svn path=/head/; revision=183167
* mfp4: sort the architectures alphabetically...Warner Losh2008-09-191-1/+1
| | | | Notes: svn path=/head/; revision=183166
* Prefer the patch in p4 to the patch in svn as it properly sorts theWarner Losh2008-09-191-1/+1
| | | | | | | architectures alphabetically. Notes: svn path=/head/; revision=183165
* Widen psaddr_t from uintptr_t to uint64_t. This results in anMarcel Moolenaar2008-09-141-6/+7
| | | | | | | | | | | | | | | | | | ABI change on ILP32 platforms and relating to events. However it's harmless on little-endian ILP32 platforms in the sense that it doesn't cause breakages. Old ILP32 thread libraries write a 32-bit th_p and new thread libraries write a 64-bit th_p. But due to the fact that we have an unused 32-bit data field right after th_p and that field is always initialized to zero, little-endian ILP32 machines effectively have a valid 64-bit th_p by accident. Likewise for new thread libraries and old libthread_db: little endian ILP32 is unaffected. At this time we don't support big-endian threaded applications in GDB, so the breakage for the ILP32 case goes unnoticed. Notes: svn path=/head/; revision=183023
* Add FreeBSD/MIPS support to GCC.David E. O'Brien2008-09-016-4/+17
| | | | Notes: svn path=/head/; revision=182627
* GDB isn't building on MIPS. Temporarily disable, to revisit soon.David E. O'Brien2008-09-011-1/+5
| | | | Notes: svn path=/head/; revision=182622
* Turn cc_tools/Makefile and Makefile.tgt into a "linear" read. SharedDavid E. O'Brien2008-08-313-23/+20
| | | | | | | | parts of the configuration aren't duplicated, and arch-specific exceptions are made "in-place". Also clean up the FreeBSD/amd64 config a little. Notes: svn path=/head/; revision=182579
* Enable EFI target.Rui Paulo2008-08-311-1/+3
| | | | | | | While there, make use of the DEFAULT_VECTOR variable. Notes: svn path=/head/; revision=182523
* Add an implementation of the RPCSEC_GSS authentication protocol for RPC. ThisDoug Rabson2008-08-061-0/+1
| | | | | | | | | | | is based on an old implementation from the University of Michigan with lots of changes and fixes by me and the addition of a Solaris-compatible API. Sponsored by: Isilon Systems Reviewed by: alfred Notes: svn path=/head/; revision=181344
* Unbreak the arm build, by spelling LIBSRCS correctly.Olivier Houchard2008-08-021-1/+1
| | | | Notes: svn path=/head/; revision=181167
* Do not build fbsd-threads.c if we're building a cross-debugger.Olivier Houchard2008-08-021-1/+4
| | | | | | | MFC after: 3 days Notes: svn path=/head/; revision=181148
* Merge gnu cpio 2.6 -> 2.8 changes. Unfortunately, we have massivePeter Wemm2008-07-102-48/+585
|\ | | | | | | | | | | | | | | | | conflicts due to radically different approaches to security and bug fixes. In some cases I re-started from the vendor version and reimplemented our patches. Fortunately, this is not enabled by default in -current. Notes: svn path=/head/; revision=180407
| * Virgin import of GNU cpio v2.4.2.David E. O'Brien1997-03-2941-11442/+0
| | | | | | | | Notes: svn path=/vendor/cpio/dist/; revision=24398
| * Vendor import of virgin GNU cpio v2.3.David E. O'Brien1997-03-2641-0/+11442
| | | | Notes: svn path=/vendor/misc-GNU/dist2/; revision=24304
* Instead of using .POSIX:, use the cool looking "@:" rule.David E. O'Brien2008-06-271-2/+4
| | | | | | | Submitted by: ru Notes: svn path=/head/; revision=180067
* Enable GCC stack protection (aka Propolice) for userland:Ruslan Ermilov2008-06-253-5/+3
| | | | | | | | | | | | | | | | | | | | | | | | - It is opt-out for now so as to give it maximum testing, but it may be turned opt-in for stable branches depending on the consensus. You can turn it off with WITHOUT_SSP. - WITHOUT_SSP was previously used to disable the build of GNU libssp. It is harmless to steal the knob as SSP symbols have been provided by libc for a long time, GNU libssp should not have been much used. - SSP is disabled in a few corners such as system bootstrap programs (sys/boot), process bootstrap code (rtld, csu) and SSP symbols themselves. - It should be safe to use -fstack-protector-all to build world, however libc will be automatically downgraded to -fstack-protector because it breaks rtld otherwise. - This option is unavailable on ia64. Enable GCC stack protection (aka Propolice) for kernel: - It is opt-out for now so as to give it maximum testing. - Do not compile your kernel with -fstack-protector-all, it won't work. Submitted by: Jeremie Le Hen <jeremie@le-hen.org> Notes: svn path=/head/; revision=180012