aboutsummaryrefslogtreecommitdiff
path: root/libiberty
AgeCommit message (Collapse)AuthorFilesLines
2013-06-01merge from gccDJ Delorie4-58/+80
2013-05-10merge from gccDJ Delorie2-11/+10
2013-04-23merge from gccDJ Delorie2-8/+29
2013-04-04merge from gccDJ Delorie3-44/+34
2013-04-03merge from gccDJ Delorie3-13/+150
2013-03-28merge from gccDJ Delorie2-1/+7
2013-03-17merge from gccDJ Delorie5-35/+36
2013-03-17Fix compilation warning by MinGW GCC.Eli Zaretskii2-0/+8
setenv.c [!HAVE_ENVIRON_DECL]: Avoid declaring environ if it is a macro, as this causes compiler warnings with MinGW.
2013-03-01merge from gccDJ Delorie3-3/+11
2013-02-15merge from gccDJ Delorie3-1/+28
2013-02-09merge from gccDJ Delorie2-4/+12
2013-02-07merge from gccDJ Delorie2-3/+6
2013-01-31 PR other/543413Kai Tietz2-2/+7
* md5.c (md5_process_block): Handle case that size_t is a wider-integer-scalar a 32-bit unsigned integer.
2013-01-07merge from gccDJ Delorie6-4/+928
2012-11-11merge from gccDJ Delorie3-10/+57
2012-10-10merge from gccDJ Delorie10-24/+187
2012-08-29Replace malloc with xmallocH.J. Lu2-38/+16
* argv.c (dupargv): Replace malloc with xmalloc. Don't check xmalloc return. (buildargv): Likewise. Also replace strdup with xstrdup. (expandargv): Don't check dupargv return.
2012-08-29Replace alloca with xmalloc/freeH.J. Lu2-1/+8
PR binutils/14526 * argv.c (buildargv): Replace alloca with xmalloc/free.
2012-08-17* floatformat.c (floatformat_to_double): Correctly handle numbersAndreas Schwab2-24/+20
between 1 and 2. Simplify handling of denormal number. (main): Test with 1.1.
2012-07-31libiberty/md5: fix strict alias warningsMike Frysinger2-4/+13
Current libiberty md5 code triggers these warnings with gcc-4.7.1 for me: libiberty/md5.c: In function ‘md5_finish_ctx’: libiberty/md5.c:117:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] libiberty/md5.c:118:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] The change below fixes things for me. The optimized output (-O2) is the same before/after my change on x86_64-linux. I imagine it'll be the same for most targets. It seems simpler than using a union on the md5_ctx buffer since these are the only two locations in the code where this occurs.
2012-07-27merge from gccDJ Delorie2-8/+23
2012-07-18merge from gccDJ Delorie3-1/+40
2012-07-13 include/Doug Evans2-0/+53
* filenames.h: #include "hashtab.h". (filename_hash, filename_eq): Declare. libiberty/ * filename_cmp.c (filename_hash, filename_eq): New functions.
2012-06-29merge from gccDJ Delorie2-5/+5
2012-05-22merge from gccDJ Delorie3-0/+12
2012-04-27merge from gccDJ Delorie3-3/+116
2012-04-10merge from gccDJ Delorie2-2/+8
2012-04-02merge from gccDJ Delorie4-1/+22
2012-03-08merge from gccDJ Delorie3-1/+15
2012-01-26 * make-relative-prefix.c (make_relative_prefix_1): Avoid warningJakub Jelinek2-3/+9
about using preprocessor directives inside of macro arguments.
2012-01-23merge from gccDJ Delorie2-1/+5
2012-01-10merge from gccDJ Delorie3-5/+16
2012-01-06merge from gccDJ Delorie4-83/+282
2012-01-03merge from gccDJ Delorie2-5/+29
2011-12-20merge from gccDJ Delorie3-2/+7
2011-12-20config/:Andreas Schwab2-1/+5
* warnings.m4 (ACX_PROG_CC_WARNING_OPTS): Avoid leading dash in expr call. libdecnumber/: * configure: Regenerate. libiberty/: * configure: Regenerate.
2011-12-19Check for warning flags without no- prefixAndreas Schwab2-2/+14
config/: * warnings.m4 (ACX_PROG_CC_WARNING_OPTS) (ACX_PROG_CC_WARNING_ALMOST_PEDANTIC): Run the test without the no- prefix. libdecnumber/: * configure: Regenerate. libiberty/: * configure: Regenerate.
2011-11-08merge from gccDJ Delorie2-2/+59
2011-11-04merge from gccDJ Delorie2-3/+14
2011-11-02merge from gccDJ Delorie2-8/+19
2011-10-29merge from gccDJ Delorie2-2/+6
2011-10-26merge from gccDJ Delorie2-80/+448
2011-10-10merge from gccDJ Delorie3-0/+36
2011-09-28merge from gccDJ Delorie3-0/+120
2011-09-26merge from gccDJ Delorie1-0/+1
2011-09-23merge from gccDJ Delorie3-3/+111
2011-09-23merge from gccDJ Delorie2-4/+11
2011-08-22merge from gccDJ Delorie4-42/+94
2011-08-12merge from gccDJ Delorie2-6/+14
2011-08-06merge from gccDJ Delorie4-18/+45