aboutsummaryrefslogtreecommitdiff
path: root/libiberty/ChangeLog
AgeCommit message (Collapse)AuthorFilesLines
2012-08-29Replace malloc with xmallocH.J. Lu1-0/+7
* 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. Lu1-0/+5
PR binutils/14526 * argv.c (buildargv): Replace alloca with xmalloc/free.
2012-08-17* floatformat.c (floatformat_to_double): Correctly handle numbersAndreas Schwab1-0/+6
between 1 and 2. Simplify handling of denormal number. (main): Test with 1.1.
2012-07-31libiberty/md5: fix strict alias warningsMike Frysinger1-0/+5
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 Delorie1-0/+6
2012-07-18merge from gccDJ Delorie1-0/+6
2012-07-13 include/Doug Evans1-0/+4
* 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 Delorie1-0/+5
2012-05-22merge from gccDJ Delorie1-0/+7
2012-04-27merge from gccDJ Delorie1-0/+7
2012-04-10merge from gccDJ Delorie1-0/+4
2012-04-02merge from gccDJ Delorie1-0/+9
2012-03-08merge from gccDJ Delorie1-0/+5
2012-01-26 * make-relative-prefix.c (make_relative_prefix_1): Avoid warningJakub Jelinek1-0/+5
about using preprocessor directives inside of macro arguments.
2012-01-23merge from gccDJ Delorie1-0/+4
2012-01-10merge from gccDJ Delorie1-0/+5
2012-01-06merge from gccDJ Delorie1-0/+27
2012-01-03merge from gccDJ Delorie1-0/+11
2011-12-20merge from gccDJ Delorie1-0/+5
2011-12-20config/:Andreas Schwab1-0/+4
* 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 Schwab1-0/+4
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 Delorie1-0/+14
2011-11-04merge from gccDJ Delorie1-0/+6
2011-11-02merge from gccDJ Delorie1-4/+7
2011-10-29merge from gccDJ Delorie1-0/+4
2011-10-26merge from gccDJ Delorie1-0/+13
2011-10-10merge from gccDJ Delorie1-0/+7
2011-09-28merge from gccDJ Delorie1-0/+10
2011-09-26merge from gccDJ Delorie1-0/+1
2011-09-23merge from gccDJ Delorie1-0/+10
2011-09-23merge from gccDJ Delorie1-0/+5
2011-08-22merge from gccDJ Delorie1-0/+7
2011-08-12merge from gccDJ Delorie1-0/+4
2011-08-06merge from gccDJ Delorie1-14/+24
2011-07-31Sync with gcc.H.J. Lu1-0/+4
2011-07-26 H.J. Lu <hongjiu.lu@intel.com> * testsuite/demangle-expected: Remove an extra line.
2011-07-26merge from gccDJ Delorie1-0/+6
2011-07-25merge from gccDJ Delorie1-0/+5
2011-07-22merge from gccDJ Delorie1-0/+12
2011-07-05merge from gccDJ Delorie1-0/+5
2011-07-01[libiberty/filename_cmp] Darwin has case-insensitive filesystemsJoel Brobecker1-0/+5
include/ChangeLog: * filenames.h (HAVE_CASE_INSENSITIVE_FILE_SYSTEM): Define on Darwin, as well as on the systems that use a DOS-like filesystem. libiberty/ChangeLog: * filename_cmp.c (filename_cmp, filename_ncmp): Add handling of HAVE_CASE_INSENSITIVE_FILE_SYSTEM.
2011-07-01merge from gccJan Kratochvil1-0/+12
libiberty/ PR debug/49408 * cp-demangle.c (d_print_comp): Suppress argument list for function references by the '&' unary operator. Keep also already processed variant without the argument list. Suppress argument list types for function call used in an expression. * testsuite/demangle-expected: Fix excessive argument list types in `test for typed function in decltype'. New testcase for no argument list types printed. 3 new testcases for function references by the '&' unary operator..
2011-06-22merge from gccDJ Delorie1-0/+6
2011-06-13merge from gccDJ Delorie1-0/+23
2011-06-13merge from gccDJ Delorie1-5/+0
2011-05-17 * strsignal.c (psignal): Change second parameter to const char *.Corinna Vinschen1-0/+5
Fix comment accordingly.
2011-04-20merge from gccDJ Delorie1-0/+13
2011-04-10merge from gccDJ Delorie1-0/+6
2011-03-31bfd/Tristan Gingold1-0/+4
2011-03-31 Tristan Gingold <gingold@adacore.com> * vms-alpha.c (vms_get_remaining_object_record): Fix dec-c warning. (_bfd_vms_write_etir): Ditto. (_bfd_vms_slurp_etir): Avoid to use intptr_t * configure.com: Generate bfd_stdint.h binutils/ 2011-03-31 Tristan Gingold <gingold@adacore.com> * makefile.vms (DEBUG_OBJS): Add elfcomm.obj. libiberty/ 2011-03-31 Tristan Gingold <gingold@adacore.com> * makefile.vms (OBJS): Add filename_cmp.obj
2011-03-25merge from gccDJ Delorie1-5/+0
2011-03-042011-03-04 Michael Snyder <msnyder@vmware.com>Michael Snyder1-0/+5
* cplus-dem.c (ada_demangle): Stop memory leak. Also fix a one line indent problem.