From patchwork Sun Apr 7 11:32:51 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alan Modra X-Patchwork-Id: 1080021 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=gcc.gnu.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=gcc-patches-return-498930-incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="arK5JYlS"; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="aqIR6peJ"; dkim-atps=neutral Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 44cWdP51Wjz9sPq for ; Sun, 7 Apr 2019 21:33:08 +1000 (AEST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:date :from:to:subject:message-id:mime-version:content-type; q=dns; s= default; b=ghNdiTjUnTkKyHDd0Doi3ttsqLikZXJH8UWD7tcAnO3NRC1i2oI0x nm7fvJDeyjrQPf2O91IGwA5WLpZct8wbSZkXa23JLzIME8RttPATojc1agFtz17s QpoU+TX/iOyZK9avSN2L1jtfigouJa9K6s/oXTL6uCt6pbm/5Gbdm4= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:date :from:to:subject:message-id:mime-version:content-type; s= default; bh=Au0ErpISd6mQf/XcYv8DCmlMARk=; b=arK5JYlSvgbD87gYaKwA LTxFcKmZMoHVxzB9LxuKNvtubDuC33MLdG7UaX1YWlXJRMOJ8GwXmcoQOanJcuvC byFegJ5SxL/yqRIypLPd9YhM5K98EfxWm5Sp/7wP0lk4wULv50iXSAKNw53JmM7A IIZWaAeKrBxs/yQ4QCwgGeU= Received: (qmail 8997 invoked by alias); 7 Apr 2019 11:33:01 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 8988 invoked by uid 89); 7 Apr 2019 11:33:00 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-17.4 required=5.0 tests=AWL, BAYES_00, FREEMAIL_FROM, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, SPF_PASS autolearn=ham version=3.3.1 spammy=inserted, picks, HX-HELO:sk:mail-pl X-HELO: mail-pl1-f170.google.com Received: from mail-pl1-f170.google.com (HELO mail-pl1-f170.google.com) (209.85.214.170) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sun, 07 Apr 2019 11:32:58 +0000 Received: by mail-pl1-f170.google.com with SMTP id a96so965484pla.6 for ; Sun, 07 Apr 2019 04:32:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:subject:message-id:mime-version:content-disposition :user-agent; bh=9Lf6yulUx38rtSq4dcoUyaEnV18rX2B45jVHmAy6sXk=; b=aqIR6peJy+ZfDcoYrkXbK2/SJC8nq8pWt6ZNksp6BtFCGQJsh6x7PJ6Y8iZ+wdcZPQ hxv5MCpvMKAvUzbhkgKaDoLVf3CEEzuXJNbNBd5h+x+/D8gTebs0f3FbmQKop9j3cXtT 1LOV05DV/kivhKx0qoK2D7QAW+eP8taWo5yAOE1e+zSp2gnKd6NjDiY1XgpG9thaBk/i vsVvTtUB9vsqMUz0C9XD29w6280RjZVGpwhXOBrGq9ojT/Vj5jiemWBzb4flK53lYkxb DNw+Htq4JcDd/UIphlLD7SwxMqMfC4CE4pE2li75xlY4amVwZSHrNyDUYvyX1fZ8hqa4 +cjQ== Received: from bubble.grove.modra.org ([58.175.241.133]) by smtp.gmail.com with ESMTPSA id x16sm53874441pge.27.2019.04.07.04.32.54 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 07 Apr 2019 04:32:55 -0700 (PDT) Received: by bubble.grove.modra.org (Postfix, from userid 1000) id 966B08063D; Sun, 7 Apr 2019 21:02:51 +0930 (ACST) Date: Sun, 7 Apr 2019 21:02:51 +0930 From: Alan Modra To: gcc-patches@gcc.gnu.org Subject: Regenerate libiberty/functions.texi Message-ID: <20190407113251.GJ8657@bubble.grove.modra.org> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.9.4 (2018-02-28) X-IsSubscribed: yes This patch just picks up changes made in r231983 (git 2afaef0360) and r268793 (git 0f7c25df5f). Applied as obvious. * functions.texi: Regenerate. Index: libiberty/functions.texi =================================================================== --- libiberty/functions.texi (revision 270188) +++ libiberty/functions.texi (working copy) @@ -84,7 +84,7 @@ @end deftypefn -@c argv.c:135 +@c argv.c:138 @deftypefn Extension char** buildargv (char *@var{sp}) Given a pointer to a string, parse the string extracting fields @@ -148,7 +148,7 @@ @end deftypefn -@c make-temp-file.c:96 +@c make-temp-file.c:95 @deftypefn Replacement const char* choose_tmpdir () Returns a pointer to a directory path suitable for creating temporary @@ -175,7 +175,7 @@ @end deftypefn -@c argv.c:470 +@c argv.c:487 @deftypefn Extension int countargv (char * const *@var{argv}) Return the number of elements in @var{argv}. @@ -183,7 +183,7 @@ @end deftypefn -@c crc32.c:141 +@c crc32.c:140 @deftypefn Extension {unsigned int} crc32 (const unsigned char *@var{buf}, @ int @var{len}, unsigned int @var{init}) @@ -192,10 +192,9 @@ data split across multiple buffers by passing the return value of each call as the @var{init} parameter of the next. -This is intended to match the CRC used by the @command{gdb} remote -protocol for the @samp{qCRC} command. In order to get the same -results as gdb for a block of data, you must pass the first CRC -parameter as @code{0xffffffff}. +This is used by the @command{gdb} remote protocol for the @samp{qCRC} +command. In order to get the same results as gdb for a block of data, +you must pass the first CRC parameter as @code{0xffffffff}. This CRC can be specified as: @@ -212,7 +211,7 @@ @end deftypefn -@c argv.c:52 +@c argv.c:59 @deftypefn Extension char** dupargv (char * const *@var{vector}) Duplicate an argument vector. Simply scans through @var{vector}, @@ -223,7 +222,7 @@ @end deftypefn -@c strerror.c:567 +@c strerror.c:572 @deftypefn Extension int errno_max (void) Returns the maximum @code{errno} value for which a corresponding @@ -241,7 +240,7 @@ @end deftypefn -@c argv.c:341 +@c argv.c:344 @deftypefn Extension void expandargv (int *@var{argcp}, char ***@var{argvp}) The @var{argcp} and @code{argvp} arguments are pointers to the usual @@ -410,7 +409,7 @@ @end deftypefn -@c argv.c:90 +@c argv.c:93 @deftypefn Extension void freeargv (char **@var{vector}) Free an argument vector that was built using @code{buildargv}. Simply @@ -431,7 +430,7 @@ @end deftypefn -@c getruntime.c:82 +@c getruntime.c:86 @deftypefn Replacement long get_run_time (void) Returns the time used so far, in microseconds. If possible, this is @@ -515,7 +514,7 @@ @end deftypefn -@c safe-ctype.c:25 +@c safe-ctype.c:24 @defvr Extension HOST_CHARSET This macro indicates the basic character set and encoding used by the host: more precisely, the encoding used for character constants in @@ -537,7 +536,7 @@ @end ftable @end defvr -@c hashtab.c:328 +@c hashtab.c:327 @deftypefn Supplemental htab_t htab_create_typed_alloc (size_t @var{size}, @ htab_hash @var{hash_f}, htab_eq @var{eq_f}, htab_del @var{del_f}, @ htab_alloc @var{alloc_tab_f}, htab_alloc @var{alloc_f}, @ @@ -586,7 +585,7 @@ @end deftypefn -@c safe-ctype.c:46 +@c safe-ctype.c:45 @deffn Extension ISALPHA (@var{c}) @deffnx Extension ISALNUM (@var{c}) @deffnx Extension ISBLANK (@var{c}) @@ -636,7 +635,7 @@ @end itemize @end deffn -@c safe-ctype.c:95 +@c safe-ctype.c:94 @deffn Extension ISIDNUM (@var{c}) @deffnx Extension ISIDST (@var{c}) @deffnx Extension IS_VSPACE (@var{c}) @@ -684,7 +683,7 @@ @end deftypefn -@c make-relative-prefix.c:24 +@c make-relative-prefix.c:23 @deftypefn Extension {const char*} make_relative_prefix (const char *@var{progname}, @ const char *@var{bin_prefix}, const char *@var{prefix}) @@ -710,7 +709,7 @@ @end deftypefn -@c make-temp-file.c:174 +@c make-temp-file.c:173 @deftypefn Replacement char* make_temp_file (const char *@var{suffix}) Return a temporary file name (as a string) or @code{NULL} if unable to @@ -791,7 +790,7 @@ @end deftypefn -@c mkstemps.c:58 +@c mkstemps.c:60 @deftypefn Replacement int mkstemps (char *@var{pattern}, int @var{suffix_len}) Generate a unique temporary file name from @var{pattern}. @@ -1204,7 +1203,7 @@ @end deftypefn -@c setenv.c:23 +@c setenv.c:22 @deftypefn Supplemental int setenv (const char *@var{name}, @ const char *@var{value}, int @var{overwrite}) @deftypefnx Supplemental void unsetenv (const char *@var{name}) @@ -1478,7 +1477,7 @@ @end deftypefn -@c splay-tree.c:303 +@c splay-tree.c:305 @deftypefn Supplemental splay_tree splay_tree_new_with_typed_alloc @ (splay_tree_compare_fn @var{compare_fn}, @ splay_tree_delete_key_fn @var{delete_key_fn}, @ @@ -1495,7 +1494,11 @@ The splay tree will use @var{compare_fn} to compare nodes, @var{delete_key_fn} to deallocate keys, and @var{delete_value_fn} to -deallocate values. +deallocate values. Keys and values will be deallocated when the +tree is deleted using splay_tree_delete or when a node is removed +using splay_tree_remove. splay_tree_insert will release the previously +inserted key and value using @var{delete_key_fn} and @var{delete_value_fn} +if the inserted key is already found in the tree. @end deftypefn @@ -1549,7 +1552,7 @@ @end deftypefn -@c strerror.c:670 +@c strerror.c:675 @deftypefn Replacement {const char*} strerrno (int @var{errnum}) Given an error number returned from a system call (typically returned @@ -1569,7 +1572,7 @@ @end deftypefn -@c strerror.c:603 +@c strerror.c:608 @deftypefn Supplemental char* strerror (int @var{errnoval}) Maps an @code{errno} number to an error message string, the contents @@ -1698,7 +1701,7 @@ @end deftypefn -@c strerror.c:729 +@c strerror.c:734 @deftypefn Extension int strtoerrno (const char *@var{name}) Given the symbolic name of a error number (e.g., @code{EACCES}), map it @@ -1914,7 +1917,7 @@ @end deftypefn -@c argv.c:286 +@c argv.c:289 @deftypefn Extension int writeargv (char * const *@var{argv}, FILE *@var{file}) Write each member of ARGV, handling all necessary quoting, to the file