1999-05-19 15:35:26 +00:00
|
|
|
/* Copyright (C) 1998, 1999 Free Software Foundation, Inc.
|
|
|
|
This file is part of the GNU C Library.
|
|
|
|
|
|
|
|
The GNU C Library is free software; you can redistribute it and/or
|
|
|
|
modify it under the terms of the GNU Library General Public License as
|
|
|
|
published by the Free Software Foundation; either version 2 of the
|
|
|
|
License, or (at your option) any later version.
|
|
|
|
|
|
|
|
The GNU C Library is distributed in the hope that it will be useful,
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
Library General Public License for more details.
|
|
|
|
|
|
|
|
You should have received a copy of the GNU Library General Public
|
|
|
|
License along with the GNU C Library; see the file COPYING.LIB. If not,
|
|
|
|
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
|
|
|
Boston, MA 02111-1307, USA. */
|
|
|
|
|
Update.
1998-09-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* sysdeps/mach/hurd/dl-cache.c (_dl_unload_cache): New dummy
function. Reported by okuji@kuicr.kyoto-u.ac.jp [PR libc/789].
1998-09-15 David S. Miller <davem@pierdol.cobaltmicro.com>
* sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
Add profiling support.
(TRAMPOLINE_TEMPLATE): New macro.
(ELF_MACHINE_RUNTIME_TRAMPOLINE): Define in terms of that.
(RTLD_START): Prettify, and set __libc_stack_end properly.
(elf_machine_rela) [R_SPARC_COPY]: Remove RTLD_BOOTSTRAP ifndef
and check for sym being NULL instead.
* sysdeps/sparc/sparc64/addmul_1.S: Adjust to allocate 192 bytes
of stack space.
* sysdeps/sparc/sparc64/lshift.S: Likewise.
* sysdeps/sparc/sparc64/mul_1.S: Likewise.
* sysdeps/sparc/sparc64/rshift.S: Likewise.
* sysdeps/sparc/sparc64/submul_1.S: Likewise.
* sysdeps/sparc/sparc64/elf/crtbegin.S: Likewise and remove old
MEDANY code model %g4 usage.
* sysdeps/sparc/sparc64/elf/crtend.S: Likewise and remove old
MEDANY code model %g4 usage.
* sysdeps/sparc/sparc64/elf/start.S: Rework to not use old FULLANY
code model address formation.
* sysdeps/sparc/sparc64/dl-machine.h: Don't include link.h, do
include elf/ldsodefs.h
(DT_SPARC): Remove.
(elf_machine_matches_host): It is now EM_SPARCV9.
(elf_machine_dynamic): Clean up to remove ugly cast.
(elf_machine_fixup_plt): Rework for new V9 ABI, add support for
new PLT formats.
(elf_machine_rela): Don't do anything at all for R_SPARC_NONE.
Prettify rest of function.
[R_SPARC_COPY]: Check for sym being NULL.
[R_SPARC_32]: Handle it.
[R_SPARC_H44, R_SPARC_M44, R_SPARC_L44]: Handle them for the
MEDMID code model.
[R_SPARC_HH22, R_SPARC_HM10, R_SPARC_LM22]: Handle them for the
MEDANY code model.
[R_SPARC_NONE]: Remove this case, as it is now checked earlier.
(elf_machine_runtime_setup): Rewrite for new V9 ABI plt formats.
Add profiling support.
(TRAMPOLINE_TEMPLATE): New macro.
(ELF_MACHINE_RUNTIME_TRAMPOLINE): Define in terms of that.
(RTLD_START): Prettify and set __libc_stack_end.
* sysdeps/unix/sysv/linux/sparc/bits/sigaction.h (SA_SIGINFO):
Define.
* sysdeps/unix/sysv/linux/sparc/bits/signum.h (_NSIG): Set to 64.
(SIGRTMIN, SIGRTMAX, __SIGRTMIN, __SIGRTMAX): Define.
* sysdeps/unix/sysv/linux/sparc/sparc32/brk.c (__brk): Remove
unused variable scratch.
* sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
(__syscall_rt_sigaction, __rt_sigreturn_stub, __sigreturn_stub):
Declare.
(__sigaction): Rewrite rt_sigaction case to pass correct sigreturn
stub to rt_sigaction syscalls. Rewrite non-rt case to use correct
old format kernel sigaction structures.
* sysdeps/unix/sysv/linux/sparc/sparc64/ucontext.h: Move...
* sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: to here.
* sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Remove ucontext.h
* sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Fix
ucontext include.
(_JMPBUF_UNWINDS): Define.
* sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Declare
statfs64 structure, which is exactly the same as the normal one.
* sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Allocate 192 bytes
of stack. Use correct syscall trap number. Add branch prediction
settings to branch instructions. Remove old MEDANY code model %g4
referneces for non-PIC.
* sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/pipe.S: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/syscall.S: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Add
__libc_longjmp and __libc_siglongjmp strong aliases.
* sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c (__readdir64):
Also define to __no__readdir64_decl around readdir.c inclusion.
(__readdir64): Add strong alias.
* sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: New file.
* sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (getrlimit):
Set strong and weak names properly.
1998-09-16 11:25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* manual/Makefile (AWK): Default to gawk if standalone.
1998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* Makefile (distribute): Undo last change.
* Make-dist (+tsrc) [not subdir]: Also include indirection headers
for sysdep headers.
(+subdir-headers): Removed, unused.
1998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* stdio-common/Makefile ($(inst_includedir)/bits/stdio_lim.h): Use
$(do-install).
1998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* Makerules ($(+sysdir_pfx)sysd-Makefile): Don't check for
absolute name in $(config-sysdirs), can never happen.
($(+sysdir_pfx)sysd-rules): Likewise.
* Makeconfig (full-config-sysdirs): Likewise.
(all-Subdirs-files): Prepend $(..).
* configure.in: Don't check for absolute name in $add_ons_pfx, can
not happen. Let --enable-add-ons=yes work if no add-ons actually
exist.
1998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* Rules ($(common-objpfx)bits/stdio_%.h): Remove extra
continuations in command.
1998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* libio/oldstdfiles.c (_IO_stdin_used): Update declaration.
1998-09-16 17:54:34 +00:00
|
|
|
#ifndef _SYS_UCONTEXT_H
|
1999-05-19 15:35:26 +00:00
|
|
|
#define _SYS_UCONTEXT_H 1
|
1997-06-29 22:05:27 +00:00
|
|
|
|
1999-05-19 15:35:26 +00:00
|
|
|
#include <features.h>
|
1997-06-29 22:05:27 +00:00
|
|
|
#include <signal.h>
|
1999-05-19 15:35:26 +00:00
|
|
|
#include <bits/wordsize.h>
|
|
|
|
|
|
|
|
#if __WORDSIZE == 64
|
1997-06-29 22:05:27 +00:00
|
|
|
|
|
|
|
#define MC_TSTATE 0
|
|
|
|
#define MC_PC 1
|
|
|
|
#define MC_NPC 2
|
|
|
|
#define MC_Y 3
|
|
|
|
#define MC_G1 4
|
|
|
|
#define MC_G2 5
|
|
|
|
#define MC_G3 6
|
|
|
|
#define MC_G4 7
|
|
|
|
#define MC_G5 8
|
|
|
|
#define MC_G6 9
|
|
|
|
#define MC_G7 10
|
|
|
|
#define MC_O0 11
|
|
|
|
#define MC_O1 12
|
|
|
|
#define MC_O2 13
|
|
|
|
#define MC_O3 14
|
|
|
|
#define MC_O4 15
|
|
|
|
#define MC_O5 16
|
|
|
|
#define MC_O6 17
|
|
|
|
#define MC_O7 18
|
|
|
|
#define MC_NGREG 19
|
|
|
|
|
|
|
|
typedef unsigned long mc_greg_t;
|
|
|
|
typedef mc_greg_t mc_gregset_t[MC_NGREG];
|
|
|
|
|
|
|
|
#define MC_MAXFPQ 16
|
|
|
|
struct mc_fq {
|
|
|
|
unsigned long *mcfq_addr;
|
|
|
|
unsigned int mcfq_insn;
|
|
|
|
};
|
|
|
|
|
|
|
|
struct mc_fpu {
|
|
|
|
union {
|
|
|
|
unsigned int sregs[32];
|
|
|
|
unsigned long dregs[32];
|
|
|
|
long double qregs[16];
|
|
|
|
} mcfpu_fregs;
|
|
|
|
unsigned long mcfpu_fsr;
|
|
|
|
unsigned long mcfpu_fprs;
|
|
|
|
unsigned long mcfpu_gsr;
|
|
|
|
struct mc_fq *mcfpu_fq;
|
|
|
|
unsigned char mcfpu_qcnt;
|
|
|
|
unsigned char mcfpu_qentsz;
|
|
|
|
unsigned char mcfpu_enab;
|
|
|
|
};
|
|
|
|
typedef struct mc_fpu mc_fpu_t;
|
|
|
|
|
|
|
|
typedef struct {
|
|
|
|
mc_gregset_t mc_gregs;
|
|
|
|
mc_greg_t mc_fp;
|
|
|
|
mc_greg_t mc_i7;
|
|
|
|
mc_fpu_t mc_fpregs;
|
|
|
|
} mcontext_t;
|
|
|
|
|
1999-05-19 15:35:26 +00:00
|
|
|
typedef struct ucontext {
|
1997-06-29 22:05:27 +00:00
|
|
|
struct ucontext *uc_link;
|
|
|
|
unsigned long uc_flags;
|
|
|
|
unsigned long uc_sigmask;
|
|
|
|
mcontext_t uc_mcontext;
|
1999-05-19 15:35:26 +00:00
|
|
|
} ucontext_t;
|
|
|
|
|
1999-10-31 23:32:56 +00:00
|
|
|
#endif /* __WORDISIZE == 64 */
|
1999-05-19 15:35:26 +00:00
|
|
|
|
|
|
|
/*
|
|
|
|
* Location of the users' stored registers relative to R0.
|
|
|
|
* Usage is as an index into a gregset_t array or as u.u_ar0[XX].
|
|
|
|
*/
|
|
|
|
#define REG_PSR (0)
|
|
|
|
#define REG_PC (1)
|
|
|
|
#define REG_nPC (2)
|
|
|
|
#define REG_Y (3)
|
|
|
|
#define REG_G1 (4)
|
|
|
|
#define REG_G2 (5)
|
|
|
|
#define REG_G3 (6)
|
|
|
|
#define REG_G4 (7)
|
|
|
|
#define REG_G5 (8)
|
|
|
|
#define REG_G6 (9)
|
|
|
|
#define REG_G7 (10)
|
|
|
|
#define REG_O0 (11)
|
|
|
|
#define REG_O1 (12)
|
|
|
|
#define REG_O2 (13)
|
|
|
|
#define REG_O3 (14)
|
|
|
|
#define REG_O4 (15)
|
|
|
|
#define REG_O5 (16)
|
|
|
|
#define REG_O6 (17)
|
|
|
|
#define REG_O7 (18)
|
|
|
|
|
|
|
|
/*
|
|
|
|
* A gregset_t is defined as an array type for compatibility with the reference
|
|
|
|
* source. This is important due to differences in the way the C language
|
|
|
|
* treats arrays and structures as parameters.
|
|
|
|
*
|
|
|
|
* Note that NGREG is really (sizeof (struct regs) / sizeof (greg_t)),
|
1999-10-31 23:32:56 +00:00
|
|
|
* but that the ABI defines it absolutely to be 21 (resp. 19).
|
1999-05-19 15:35:26 +00:00
|
|
|
*/
|
|
|
|
|
1999-10-31 23:32:56 +00:00
|
|
|
#if __WORDSIZE == 64
|
|
|
|
|
|
|
|
#define REG_ASI (19)
|
|
|
|
#define REG_FPRS (20)
|
|
|
|
|
|
|
|
#define NGREG 21
|
|
|
|
typedef long greg_t;
|
|
|
|
|
|
|
|
#else /* __WORDSIZE == 32 */
|
|
|
|
|
|
|
|
#define NGREG 19
|
1999-05-19 15:35:26 +00:00
|
|
|
typedef int greg_t;
|
1999-10-31 23:32:56 +00:00
|
|
|
|
|
|
|
#endif /* __WORDSIZE == 32 */
|
|
|
|
|
1999-05-19 15:35:26 +00:00
|
|
|
typedef greg_t gregset_t[NGREG];
|
|
|
|
|
|
|
|
/*
|
|
|
|
* The following structures define how a register window can appear on the
|
|
|
|
* stack. This structure is available (when required) through the `gwins'
|
|
|
|
* field of an mcontext (nested within ucontext). SPARC_MAXWINDOW is the
|
|
|
|
* maximum number of outstanding regiters window defined in the SPARC
|
|
|
|
* architecture (*not* implementation).
|
|
|
|
*/
|
|
|
|
#define SPARC_MAXREGWINDOW 31 /* max windows in SPARC arch. */
|
|
|
|
struct rwindow
|
|
|
|
{
|
|
|
|
greg_t rw_local[8]; /* locals */
|
|
|
|
greg_t rw_in[8]; /* ins */
|
|
|
|
};
|
|
|
|
|
|
|
|
#define rw_fp rw_in[6] /* frame pointer */
|
|
|
|
#define rw_rtn rw_in[7] /* return address */
|
|
|
|
|
|
|
|
typedef struct gwindows
|
|
|
|
{
|
|
|
|
int wbcnt;
|
|
|
|
int *spbuf[SPARC_MAXREGWINDOW];
|
|
|
|
struct rwindow wbuf[SPARC_MAXREGWINDOW];
|
|
|
|
} gwindows_t;
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Floating point definitions.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#define MAXFPQ 16 /* max # of fpu queue entries currently supported */
|
|
|
|
|
|
|
|
/*
|
|
|
|
* struct fq defines the minimal format of a floating point instruction queue
|
|
|
|
* entry. The size of entries in the floating point queue are implementation
|
|
|
|
* dependent. The union FQu is guarenteed to be the first field in any ABI
|
|
|
|
* conformant system implementation. Any additional fields provided by an
|
|
|
|
* implementation should not be used applications designed to be ABI conformant. */
|
|
|
|
|
|
|
|
struct fpq
|
|
|
|
{
|
|
|
|
unsigned long *fpq_addr; /* address */
|
|
|
|
unsigned long fpq_instr; /* instruction */
|
|
|
|
};
|
|
|
|
|
|
|
|
struct fq
|
|
|
|
{
|
|
|
|
union /* FPU inst/addr queue */
|
|
|
|
{
|
|
|
|
double whole;
|
|
|
|
struct fpq fpq;
|
|
|
|
} FQu;
|
|
|
|
};
|
|
|
|
|
|
|
|
#define FPU_REGS_TYPE unsigned
|
|
|
|
#define FPU_DREGS_TYPE unsigned long long
|
|
|
|
#define V7_FPU_FSR_TYPE unsigned
|
|
|
|
#define V9_FPU_FSR_TYPE unsigned long long
|
|
|
|
#define V9_FPU_FPRS_TYPE unsigned
|
|
|
|
|
1999-10-31 23:32:56 +00:00
|
|
|
#if __WORDSIZE == 64
|
|
|
|
|
|
|
|
typedef struct fpu
|
|
|
|
{
|
|
|
|
union { /* FPU floating point regs */
|
|
|
|
unsigned fpu_regs[32]; /* 32 singles */
|
|
|
|
double fpu_dregs[16]; /* 32 doubles */
|
|
|
|
long double fpu_qregs[16]; /* 16 quads */
|
|
|
|
} fpu_fr;
|
|
|
|
struct fq *fpu_q; /* ptr to array of FQ entries */
|
|
|
|
unsigned long fpu_fsr; /* FPU status register */
|
|
|
|
unsigned char fpu_qcnt; /* # of entries in saved FQ */
|
|
|
|
unsigned char fpu_q_entrysize; /* # of bytes per FQ entry */
|
|
|
|
unsigned char fpu_en; /* flag signifying fpu in use */
|
|
|
|
} fpregset_t;
|
|
|
|
|
|
|
|
#else /* __WORDSIZE == 32 */
|
|
|
|
|
1999-05-19 15:35:26 +00:00
|
|
|
typedef struct fpu
|
|
|
|
{
|
|
|
|
union { /* FPU floating point regs */
|
|
|
|
unsigned long long fpu_regs[32]; /* 32 singles */
|
|
|
|
double fpu_dregs[16]; /* 16 doubles */
|
|
|
|
} fpu_fr;
|
|
|
|
struct fq *fpu_q; /* ptr to array of FQ entries */
|
|
|
|
unsigned fpu_fsr; /* FPU status register */
|
|
|
|
unsigned char fpu_qcnt; /* # of entries in saved FQ */
|
|
|
|
unsigned char fpu_q_entrysize; /* # of bytes per FQ entry */
|
|
|
|
unsigned char fpu_en; /* flag signifying fpu in use */
|
|
|
|
} fpregset_t;
|
|
|
|
|
|
|
|
/*
|
|
|
|
* The following structure is for associating extra register state with
|
|
|
|
* the ucontext structure and is kept within the uc_mcontext filler area.
|
|
|
|
*
|
|
|
|
* If (xrs_id == XRS_ID) then the xrs_ptr field is a valid pointer to
|
|
|
|
* extra register state. The exact format of the extra register state
|
|
|
|
* pointed to by xrs_ptr is platform-dependent.
|
|
|
|
*
|
|
|
|
* Note: a platform may or may not manage extra register state.
|
|
|
|
*/
|
|
|
|
typedef struct
|
|
|
|
{
|
|
|
|
unsigned int xrs_id; /* indicates xrs_ptr validity */
|
|
|
|
void * xrs_ptr; /* ptr to extra reg state */
|
|
|
|
} xrs_t;
|
|
|
|
|
|
|
|
#define XRS_ID 0x78727300 /* the string "xrs" */
|
|
|
|
|
|
|
|
typedef struct
|
|
|
|
{
|
|
|
|
gregset_t gregs; /* general register set */
|
|
|
|
gwindows_t *gwins; /* POSSIBLE pointer to register windows */
|
|
|
|
fpregset_t fpregs; /* floating point register set */
|
|
|
|
xrs_t xrs; /* POSSIBLE extra register state association */
|
|
|
|
long filler[19];
|
|
|
|
} mcontext_t;
|
|
|
|
|
|
|
|
|
|
|
|
/* Userlevel context. */
|
|
|
|
typedef struct ucontext
|
|
|
|
{
|
|
|
|
unsigned long uc_flags;
|
|
|
|
struct ucontext *uc_link;
|
|
|
|
unsigned long uc_sigmask[4]; /* a svr4 sigset_t */
|
|
|
|
stack_t uc_stack;
|
|
|
|
mcontext_t uc_mcontext;
|
|
|
|
long uc_filler[23];
|
|
|
|
} ucontext_t;
|
1997-06-29 22:05:27 +00:00
|
|
|
|
1999-05-19 15:35:26 +00:00
|
|
|
#endif /* __WORDSIZE == 32 */
|
Update.
1998-09-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* sysdeps/mach/hurd/dl-cache.c (_dl_unload_cache): New dummy
function. Reported by okuji@kuicr.kyoto-u.ac.jp [PR libc/789].
1998-09-15 David S. Miller <davem@pierdol.cobaltmicro.com>
* sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
Add profiling support.
(TRAMPOLINE_TEMPLATE): New macro.
(ELF_MACHINE_RUNTIME_TRAMPOLINE): Define in terms of that.
(RTLD_START): Prettify, and set __libc_stack_end properly.
(elf_machine_rela) [R_SPARC_COPY]: Remove RTLD_BOOTSTRAP ifndef
and check for sym being NULL instead.
* sysdeps/sparc/sparc64/addmul_1.S: Adjust to allocate 192 bytes
of stack space.
* sysdeps/sparc/sparc64/lshift.S: Likewise.
* sysdeps/sparc/sparc64/mul_1.S: Likewise.
* sysdeps/sparc/sparc64/rshift.S: Likewise.
* sysdeps/sparc/sparc64/submul_1.S: Likewise.
* sysdeps/sparc/sparc64/elf/crtbegin.S: Likewise and remove old
MEDANY code model %g4 usage.
* sysdeps/sparc/sparc64/elf/crtend.S: Likewise and remove old
MEDANY code model %g4 usage.
* sysdeps/sparc/sparc64/elf/start.S: Rework to not use old FULLANY
code model address formation.
* sysdeps/sparc/sparc64/dl-machine.h: Don't include link.h, do
include elf/ldsodefs.h
(DT_SPARC): Remove.
(elf_machine_matches_host): It is now EM_SPARCV9.
(elf_machine_dynamic): Clean up to remove ugly cast.
(elf_machine_fixup_plt): Rework for new V9 ABI, add support for
new PLT formats.
(elf_machine_rela): Don't do anything at all for R_SPARC_NONE.
Prettify rest of function.
[R_SPARC_COPY]: Check for sym being NULL.
[R_SPARC_32]: Handle it.
[R_SPARC_H44, R_SPARC_M44, R_SPARC_L44]: Handle them for the
MEDMID code model.
[R_SPARC_HH22, R_SPARC_HM10, R_SPARC_LM22]: Handle them for the
MEDANY code model.
[R_SPARC_NONE]: Remove this case, as it is now checked earlier.
(elf_machine_runtime_setup): Rewrite for new V9 ABI plt formats.
Add profiling support.
(TRAMPOLINE_TEMPLATE): New macro.
(ELF_MACHINE_RUNTIME_TRAMPOLINE): Define in terms of that.
(RTLD_START): Prettify and set __libc_stack_end.
* sysdeps/unix/sysv/linux/sparc/bits/sigaction.h (SA_SIGINFO):
Define.
* sysdeps/unix/sysv/linux/sparc/bits/signum.h (_NSIG): Set to 64.
(SIGRTMIN, SIGRTMAX, __SIGRTMIN, __SIGRTMAX): Define.
* sysdeps/unix/sysv/linux/sparc/sparc32/brk.c (__brk): Remove
unused variable scratch.
* sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
(__syscall_rt_sigaction, __rt_sigreturn_stub, __sigreturn_stub):
Declare.
(__sigaction): Rewrite rt_sigaction case to pass correct sigreturn
stub to rt_sigaction syscalls. Rewrite non-rt case to use correct
old format kernel sigaction structures.
* sysdeps/unix/sysv/linux/sparc/sparc64/ucontext.h: Move...
* sysdeps/unix/sysv/linux/sparc/sparc64/sys/ucontext.h: to here.
* sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Remove ucontext.h
* sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Fix
ucontext include.
(_JMPBUF_UNWINDS): Define.
* sysdeps/unix/sysv/linux/sparc/sparc64/bits/statfs.h: Declare
statfs64 structure, which is exactly the same as the normal one.
* sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Allocate 192 bytes
of stack. Use correct syscall trap number. Add branch prediction
settings to branch instructions. Remove old MEDANY code model %g4
referneces for non-PIC.
* sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/pipe.S: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/syscall.S: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Add
__libc_longjmp and __libc_siglongjmp strong aliases.
* sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c (__readdir64):
Also define to __no__readdir64_decl around readdir.c inclusion.
(__readdir64): Add strong alias.
* sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: New file.
* sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (getrlimit):
Set strong and weak names properly.
1998-09-16 11:25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* manual/Makefile (AWK): Default to gawk if standalone.
1998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* Makefile (distribute): Undo last change.
* Make-dist (+tsrc) [not subdir]: Also include indirection headers
for sysdep headers.
(+subdir-headers): Removed, unused.
1998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* stdio-common/Makefile ($(inst_includedir)/bits/stdio_lim.h): Use
$(do-install).
1998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* Makerules ($(+sysdir_pfx)sysd-Makefile): Don't check for
absolute name in $(config-sysdirs), can never happen.
($(+sysdir_pfx)sysd-rules): Likewise.
* Makeconfig (full-config-sysdirs): Likewise.
(all-Subdirs-files): Prepend $(..).
* configure.in: Don't check for absolute name in $add_ons_pfx, can
not happen. Let --enable-add-ons=yes work if no add-ons actually
exist.
1998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* Rules ($(common-objpfx)bits/stdio_%.h): Remove extra
continuations in command.
1998-09-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* libio/oldstdfiles.c (_IO_stdin_used): Update declaration.
1998-09-16 17:54:34 +00:00
|
|
|
#endif /* sys/ucontext.h */
|