aboutsummaryrefslogtreecommitdiff
path: root/libiberty/functions.texi
AgeCommit message (Collapse)AuthorFilesLines
2019-04-07Merge libiberty from gccAlan Modra1-27/+30
2016-01-05libiberty: {count,dup,write}argv: constify argv input slightlyMike Frysinger1-3/+3
Would be more useful if we could use "const char * const *", but there's a long standing bug where gcc warns about incompatible pointers when you try to pass in "char **". We can at least constify the array itself as gcc will not warn in that case.
2015-01-07Sync with gcc/libiberty.Richard Earnshaw1-0/+18
2014-11-17Sync libiberty from GCCJan-Benedict Glaw1-11/+38
2012-10-10merge from gccDJ Delorie1-6/+64
2011-02-28ChangeLog libiberty/Kai Tietz1-0/+18
2011-02-28 Kai Tietz <kai.tietz@onevision.com> * filename_cmp.c (filename_ncmp): New function. * functions.texi: Regenerated. ChangeLog include/ 2011-02-28 Kai Tietz <kai.tietz@onevision.com> * filenames.h (filename_ncmp): New prototype. ChangeLog bfd/ 2011-02-28 Kai Tietz <kai.tietz@onevision.com> * archive.c (_bfd_find_nested_archive): Use filename_(n)cmp. (adjust_relative_path): Likewise. (_bfd_construct_extended_name_table): Likewise. * corefile.c (generic_core_file_matches_executable_p): Likewise. * elf32-bfin.c (bfinfdpic_relocate_section): Likewise. * elf32-frv.c (elf32_frv_relocate_section): Likewise. * elf32-spu.c (sort_bfds): Likewise. (spu_elf_auto_overlay): Likewise. * syms.c (_bfd_stab_section_find_nearest_line): Likewise. * xcofflink.c (xcoff_set_import_path): Likewise. * xtensa-isa.c (xtensa_regfile_lookup): Likewise. (xtensa_regfile_lookup_shortname): Likewise.
2011-02-03libiberty: documentation markup and order fixes.Ralf Wildenhues1-128/+200
libiberty/: * splay-tree.c: Escape wrapping newlines in texinfo markup with '@', to fix function declaration output rendering. * gather-docs: Relax and improve macro name matching to actually match all current names and to allow input line wrapping. * bsearch.c, concat.c, crc32.c, fnmatch.txh, fopen_unlocked.c, hashtab.c, insque.c, make-relative-prefix.c, memchr.c, memcmp.c, memcpy.c, memmem.c, memmove.c, mempcpy.c, memset.c, pexecute.txh, random.c, setenv.c, setproctitle.c, simple-object.txh, snprintf.c, stpncpy.c, strncmp.c, strtod.c, strtol.c, vasprintf.c, vprintf.c, vsnprintf.c, xmemdup.c: Wrap long texinfo input lines. * functions.texi: Regenerate.
2010-11-02merge from gccDJ Delorie1-0/+180
2010-10-30merge from gccDJ Delorie1-1/+1
2010-10-06merge from gccDJ Delorie1-1/+9
2010-06-10merge from gccDJ Delorie1-1/+38
2009-11-25 * functions.texi: Rebuild.Ben Elliston1-6/+19
2009-07-25merge from gccDJ Delorie1-14/+33
2009-03-27merge from gccDJ Delorie1-2/+11
2008-07-31merge from gccDJ Delorie1-7/+9
2007-07-23merge from gccDJ Delorie1-7/+17
2007-03-29merge from gccDJ Delorie1-0/+16
2007-01-31merge from gccDJ Delorie1-2/+2
2007-01-31 include/Vladimir Prus1-13/+35
* 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.
2007-01-30 * strsignal.c (psignal): Change type of signo to int.Ben Elliston1-1/+1
* functions.texi: Regenerate.
2006-06-01merge from gccDJ Delorie1-9/+23
2006-04-12merge from gccDJ Delorie1-9/+72
2006-03-13merge from gccDJ Delorie1-1/+21
2005-06-21Index: include/ChangeLogGeoffrey Keating1-5/+52
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.
2005-05-15merge from gccDJ Delorie1-144/+158
2005-04-26merge from gccDJ Delorie1-10/+19
2005-04-16merge from gccDJ Delorie1-3/+12
2005-04-11merge from gccDJ Delorie1-0/+30
2005-03-31merge from gccDJ Delorie1-1/+1
2005-03-29libiberty:Ian Lance Taylor1-61/+197
* 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.
2005-03-25merge from gccDJ Delorie1-0/+36
2005-01-11merge from gccDJ Delorie1-11/+11
2003-06-22merge from gccDJ Delorie1-3/+97
2003-06-03asprintf.c: Change comment to note that -1 is returned upon error.Nick Clifton1-2/+2
vasprintf.c: Likewise. (vasprintf): Return -1 upon error. functions.texi: Document changes to asprintf and vasprintf.
2003-05-15libiberty/ChangeLog:Jim Blandy1-1/+7
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.
2003-04-16merge from gccDJ Delorie1-0/+26
2003-04-16merge from gccDJ Delorie1-1/+27
2003-02-20 * Makefile.in (CFILES): Add lrealpath.c.Daniel Jacobowitz1-10/+29
(REQUIRED_OFILES): Add lrealpath.o. (lrealpath.o): Add rule. * aclocal.m4 (libiberty_NEED_DECLARATION): Add. * configure.in: Add realpath and canonicalize_file_name to checkfuncs and AC_CHECK_FUNCS. Use libiberty_NEED_DECLARATION for canonicalize_file_name. * lrealpath.c: New file. * make-relative-prefix.c: Update documentation. (make_relative_prefix): Simplify. Use lbasename and lrealpath. * config.in: Regenerated. * configure: Regenerated. * functions.texi: Regenerated.
2003-01-24merge from gccDJ Delorie1-15/+18
2002-11-22merge from gccDJ Delorie1-4/+21
2002-03-28merge from gccDJ Delorie1-0/+28
2001-10-17merge from gccDJ Delorie1-28/+28
2001-10-16merge from gccDJ Delorie1-7/+428
2001-10-10merge from gccDJ Delorie1-4/+4
2001-10-07merge from gccDJ Delorie1-29/+29
2001-09-27merge from gccDJ Delorie1-21/+22
2001-09-26merge from gccDJ Delorie1-0/+515