aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-02-11 20:38:45 +0000
committerUlrich Drepper <drepper@redhat.com>2000-02-11 20:38:45 +0000
commitf6a7345076a54c52391bfb280772b731c160b00c (patch)
tree7779db375129a265ffc3245e84c5107fcf724b78
parentf1c9f20c84c1f28e66308a757375763b86df97f4 (diff)
downloadglibc-f6a7345076a54c52391bfb280772b731c160b00c.zip
glibc-f6a7345076a54c52391bfb280772b731c160b00c.tar.gz
glibc-f6a7345076a54c52391bfb280772b731c160b00c.tar.bz2
Update.
* posix/getopt.c: Suppress messages if first character of optstring is a colon (PR libc/1584).
-rw-r--r--ChangeLog3
-rw-r--r--sysdeps/unix/sysv/linux/powerpc/sys/procfs.h24
2 files changed, 26 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index e73f95c..e3dd452 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
2000-02-11 Ulrich Drepper <drepper@redhat.com>
+ * posix/getopt.c: Suppress messages if first character of
+ optstring is a colon (PR libc/1584).
+
* sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Define ELF_* constants
and elf_* types to interpret values passed up from the kernel.
Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
diff --git a/sysdeps/unix/sysv/linux/powerpc/sys/procfs.h b/sysdeps/unix/sysv/linux/powerpc/sys/procfs.h
index e6943aa..a3cc250 100644
--- a/sysdeps/unix/sysv/linux/powerpc/sys/procfs.h
+++ b/sysdeps/unix/sysv/linux/powerpc/sys/procfs.h
@@ -29,10 +29,32 @@
#include <sys/types.h>
#include <sys/ucontext.h>
#include <sys/user.h>
-#include <asm/elf.h>
__BEGIN_DECLS
+#define ELF_NGREG 48 /* includes nip, msr, lr, etc. */
+#define ELF_NFPREG 33 /* includes fpscr */
+#define ELF_NVRREG 33 /* includes vscr */
+
+typedef unsigned long elf_greg_t;
+typedef elf_greg_t elf_gregset_t[ELF_NGREG];
+
+typedef double elf_fpreg_t;
+typedef elf_fpreg_t elf_fpregset_t[ELF_NFPREG];
+
+/* gcc doesn't support __TI__ yet */
+#if 0
+typedef unsigned __uint128_t __attribute__ (( __mode__ (__TI__)));
+#else
+typedef struct {
+ unsigned long u[4];
+} __attribute((aligned(16))) __uint128_t;
+#endif
+
+/* Altivec registers */
+typedef __uint128_t elf_vrreg_t;
+typedef elf_vrreg_t elf_vrregset_t[ELF_NVRREG];
+
struct elf_siginfo
{
int si_signo; /* Signal number. */