Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 9719 Details for
Bug 18034
modifed gcc ebuild that can build native or cross tool chains
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
allows the 1st stage gcc to be built for alpha
gcc-3.2.2-cross-alpha.diff (text/plain), 1.85 KB, created by
James Boddington (RETIRED)
on 2003-03-23 04:59:44 UTC
(
hide
)
Description:
allows the 1st stage gcc to be built for alpha
Filename:
MIME Type:
Creator:
James Boddington (RETIRED)
Created:
2003-03-23 04:59:44 UTC
Size:
1.85 KB
patch
obsolete
>--- gcc/config/alpha/linux.h-org Tue Mar 11 14:21:32 2003 >+++ gcc/config/alpha/linux.h Tue Mar 11 14:22:32 2003 >@@ -59,50 +59,3 @@ > /* Do code reading to identify a signal frame, and set the frame > state data appropriately. See unwind-dw2.c for the structs. */ > >-#ifdef IN_LIBGCC2 >-#include <signal.h> >-#include <sys/ucontext.h> >-#endif >- >-#define MD_FALLBACK_FRAME_STATE_FOR(CONTEXT, FS, SUCCESS) \ >- do { \ >- unsigned int *pc_ = (CONTEXT)->ra; \ >- struct sigcontext *sc_; \ >- long new_cfa_, i_; \ >- \ >- if (pc_[0] != 0x47fe0410 /* mov $30,$16 */ \ >- || pc_[2] != 0x00000083 /* callsys */) \ >- break; \ >- if (pc_[1] == 0x201f0067) /* lda $0,NR_sigreturn */ \ >- sc_ = (CONTEXT)->cfa; \ >- else if (pc_[1] == 0x201f015f) /* lda $0,NR_rt_sigreturn */ \ >- { \ >- struct rt_sigframe { \ >- struct siginfo info; \ >- struct ucontext uc; \ >- } *rt_ = (CONTEXT)->cfa; \ >- sc_ = &rt_->uc.uc_mcontext; \ >- } \ >- else \ >- break; \ >- new_cfa_ = sc_->sc_regs[30]; \ >- (FS)->cfa_how = CFA_REG_OFFSET; \ >- (FS)->cfa_reg = 30; \ >- (FS)->cfa_offset = new_cfa_ - (long) (CONTEXT)->cfa; \ >- for (i_ = 0; i_ < 30; ++i_) \ >- { \ >- (FS)->regs.reg[i_].how = REG_SAVED_OFFSET; \ >- (FS)->regs.reg[i_].loc.offset \ >- = (long)&sc_->sc_regs[i_] - new_cfa_; \ >- } \ >- for (i_ = 0; i_ < 31; ++i_) \ >- { \ >- (FS)->regs.reg[i_+32].how = REG_SAVED_OFFSET; \ >- (FS)->regs.reg[i_+32].loc.offset \ >- = (long)&sc_->sc_fpregs[i_] - new_cfa_; \ >- } \ >- (FS)->regs.reg[31].how = REG_SAVED_OFFSET; \ >- (FS)->regs.reg[31].loc.offset = (long)&sc_->sc_pc - new_cfa_; \ >- (FS)->retaddr_column = 31; \ >- goto SUCCESS; \ >- } while (0)
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 18034
:
9717
|
9718
| 9719 |
9720
|
10248