public inbox for newlib@sourceware.org
 help / color / mirror / Atom feed
From: Joern Rennecke <joern.rennecke@embecosm.com>
To: "Joseph S. Myers" <joseph@codesourcery.com>
Cc: Joey Ye <joey.ye.cc@gmail.com>,
	"Thomas Preud'homme" <thomas.preudhomme@arm.com>,
		Grissiom <chaos.proton@gmail.com>,
	Eric Blake <eblake@redhat.com>, GCC <gcc@gcc.gnu.org>,
		Joerg Wunsch <joerg_wunsch@uriah.heep.sax.de>,
	avr-libc-dev@nongnu.org,
		Andrew Burgess <andrew.burgess@embecosm.com>,
		"newlib@sourceware.org" <newlib@sourceware.org>
Subject: Re: selective linking of floating point support for *printf / *scanf
Date: Wed, 03 Sep 2014 19:27:00 -0000	[thread overview]
Message-ID: <CAMqJFCqHW5kgOjDPcmPffFO8fxCDMoLChFqtL9yyEsKbkZGz+A@mail.gmail.com> (raw)
In-Reply-To: <Pine.LNX.4.64.1409021521370.27793@digraph.polyomino.org.uk>

On 2 September 2014 16:28, Joseph S. Myers <joseph@codesourcery.com> wrote:
> On Tue, 2 Sep 2014, Joey Ye wrote:
>
>> Apparently newlib is not following this specification very well, as
>> there are symbols like _abc_r defined every where in current newlib. I
>> am not implying the spec should not be followed, but is newlib
>> designed to have a loose spec for the single underscore?
>
> Identifiers beginning with a single underscore are reserved with file
> scope.  This means an application cannot provide an external definition of
> them, because such an external definition would have file scope.  So it's
> fine for the implementation to define such identifiers and use them in the
> implementation of standard functions.

Hmm, this trows up another question how in GNU C, extensions interact with
the putatively unchanged parts of the standard.
If a user program defines an assembler name for a global function which is
different from the name used in the source code, is that assembler name
used at file scope?  It would seem to me it's only used at global/link scope.
As such, is the use of _[a-z].* as assembly names then part of the
user namespace?

  parent reply	other threads:[~2014-09-03 19:27 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-14  8:52 RFD: " Joern Rennecke
2014-08-14  9:38 ` Thomas Preud'homme
2014-08-18 10:35 ` RFD: " Joey Ye
2014-10-07  7:33   ` Joern Rennecke
2014-08-26  6:48 ` Thomas Preud'homme
2014-08-26 10:43   ` Joern Rennecke
2014-08-27  7:02     ` Thomas Preud'homme
2014-08-27 10:13       ` Joern Rennecke
2014-08-27 10:41         ` Thomas Preud'homme
2014-08-27 11:54           ` Joern Rennecke
2014-08-28  5:30             ` Thomas Preud'homme
2014-08-28 13:47               ` Joern Rennecke
2014-08-29  6:04                 ` Thomas Preud'homme
2014-08-29 13:20                   ` Eric Blake
     [not found]                     ` <CALC6sNDiJ+EOjTasMj2YCQmq10mVQrZKKsaUurhjQe=Zbn435g@mail.gmail.com>
2014-08-29 16:03                       ` Eric Blake
2014-08-29 16:13                         ` Eric Blake
2014-08-30  4:27                       ` Thomas Preud'homme
2014-08-30  4:45                         ` Thomas Preud'homme
2014-09-02  7:33                         ` Joey Ye
2014-09-02  8:40                           ` Andrew Haley
2014-09-02 15:28                           ` Joseph S. Myers
2014-09-03  6:58                             ` Thomas Preud'homme
2014-09-03 19:27                             ` Joern Rennecke [this message]
2014-09-03 20:04                               ` Joseph S. Myers
2014-10-23  8:49                   ` Thomas Preud'homme
2014-10-23 15:21                     ` Joseph S. Myers
2014-10-24  8:06                       ` Thomas Preud'homme
2014-11-02 16:34                         ` Joern Rennecke
2014-11-12 18:08                           ` Thomas Preud'homme
2014-09-03 20:08 ` RFD: " Freddie Chopin
2014-09-03 20:19   ` Joel Sherrill
2014-09-03 20:29     ` Freddie Chopin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAMqJFCqHW5kgOjDPcmPffFO8fxCDMoLChFqtL9yyEsKbkZGz+A@mail.gmail.com \
    --to=joern.rennecke@embecosm.com \
    --cc=andrew.burgess@embecosm.com \
    --cc=avr-libc-dev@nongnu.org \
    --cc=chaos.proton@gmail.com \
    --cc=eblake@redhat.com \
    --cc=gcc@gcc.gnu.org \
    --cc=joerg_wunsch@uriah.heep.sax.de \
    --cc=joey.ye.cc@gmail.com \
    --cc=joseph@codesourcery.com \
    --cc=newlib@sourceware.org \
    --cc=thomas.preudhomme@arm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).