about summary refs log tree commit diff
path: root/sysdeps/hppa/fpu
diff options
context:
space:
mode:
authorCarlos O'Donell <carlos@systemhalted.org>2015-02-05 21:33:03 -0500
committerCarlos O'Donell <carlos@systemhalted.org>2015-02-05 21:37:47 -0500
commit3f823f488a4db8d048892af1a7ee992aab770e5a (patch)
treec35bb819cad653780e3778de1bd2cc7c6ec29962 /sysdeps/hppa/fpu
parent34c5604814cb97264aa2393800967b0b0e4585cd (diff)
downloadglibc-3f823f488a4db8d048892af1a7ee992aab770e5a.tar.gz
glibc-3f823f488a4db8d048892af1a7ee992aab770e5a.tar.xz
glibc-3f823f488a4db8d048892af1a7ee992aab770e5a.zip
hppa: Remove warnings and fix conformance errors.
(1) Fix warnings.

This is a bulk update to fix all the warnings that were causing
build failures with -Werror on hppa.

The most egregious problems are in dl-fptr.c which needs to be
entirely rewritten, thus I've used -Wno-error for that.

(2) Fix conformance errors.

The sysdep.c file had __syscall_error and syscall in one file
which caused conformance issues by including syscall when
__syscall_error was linked to. The fix is obviously to split
the file and use syscall.c to implement syscall.
Diffstat (limited to 'sysdeps/hppa/fpu')
-rw-r--r--sysdeps/hppa/fpu/fegetexcept.c2
-rw-r--r--sysdeps/hppa/fpu/ftestexcept.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/hppa/fpu/fegetexcept.c b/sysdeps/hppa/fpu/fegetexcept.c
index 1a82886433..8198cc5ff9 100644
--- a/sysdeps/hppa/fpu/fegetexcept.c
+++ b/sysdeps/hppa/fpu/fegetexcept.c
@@ -22,7 +22,7 @@
 int
 fegetexcept (void)
 {
-  union { unsigned long long l; unsigned int sw[2] } s;
+  union { unsigned long long l; unsigned int sw[2]; } s;
 
   /* Get the current status word. */
   __asm__ ("fstd %%fr0,0(%1)	\n\t"
diff --git a/sysdeps/hppa/fpu/ftestexcept.c b/sysdeps/hppa/fpu/ftestexcept.c
index ed0476e582..091ebfb9b2 100644
--- a/sysdeps/hppa/fpu/ftestexcept.c
+++ b/sysdeps/hppa/fpu/ftestexcept.c
@@ -22,7 +22,7 @@
 int
 fetestexcept (int excepts)
 {
-  union { unsigned long long l; unsigned int sw[2] } s;
+  union { unsigned long long l; unsigned int sw[2]; } s;
 
   /* Get the current status word. */
   __asm__ ("fstd %%fr0,0(%1)	\n\t"