mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-30 22:43:12 +03:00
Update.
* posix/getopt.c: Suppress messages if first character of optstring is a colon (PR libc/1584).
This commit is contained in:
@ -1,5 +1,8 @@
|
|||||||
2000-02-11 Ulrich Drepper <drepper@redhat.com>
|
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
|
* sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Define ELF_* constants
|
||||||
and elf_* types to interpret values passed up from the kernel.
|
and elf_* types to interpret values passed up from the kernel.
|
||||||
Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
|
Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
|
||||||
|
@ -29,10 +29,32 @@
|
|||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <sys/ucontext.h>
|
#include <sys/ucontext.h>
|
||||||
#include <sys/user.h>
|
#include <sys/user.h>
|
||||||
#include <asm/elf.h>
|
|
||||||
|
|
||||||
__BEGIN_DECLS
|
__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
|
struct elf_siginfo
|
||||||
{
|
{
|
||||||
int si_signo; /* Signal number. */
|
int si_signo; /* Signal number. */
|
||||||
|
Reference in New Issue
Block a user