summaryrefslogtreecommitdiff
path: root/include/libiberty.h
Commit message (Collapse)AuthorAgeFilesLines
* Copyright update for binutilsAlan Modra2016-01-011-1/+1
|
* Sync libiberty from GCC, replaying updates to configure scriptsIain Buclaw2015-06-241-1/+1
|
* Merge include/libiberty.h from GCCJan-Benedict Glaw2015-01-141-0/+32
| | | | | | | | | | | | | | | | This pulls in some missing prototypes and also adds corresponding entries to the ChangeLog file. Please note that for one function, strverscmp(), the ChangeLog entry was already there, but the actual prototype wasn't. These ChangeLog entries are added: 2014-10-28 Yury Gribov <y.gribov@samsung.com> * libiberty.h (strtol, strtoul, strtoll, strtoull): New prototypes. 2014-10-15 David Malcolm <dmalcolm@redhat.com> * libiberty.h (choose_tmpdir): New prototype.
* Sync with gcc/libiberty.Richard Earnshaw2015-01-071-0/+10
|
* ChangeLog rotatation and copyright year updateAlan Modra2015-01-021-2/+1
|
* Sync libiberty with upstream GCC.Iain Buclaw2014-10-111-1/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | include/ChangeLog * libiberty.h (PEX_STDOUT_APPEND): New flag. (PEX_STDERR_APPEND): Likewise. * demangle.h (DMGL_DLANG): New macro. (DMGL_STYLE_MASK): Add DMGL_DLANG. (demangling_styles): Add dlang_demangling. (DLANG_DEMANGLING_STYLE_STRING): New macro. (DLANG_DEMANGLING): New macro. (dlang_demangle): New prototype. * longlong.h: Add __udiv_w_sdiv prototype. libiberty/ChangeLog * cp-demangle.c (d_substitution): Handle abi tags on abbreviation. * pex-common.h (struct pex_funcs): Add new parameter for open_write field. * pex-unix.c (pex_unix_open_write): Add support for new parameter. * pex-djgpp.c (pex_djgpp_open_write): Likewise. * pex-win32.c (pex_win32_open_write): Likewise. * pex-common.c (pex_run_in_environment): Likewise. * Makefile.in (CFILES): Add d-demangle.c. (REQUIRED_OFILES): Add d-demangle.o. * cplus-dem.c (libiberty_demanglers): Add dlang_demangling case. (cplus_demangle): Likewise. * d-demangle.c: New file. * testsuite/Makefile.in (really-check): Add check-d-demangle. * testsuite/d-demangle-expected: New file. * simple-object-elf.c (simple_object_elf_write_ehdr): Correctly handle objects with more than SHN_LORESERVE sections. (simple_object_elf_write_shdr): Add sh_link parameter. (simple_object_elf_write_to_file): Correctly handle objects with more than SHN_LORESERVE sections. * cp-demangle.c (d_dump): Only access field from s_fixed part of the union for DEMANGLE_COMPONENT_FIXED_TYPE. (d_count_templates_scopes): Likewise. * testsuite/demangler-fuzzer.c: New file. * testsuite/Makefile.in (fuzz-demangler): New rule. (demangler-fuzzer): Likewise. (mostlyclean): Clean up demangler fuzzer.
* [PATCH] include * ansidecl.h (ANSI_PROTOTYPES, PTRCONST, LONG_DOUBLE, ↵tromey2014-01-211-3/+3
| | | | | | PARAMS) (VPARAMS, VA_START, VA_OPEN, VA_CLOSE, VA_FIXEDARG, CONST) (VOLATILE, SIGNED, PROTO, EXFUN, DEFUN, DEFUN_VOID, AND, DOTS) (NOARGS): Don't define. * libiberty.h (expandargv, writeargv): Don't use PARAMS. libiberty * _doprint.c (checkit): Use stdarg, not VA_* macros. * asprintf.c (asprintf): Use stdarg, not VA_* macros. * concat.c (concat_length, concat_copy, concat_copy2, concat) (reconcat): Use stdarg, not VA_* macros. * snprintf.c (snprintf): Use stdarg, not VA_* macros. * vasprintf.c (checkit): Use stdarg, not VA_* macros. * vsnprintf.c (checkit): Use stdarg, not VA_* macros. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206881 138bc75d-0d04-0410-961f-82ee72b054a4
* 2013-10-29 Marc Glisse <marc.glisse@inria.fr>glisse2013-11-081-17/+17
| | | | | | | | | | | | | | | | PR tree-optimization/58689 include/ * ansidecl.h (ATTRIBUTE_RETURNS_NONNULL): New macro. * libiberty.h (basename, lbasename, dos_lbasename, unix_lbasename, concat_copy): Mark with attributes nonnull(1) and returns_nonnull. (concat, reconcat, concat_copy2, choose_temp_base, xstrerror, xmalloc, xrealloc, xcalloc, xstrdup, xstrndup, xmemdup, pex_init): Mark with attribute returns_nonnull. libiberty/ * concat.c: Remove note about xmalloc. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@204159 138bc75d-0d04-0410-961f-82ee72b054a4
* merge from gccDJ Delorie2011-09-281-0/+4
|
* merge from gccDJ Delorie2011-07-221-1/+4
|
* merge from gccDJ Delorie2011-01-031-1/+1
|
* merge from gccDJ Delorie2010-10-061-0/+3
|
* merge from gccDJ Delorie2010-04-241-0/+11
|
* merge from gccDJ Delorie2009-07-251-1/+1
|
* merge from gccDJ Delorie2009-07-251-1/+4
|
* merge from gccDJ Delorie2008-06-241-0/+8
|
* merge from gccDJ Delorie2007-09-061-2/+3
|
* merge from gccDJ Delorie2007-05-081-0/+4
|
* merge from gccDJ Delorie2007-02-091-27/+0
|
* include/Vladimir Prus2007-01-311-0/+21
| | | | | | | | | | | | | | | | | | | * libiberty.h (PEX_STDERR_TO_PIPE): New define. (PEX_BINARY_ERROR): New define. (pex_read_err): New function. libiberty/ * pex-common.h (struct pex_obj): New fields stderr_pipe and read_err. * pex-common.c (pex_init_common): Initialize stderr_pipe. (pex_run_in_environment): Add error checking for PEX_STDERR_TO_PIPE. Create a pipe for stderr if necessary. (pex_read_err): New. (pex_free): Close read_err. * pexecute.txh: Document changes. * functions.texi: Regenerated.
* include:Joern Rennecke2006-11-301-0/+7
| | | | | | | | | | | | | | | | | | | 2006-05-03 Andrew Stubbs <andrew.stubbs@st.com> J"orn Rennecke <joern.rennecke@st.com> PR driver/29931 * libiberty.h (make_relative_prefix_ignore_links): Declare. libiberty: 2006-05-03 Andrew Stubbs <andrew.stubbs@st.com> J"orn Rennecke <joern.rennecke@st.com> PR driver/29931 * make-relative-prefix.c (make_relative_prefix_1): New function, broken out of make_relative_prefix. Make link resolution dependent on new parameter. (make_relative_prefix): Use make_relative_prefix_1. (make_relative_prefix_ignore_links): New function.
* merge from gccDJ Delorie2006-06-011-0/+17
|
* merge from gccDJ Delorie2006-04-121-0/+41
|
* * libiberty.h (expandargv): New function.Mark Mitchell2005-09-261-0/+3
| | | | | | | | | * argv.c (safe-ctype.h): Include it. (ISBLANK): Remove. (stdio.h): Include. (buildargv): Use ISSPACE instead of ISBLANK. (expandargv): New function. * Makefile.in: Regenerated.
* Index: include/ChangeLogGeoffrey Keating2005-06-211-0/+5
| | | | | | | | | | | | | | | | | | | 2005-06-20 Geoffrey Keating <geoffk@apple.com> * libiberty.h (strverscmp): Prototype. Index: libiberty/ChangeLog 2005-06-20 Geoffrey Keating <geoffk@apple.com> * strverscmp.c: New. * Makefile.in (CFILES): Add strverscmp.c. (CONFIGURED_OFILES): Add strverscmp.o. (strverscmp.o): New rule. (stamp-functions): Add $(srcdir) to files in source directory. * configure.ac (funcs): Add strverscmp. (AC_CHECK_FUNCS): Add strverscmp. * configure: Regenerate. * functions.texi: Regenerate.
* merge from gccDJ Delorie2005-06-061-1/+1
|
* merge from gccDJ Delorie2005-06-021-3/+2
|
* merge from gccDJ Delorie2005-05-281-0/+10
|
* merge from gccDJ Delorie2005-05-241-1/+1
|
* merge from gccDJ Delorie2005-05-121-1/+4
|
* Update the address and phone number of the FSF organizationNick Clifton2005-05-101-2/+2
|
* merge from gccDJ Delorie2005-04-261-0/+6
|
* merge from gccDJ Delorie2005-04-191-5/+5
|
* merge from gccDJ Delorie2005-04-161-0/+6
|
* merge from gccDJ Delorie2005-04-141-3/+3
|
* merge from gccDJ Delorie2005-04-111-0/+8
|
* merge from gccDJ Delorie2005-03-291-1/+1
|
* libiberty:Ian Lance Taylor2005-03-291-1/+163
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * pex-common.c: New file. * pex-one.c: New file. * pexecute.c: New file. * pex-common.h: Include <stdio.h>. (struct pex_obj): Define. (struct pex_funcs): Define. (pex_init_common): Declare. * pex-unix.c: Rewrite. * pex-win32.c: Rewrite. * pex-djgpp.c: Rewrite. * pex-msdos.c: Rewrite. * testsuite/text-pexecute.c: New file. * pexecute.txh: Rewrite. * configure.ac: Check for wait3 and wait4. Set CHECK to really-check rather than check-cplus-dem. * functions.texi: Rebuild. * Makefile.in: Rebuild dependencies. (CFILES): Add pexecute.c, pex-common.c, pex-one.c. (REQUIRED_OFILES): Add pexecute.o, pex-common.o, pex-one.o. * testsuite/Makefile.in (really-check): New target. (check-pexecute, test-pexecute): New targets. * configure: Rebuild. include: * libiberty.h: Include <stdio.h>. (PEX_RECORD_TIMES, PEX_USE_PIPES, PEX_SAVE_TEMPS): Define. (PEX_LAST, PEX_SEARCH, PEX_SUFFIX, PEX_STDERR_TO_STDOUT): Define. (PEX_BINARY_INPUT, PEX_BINARY_OUTPUT): Define. (pex_init, pex_run, pex_read_output): Declare. (pex_get_status, pex_get_times, pex_free, pex_one): Declare. (struct pex_time): Define.
* * libiberty.h (ffs): Declare, if necessary.Mark Mitchell2005-03-291-0/+7
|
* merge from gccDJ Delorie2005-03-271-50/+48
|
* merge from gccDJ Delorie2005-03-251-0/+4
|
* merge from gccDJ Delorie2005-03-231-1/+1
|
* merge from gccDJ Delorie2005-03-101-0/+9
|
* merge from gccDJ Delorie2005-03-011-0/+4
|
* merge from gccDJ Delorie2004-09-141-1/+1
|
* merge from gccDJ Delorie2004-09-051-5/+5
|
* merge from gccDJ Delorie2004-08-061-3/+3
|
* merge from gccDJ Delorie2004-07-241-0/+31
|
* merge from gccDJ Delorie2004-07-131-2/+2
|
* libiberty/ChangeLog:Jim Blandy2003-05-151-2/+2
| | | | | | | | | | | | | | | | | | | 2003-05-14 Jim Blandy <jimb@redhat.com> * hex.c (_hex_value): Make this unsigned. (hex_value): Update documentation for new return type. hex_value now expands to an unsigned int expression, to avoid unexpected sign extension when we store it in a bfd_vma, which is larger than int on some platforms. * functions.texi: Regenerated. include/ChangeLog: 2003-05-14 Jim Blandy <jimb@redhat.com> * libiberty.h (hex_value): Make the value an unsigned int, to avoid unexpected sign-extension when cast to unsigned types larger than int --- like bfd_vma, on some platforms. (_hex_value): Update declaration.