From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28140 invoked by alias); 29 Aug 2014 13:20:59 -0000 Mailing-List: contact newlib-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: newlib-owner@sourceware.org Received: (qmail 28077 invoked by uid 89); 29 Aug 2014 13:20:58 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS autolearn=unavailable version=3.3.2 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Fri, 29 Aug 2014 13:20:57 +0000 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s7TDKfK9009372 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 29 Aug 2014 09:20:42 -0400 Received: from [10.3.113.127] (ovpn-113-127.phx2.redhat.com [10.3.113.127]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id s7TDKeFg018175; Fri, 29 Aug 2014 09:20:41 -0400 Message-ID: <54007E28.6090106@redhat.com> Date: Fri, 29 Aug 2014 13:20:00 -0000 From: Eric Blake User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.7.0 MIME-Version: 1.0 To: "Thomas Preud'homme" , "'Joern Rennecke'" CC: GCC , Joerg Wunsch , avr-libc-dev@nongnu.org, Andrew Burgess , newlib@sourceware.org Subject: Re: selective linking of floating point support for *printf / *scanf References: <001401cfc0f9$bdc5cbc0$39516340$@arm.com> <001901cfc1c4$d0678630$71369290$@arm.com> <000001cfc1e3$7f1a22f0$7d4e68d0$@arm.com> <000101cfc281$3a3008f0$ae901ad0$@arm.com> <000201cfc34f$1ceadb20$56c09160$@arm.com> In-Reply-To: <000201cfc34f$1ceadb20$56c09160$@arm.com> OpenPGP: url=http://people.redhat.com/eblake/eblake.gpg Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="Jvjo4S6daebWAWffgahtEuRwVo84o8VIs" X-IsSubscribed: yes X-SW-Source: 2014/txt/msg00364.txt.bz2 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --Jvjo4S6daebWAWffgahtEuRwVo84o8VIs Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-length: 777 On 08/29/2014 12:04 AM, Thomas Preud'homme wrote: >> So are you saying you are stuck with printf_float? >=20 > It's not printf_float but _printf_float. I was told double underscore is = only > necessary with old toolchain as they might add a leading underscore. So > _printf_float should not pose any kind of problem. Yes, it does. The namespace reserved for the implementation is _[_A-Z]. The namespace _[a-z] is still available for the user. Which means the user can declare their own _printf_float, and WE (as the implementation) MUST NOT INTERFERE with it. Since WE are the implementation, we should use the namespace reserved for us, namely __printf_float. --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --Jvjo4S6daebWAWffgahtEuRwVo84o8VIs Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" Content-length: 539 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: Public key at http://people.redhat.com/eblake/eblake.gpg iQEcBAEBCAAGBQJUAH4oAAoJEKeha0olJ0NqLWsH/0MPGStyNCU86dQm6zTdMkJe vSswqM4+gbvfay/NWs1i4H4K30DCRO9/3PDNg81+35CN0aZv+Sc9l8gNVTeSh5BW Sob4dLfDq2rfxfMsq40kU+9OxBdYdbO3DorzHFIGUVOjNatvHBd1q2AtTMe6I8Gg n0AvV5kebHKN2kE8UB16QIiiyiqYbMbuTq+IYIjZ4JBtDZT2LSkzwYbI2DuMLIcn lw1Zn7oqcoDZaW7D8VGiriFCaUxpeZK7xWfQ15zKn1cdRb7+LPz2bd78mgMAKH1f ZOYEVIaPawteNiNdmovzW3ZvnHneu8WzehdjO0uVoeANWttRtXLV/zwcrbIRhaw= =u9lv -----END PGP SIGNATURE----- --Jvjo4S6daebWAWffgahtEuRwVo84o8VIs--