public inbox for libc-hacker@sourceware.org
 help / color / mirror / Atom feed
From: Jakub Jelinek <jakub@redhat.com>
To: Ulrich Drepper <drepper@redhat.com>, Roland McGrath <roland@redhat.com>
Cc: Glibc hackers <libc-hacker@sources.redhat.com>
Subject: [PATCH] Misc fixes
Date: Mon, 16 Dec 2002 10:56:00 -0000	[thread overview]
Message-ID: <20021216195558.U1310@sunsite.ms.mff.cuni.cz> (raw)

Hi!

As I mentioned in another mail, C99 designated initializers don't work ATM
in C++.  Also, IA-64 needs some __syscall_* wrappers to build.

2002-12-16  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/i386/fpu/bits/mathinline.h: Backout last change.
	* sysdeps/ieee754/bits/nan.h: Likewise.

	* sysdeps/unix/sysv/linux/ia64/syscalls.list (__syscall_open,
	__syscall_wait4, __syscall_ioctl, __syscall_write): Add.

--- libc/sysdeps/i386/fpu/bits/mathinline.h	16 Dec 2002 02:05:09 -0000	1.49
+++ libc/sysdeps/i386/fpu/bits/mathinline.h	6 Jul 2001 04:55:53 -0000	1.48
@@ -127,19 +127,19 @@
 __MATH_INLINE int
 __signbitf (float __x) __THROW
 {
-  __extension__ union { float __f; int __i; } __u = { .__f = __x };
+  __extension__ union { float __f; int __i; } __u = { __f: __x };
   return __u.__i < 0;
 }
 __MATH_INLINE int
 __signbit (double __x) __THROW
 {
-  __extension__ union { double __d; int __i[2]; } __u = { .__d = __x };
+  __extension__ union { double __d; int __i[2]; } __u = { __d: __x };
   return __u.__i[1] < 0;
 }
 __MATH_INLINE int
 __signbitl (long double __x) __THROW
 {
-  __extension__ union { long double __l; int __i[3]; } __u = { .__l = __x };
+  __extension__ union { long double __l; int __i[3]; } __u = { __l: __x };
   return (__u.__i[2] & 0x8000) != 0;
 }
 # endif
@@ -467,7 +467,7 @@ __inline_mathop_declNP (atan, "fld1; fpa
 
 __inline_mathcode_ (long double, __sgn1l, __x, \
   __extension__ union { long double __xld; unsigned int __xi[3]; } __n =      \
-    { .__xld = __x };							      \
+    { __xld: __x };							      \
   __n.__xi[2] = (__n.__xi[2] & 0x8000) | 0x3fff;			      \
   __n.__xi[1] = 0x80000000;						      \
   __n.__xi[0] = 0;							      \
@@ -666,7 +666,7 @@ __MATH_INLINE int
 __finite (double __x) __THROW
 {
   return (__extension__
-	  (((((union { double __d; int __i[2]; }) {.__d = __x}).__i[1]
+	  (((((union { double __d; int __i[2]; }) {__d: __x}).__i[1]
 	     | 0x800fffffu) + 1) >> 31));
 }
 
--- libc/sysdeps/ieee754/bits/nan.h	16 Dec 2002 02:05:09 -0000	1.6
+++ libc/sysdeps/ieee754/bits/nan.h	6 Jul 2001 04:55:54 -0000	1.5
@@ -29,7 +29,7 @@
 # define NAN \
   (__extension__                                                            \
    ((union { unsigned __l __attribute__((__mode__(__SI__))); float __d; })  \
-    { .__l = 0x7fc00000UL }).__d)
+    { __l: 0x7fc00000UL }).__d)
 
 #else
 
--- libc/sysdeps/unix/sysv/linux/ia64/syscalls.list	Mon Dec 16 03:18:52 2002
+++ libc/sysdeps/unix/sysv/linux/ia64/syscalls.list	Mon Dec 16 04:17:15 2002
@@ -81,6 +81,10 @@ s_stat		xstat	stat		i:sp	__syscall_stat
 s_lstat		lxstat	lstat		i:sp	__syscall_lstat
 s_fstat		fxstat	fstat		i:ip	__syscall_fstat
 s_sysctl	sysctl	_sysctl		i:p	__syscall__sysctl
+s_open		open	open		i:siv	__syscall_open
+s_wait4		wait4	wait4		i:iWiP	__syscall_wait4
+s_ioctl		ioctl	ioctl		i:iiI	__syscall_ioctl
+s_write		write	write		i:ibn	__syscall_write
 
 # IA-64 specific
 getunwind	EXTRA	getunwind	i:pi	getunwind

	Jakub

             reply	other threads:[~2002-12-16 18:56 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-16 10:56 Jakub Jelinek [this message]
2002-12-16 11:33 ` Ulrich Drepper
  -- strict thread matches above, loose matches on Subject: below --
2009-03-10 13:42 Jakub Jelinek
2004-10-06 11:41 Jakub Jelinek
2003-07-12 14:19 Jakub Jelinek
2003-07-12 18:49 ` Ulrich Drepper
1999-12-28  7:14 Jakub Jelinek
1999-12-28  8:29 ` Ulrich Drepper

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=20021216195558.U1310@sunsite.ms.mff.cuni.cz \
    --to=jakub@redhat.com \
    --cc=drepper@redhat.com \
    --cc=libc-hacker@sources.redhat.com \
    --cc=roland@redhat.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).