This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Re: [PATCH 04/14] FreeBSD update of __GNUCLIKE_ASM, etc.
- From: Sebastian Huber <sebastian dot huber at embedded-brains dot de>
- To: newlib at sourceware dot org
- Date: Thu, 18 Apr 2013 09:49:27 +0200
- Subject: Re: [PATCH 04/14] FreeBSD update of __GNUCLIKE_ASM, etc.
- References: <1366204592-27532-1-git-send-email-sebastian dot huber at embedded-brains dot de> <1366204592-27532-4-git-send-email-sebastian dot huber at embedded-brains dot de> <20130418074209 dot GF25188 at calimero dot vinschen dot de>
On 04/18/2013 09:42 AM, Corinna Vinschen wrote:
On Apr 17 15:16, Sebastian Huber wrote:
These defines are used by FreeBSD header and source files.
newlib/ChangeLog
2013-04-17 Sebastian Huber <sebastian.huber@embedded-brains.de>
* libc/include/sys/cdefs.h (__CC_SUPPORTS_DYNAMIC_ARRAY_INIT):
New define.
(__CC_SUPPORTS___FUNC__): Likewise.
(__CC_SUPPORTS___INLINE): Likewise.
(__CC_SUPPORTS___INLINE__): Likewise.
(__CC_SUPPORTS_INLINE): Likewise.
(__CC_SUPPORTS_VARADIC_XXX): Likewise.
(__CC_SUPPORTS_WARNING): Likewise.
(__compiler_membar()): Likewise.
(__GNUCLIKE_ASM): Likewise.
(__GNUCLIKE_ASM): Likewise.
(__GNUCLIKE_BUILTIN_CONSTANT_P): Likewise.
(__GNUCLIKE_BUILTIN_MEMCPY): Likewise.
(__GNUCLIKE_BUILTIN_NEXT_ARG): Likewise.
(__GNUCLIKE_BUILTIN_STDARG): Likewise.
(__GNUCLIKE_BUILTIN_VAALIST): Likewise.
(__GNUCLIKE_BUILTIN_VARARGS): Likewise.
(__GNUCLIKE_CTOR_SECTION_HANDLING): Likewise.
(__GNUCLIKE_MATH_BUILTIN_CONSTANTS
(__GNUCLIKE_MATH_BUILTIN_RELOPS
(__GNUCLIKE___OFFSETOF): Likewise.
(__GNUCLIKE___SECTION): Likewise.
(__GNUCLIKE___TYPEOF): Likewise.
(__GNUC_VA_LIST_COMPATIBILITY): Likewise.
This seems a bit unnecessary to me. Does anybody actually try to
build newlib with a non-gcc compiler?
These defines are used in FreeBSD header and source files. I suppose a lot
more software was ported to FreeBSD than Newlib so it is unlikely that these
double '_' defines hurt someone.
Newlib does not provide a TCP/IP stack. Due to the similar license it is
tempting to use the FreeBSD stack for this.
--
Sebastian Huber, embedded brains GmbH
Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone : +49 89 189 47 41-16
Fax : +49 89 189 47 41-09
E-Mail : sebastian.huber@embedded-brains.de
PGP : Public key available on request.
Diese Nachricht ist keine geschÃftliche Mitteilung im Sinne des EHUG.