summaryrefslogtreecommitdiff
path: root/libiberty
Commit message (Collapse)AuthorAgeFilesLines
* Replace malloc with xmallocH.J. Lu2012-08-292-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.
* Replace alloca with xmalloc/freeH.J. Lu2012-08-292-1/+8
| | | | | PR binutils/14526 * argv.c (buildargv): Replace alloca with xmalloc/free.
* * floatformat.c (floatformat_to_double): Correctly handle numbersAndreas Schwab2012-08-172-24/+20
| | | | | between 1 and 2. Simplify handling of denormal number. (main): Test with 1.1.
* libiberty/md5: fix strict alias warningsMike Frysinger2012-07-312-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.
* merge from gccDJ Delorie2012-07-272-8/+23
|
* merge from gccDJ Delorie2012-07-183-1/+40
|
* include/Doug Evans2012-07-132-0/+53
| | | | | | | * filenames.h: #include "hashtab.h". (filename_hash, filename_eq): Declare. libiberty/ * filename_cmp.c (filename_hash, filename_eq): New functions.
* merge from gccDJ Delorie2012-06-292-5/+5
|
* merge from gccDJ Delorie2012-05-223-0/+12
|
* merge from gccDJ Delorie2012-04-273-3/+116
|
* merge from gccDJ Delorie2012-04-102-2/+8
|
* merge from gccDJ Delorie2012-04-024-1/+22
|
* merge from gccDJ Delorie2012-03-083-1/+15
|
* * make-relative-prefix.c (make_relative_prefix_1): Avoid warningJakub Jelinek2012-01-262-3/+9
| | | | about using preprocessor directives inside of macro arguments.
* merge from gccDJ Delorie2012-01-232-1/+5
|
* merge from gccDJ Delorie2012-01-103-5/+16
|
* merge from gccDJ Delorie2012-01-064-83/+282
|
* merge from gccDJ Delorie2012-01-032-5/+29
|
* merge from gccDJ Delorie2011-12-203-2/+7
|
* config/:Andreas Schwab2011-12-202-1/+5
| | | | | | | | | * warnings.m4 (ACX_PROG_CC_WARNING_OPTS): Avoid leading dash in expr call. libdecnumber/: * configure: Regenerate. libiberty/: * configure: Regenerate.
* Check for warning flags without no- prefixAndreas Schwab2011-12-192-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.
* merge from gccDJ Delorie2011-11-082-2/+59
|
* merge from gccDJ Delorie2011-11-042-3/+14
|
* merge from gccDJ Delorie2011-11-022-8/+19
|
* merge from gccDJ Delorie2011-10-292-2/+6
|
* merge from gccDJ Delorie2011-10-262-80/+448
|
* merge from gccDJ Delorie2011-10-103-0/+36
|
* merge from gccDJ Delorie2011-09-283-0/+120
|
* merge from gccDJ Delorie2011-09-261-0/+1
|
* merge from gccDJ Delorie2011-09-233-3/+111
|
* merge from gccDJ Delorie2011-09-232-4/+11
|
* merge from gccDJ Delorie2011-08-224-42/+94
|
* merge from gccDJ Delorie2011-08-122-6/+14
|
* merge from gccDJ Delorie2011-08-064-18/+45
|
* Sync with gcc.H.J. Lu2011-07-312-1/+4
| | | | | | 2011-07-26 H.J. Lu <hongjiu.lu@intel.com> * testsuite/demangle-expected: Remove an extra line.
* merge from gccDJ Delorie2011-07-263-1/+21
|
* merge from gccDJ Delorie2011-07-252-0/+8
|
* merge from gccDJ Delorie2011-07-226-18/+102
|
* merge from gccDJ Delorie2011-07-053-7/+32
|
* [libiberty/filename_cmp] Darwin has case-insensitive filesystemsJoel Brobecker2011-07-012-6/+27
| | | | | | | | | | | | | 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.
* merge from gccJan Kratochvil2011-07-013-3/+84
| | | | | | | | | | | | | 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..
* merge from gccDJ Delorie2011-06-223-4/+41
|
* merge from gccDJ Delorie2011-06-134-123/+182
|
* merge from gccDJ Delorie2011-06-132-7/+2
|
* * strsignal.c (psignal): Change second parameter to const char *.Corinna Vinschen2011-05-172-2/+7
| | | | Fix comment accordingly.
* merge from gccDJ Delorie2011-04-208-43/+34
|
* merge from gccDJ Delorie2011-04-102-1/+7
|
* bfd/Tristan Gingold2011-03-312-1/+5
| | | | | | | | | | | | | | | | | | | 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
* merge from gccDJ Delorie2011-03-252-8/+2
|
* 2011-03-04 Michael Snyder <msnyder@vmware.com>Michael Snyder2011-03-042-2/+8
| | | | | * cplus-dem.c (ada_demangle): Stop memory leak. Also fix a one line indent problem.