From: David.Mosberger@REMOVEacmTHIS.org
To: axp-list@redhat.com
Subject: limping mozilla...
Date: 1998/04/04 [thread overview]
Message-ID: <ug1zvdsu7v.fsf_-_@panda.mostang.com> (raw)
In-Reply-To: sn03efwyo4r.fsf@zugzwang.mcom.com
If you want to get a mozilla that's at least limping along, try the
following two patches. The first one is for mozilla itself, the
second for gcc (it should be applied on top of the
glibc-2.0.5c-10.src.rpm sources). I built mozilla using lesstif-0.82
and with the two patches below in place, things work reasonably well.
There are plenty bugs left to hunt though and it currently crashes
every couple of clicks, but it's a start.
--david
--- ns/nsprpub/pr/src/md/unix/unix.c~ Sat Apr 4 03:19:19 1998
+++ ns/nsprpub/pr/src/md/unix/unix.c Sat Apr 4 03:18:58 1998
@@ -2484,7 +2484,7 @@
goto exit;
}
- prot = PROT_READ|PROT_WRITE;
+ prot = PROT_READ|PROT_WRITE|PROT_EXEC;
rv = mmap((vaddr != 0) ? vaddr : lastaddr, size, prot,
_MD_MMAP_FLAGS,
_pr_zero_fd, 0);
-------------gcc patch--------------------------------------
diff -urN gcc-2.7.2.3/config/alpha/alpha.c gcc-2.7.2.3-fixed/config/alpha/alpha.c
--- gcc-2.7.2.3/config/alpha/alpha.c Sat Apr 4 01:15:38 1998
+++ gcc-2.7.2.3-fixed/config/alpha/alpha.c Fri Apr 3 23:44:06 1998
@@ -1174,6 +1174,18 @@
}
break;
+ case '(':
+ switch (alpha_fptm)
+ {
+ case ALPHA_FPTM_N:
+ case ALPHA_FPTM_U:
+ fputs ("vc", file);
+ break;
+ case ALPHA_FPTM_SU: fputs ("svc", file); break;
+ case ALPHA_FPTM_SUI: fputs ("svi", file); break;
+ }
+ break;
+
case ')':
switch (alpha_fptm)
{
diff -urN gcc-2.7.2.3/config/alpha/alpha.h gcc-2.7.2.3-fixed/config/alpha/alpha.h
--- gcc-2.7.2.3/config/alpha/alpha.h Sat Apr 4 01:15:37 1998
+++ gcc-2.7.2.3-fixed/config/alpha/alpha.h Fri Apr 3 22:16:28 1998
@@ -1964,7 +1964,9 @@
' Generates trap-mode suffix for instructions that accept the
su suffix only (cmpt et al).
- ( Unused.
+ ( Generates trap-mode suffix for instructions that accept the
+ c, svc, and svic suffix. The only instruction that needs this
+ is cvttq.
) Generates trap-mode suffix for instructions that accept the
u, su, and sui suffix. This is the bulk of the IEEE floating
diff -urN gcc-2.7.2.3/config/alpha/alpha.md gcc-2.7.2.3-fixed/config/alpha/alpha.md
--- gcc-2.7.2.3/config/alpha/alpha.md Sat Apr 4 01:15:25 1998
+++ gcc-2.7.2.3-fixed/config/alpha/alpha.md Fri Apr 3 22:49:45 1998
@@ -1155,16 +1155,18 @@
[(set (match_operand:DI 0 "register_operand" "=f")
(fix:DI (match_operand:DF 1 "reg_or_fp0_operand" "fG")))]
"TARGET_FP"
- "cvttqc %R1,%0"
- [(set_attr "type" "fpop")])
+ "cvttq%( %R1,%0"
+ [(set_attr "type" "fpop")
+ (set (attr "trap") (const_int 1))])
(define_insn "fix_truncsfdi2"
[(set (match_operand:DI 0 "register_operand" "=f")
(fix:DI (float_extend:DF
(match_operand:SF 1 "reg_or_fp0_operand" "fG"))))]
"TARGET_FP"
- "cvttqc %R1,%0"
- [(set_attr "type" "fpop")])
+ "cvttq%( %R1,%0"
+ [(set_attr "type" "fpop")
+ (set (attr "trap") (const_int 1))])
(define_insn ""
[(set (match_operand:SF 0 "register_operand" "=&f")
next prev parent reply other threads:[~1998-04-04 5:00 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-04-01 5:00 Netscape for Alpha? Nils Faerber
1998-04-01 5:00 ` Arun Sharma
1998-04-02 5:00 ` Nils Faerber
1998-04-02 5:00 ` Arun Sharma
1998-04-02 5:00 ` Nils Faerber
1998-04-04 5:00 ` slewis10
1998-04-04 5:00 ` Arun Sharma
1998-04-04 5:00 ` David.Mosberger [this message]
1998-04-06 4:00 ` Nils Faerber
1998-04-07 4:00 ` Andy Isaacson
1998-04-07 4:00 ` Nils Faerber
1998-04-07 4:00 ` Alpha NT and Wordperfect Suite 8 Install problem Dr.Vibhas Aravamuthan
1998-04-08 4:00 ` Nils Faerber
1998-04-13 4:00 ` Mike Parson
1998-04-08 4:00 ` Netscape for Alpha? Andy Isaacson
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox