Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 7368 Details for
Bug 12866
gdb-5.3 failed to compile on sparc64
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch /usr/include/sus/ucontext.h -> local copy of "ucontext.h"
ucontext.patch (text/plain), 2.83 KB, created by
Ferris McCormick (RETIRED)
on 2003-01-16 08:22:40 UTC
(
hide
)
Description:
Patch /usr/include/sus/ucontext.h -> local copy of "ucontext.h"
Filename:
MIME Type:
Creator:
Ferris McCormick (RETIRED)
Created:
2003-01-16 08:22:40 UTC
Size:
2.83 KB
patch
obsolete
>*** /usr/include/sys/ucontext.h Sat Dec 21 17:45:13 2002 >--- ucontext.h Thu Jan 16 13:54:45 2003 >*************** >*** 22,27 **** >--- 22,28 ---- > #include <features.h> > #include <signal.h> > #include <bits/wordsize.h> >+ #include <asm/reg.h> > > #if __WORDSIZE == 64 > >*************** >*** 175,181 **** > * 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 */ >--- 176,182 ---- > * 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. */ >! #ifndef __SPARC_REG_H > struct fpq > { > unsigned long *fpq_addr; /* address */ >*************** >*** 190,195 **** >--- 191,197 ---- > struct fpq fpq; > } FQu; > }; >+ #endif > > #define FPU_REGS_TYPE unsigned > #define FPU_DREGS_TYPE unsigned long long >*************** >*** 200,205 **** >--- 202,208 ---- > #if __WORDSIZE == 64 > > typedef struct fpu >+ #ifndef __SPARC_REG_H > { > union { /* FPU floating point regs */ > unsigned fpu_regs[32]; /* 32 singles */ >*************** >*** 211,221 **** > 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 */ > > typedef struct fpu > { > union { /* FPU floating point regs */ > unsigned long long fpu_regs[32]; /* 32 singles */ >--- 214,227 ---- > 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 */ >! } >! #endif >! fpregset_t; > > #else /* __WORDSIZE == 32 */ > > typedef struct fpu >+ #ifndef __SPARC_REG_H > { > union { /* FPU floating point regs */ > unsigned long long fpu_regs[32]; /* 32 singles */ >*************** >*** 226,232 **** > 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 >--- 232,240 ---- > 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 */ >! } >! #endif >! fpregset_t; > > /* > * The following structure is for associating extra register state with
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 12866
: 7368