X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f X-Recipient: djgpp AT delorie DOT com X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_40,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Date: Wed, 02 Aug 2017 06:04:50 +0300 Message-Id: <83lgn2zn3h.fsf@gnu.org> From: "Eli Zaretskii (eliz AT gnu DOT org) [via djgpp AT delorie DOT com]" To: djgpp AT delorie DOT com In-reply-to: (message from Hans-Bernhard =?utf-8?Q?Br=C3=B6ker?= on Wed, 2 Aug 2017 00:06:23 +0200) Subject: Re: ANNOUNCE: DJGPP port of GNU binutils 2.29 uploaded. References: <201707301540 DOT v6UFecLb017840 AT delorie DOT com> <5980C3AA DOT 2080305 AT gmx DOT de> <83o9rzyuib DOT fsf AT gnu DOT org> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > From: Hans-Bernhard Bröker > Date: Wed, 2 Aug 2017 00:06:23 +0200 > > > If I'm right, then libiberty has no business declaring functions with > > such names. > > That depends on the answer to the following question: what, exactly, is > -liberty? Is it supplying bits and pieces of the implementation that > are missing in the underlying libc, or is it ordinary user code? In the > former case it would be allowed to declare a global _doprint, otherwise not. > > It's been a while, but I seem to recall -liberty intended to be the former. AFAIU, it cannot be the former. The Standard doesn't acknowledge the existence of such entities. There's only one "implementation" at any given point, and that's the Standard C library and its header files. Everything else is in the application realm.