summaryrefslogtreecommitdiffstats
path: root/contrib/gcclibs/libiberty
Commit message (Collapse)AuthorAgeFilesLines
* libiberty: prevent integer overflow.pfg2016-06-031-2/+9
| | | | | | | | | Take care of very old bug leading to heap-buffer overflow by processing certain file headers via bfd binary. PR: 200888 Obtained from: OpenBSD MFC after: 2 weeks
* gcc: Add support for Apple's Block extensionpfg2014-01-051-0/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Block objects [1] are a C-level syntactic and runtime feature. They are similar to standard C functions, but in addition to executable code they may also contain variable bindings to automatic (stack) or managed (heap) memory. A block can therefore maintain a set of state (data) that it can use to impact behavior when executed. This port is based on Apple's GCC 5646 with some bugfixes from Apple GCC 5666.3. It has some small differences with the support in clang, which remains the recommended compiler. Perhaps the most notable difference is that in GCC that __block is not actually a keyword, but a macro. There will be workaround for this issue in a near future. Other issues can be consulted in the clang documentation [2] For better compatiblity with Apple's GCC and llvm-gcc some related fixes and features from Apple have been included. Support for the non-standard nested functions in GCC is now off by default. No effort was made to update the ObjC support since FreeBSD doesn't carry ObjC in the base system, but some of the code crept in and was more difficult to remove than to adjust. Reference: [1] https://developer.apple.com/library/mac/documentation/Cocoa/Conceptual/Blocks/Articles/00_Introduction.html [2] http://clang.llvm.org/compatibility.html#block-variable-initialization Obtained from: Apple GCC 4.2 MFC after: 3 weeks
* libiberty: upstream updates.pfg2013-12-0110-113/+229
| | | | | | | | | | | | | | | | | | | | | | There is a new ChangeLog.gcc43 file but most notable: * floatformat.c (get_field): Fix segfault with little-endian word order on 64-bit hosts. (put_field): Likewise. (min): Move definition. gcc/cp/ChangeLog 2007-05-04 Geoffrey Keating <geoffk@apple.com> PR 31775 * mangle.c (write_mangled_name): Mangle static variable names. (write_unqualified_name): Use local-source-name for namespace-scope static variables. (Completes FreeBSD's r258017 ) Obtained from: gcc 4.3 (rev. 118552, 120097, 20698, 120702, 121364, 122972, 126588; GPLv2) MFC after: 2 weeks
* cxxfilt: small changes from Apple's developer toolspfg2013-11-112-1/+73
| | | | | | | | | | | | | | | | From Apple's Developer Tools 4.0 [1]: demangle.patch 2007-05-05 Geoffrey Keating (d_name): Detect local-source-name. (d_prefix): Likewise. (d_unqualified_name): Implement local-source-name. libiberty-printf.patch MFC after: 1 month [1] http://opensource.apple.com/source/cxxfilt/cxxfilt-9/patches/
* Clean up hardcoded ar(1) flags in the tree to use the global ARFLAGS ineadler2012-12-061-5/+5
| | | | | | | | | | | | 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
* Fix clang compile warnings.benl2011-05-221-1/+1
| | | | Approved by: philip (mentor)
* This commit was generated by cvs2svn to compensate for changes in r171831,kan2007-08-141-0/+4
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * GCC 4.2.1 release miscellaneous support libraries.kan2007-08-141-0/+4
| |
* | Re-add local FreeBSD change: prefer /tmp to /var/tmp and /usr/tmpkan2007-05-191-2/+2
|/ | | | for temporary files.
* GCC 4.2.0 release miscellaneous support libraries.kan2007-05-19137-0/+65891
OpenPOWER on IntegriCloud