Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 876323 Details for
Bug 1078190
ocaml ppc64le archi with native compiler
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
ocaml.ppc64le.step2.patch
ocaml.ppc64le.step2.patch (text/plain), 3.13 KB, created by
Michel Normand
on 2014-03-19 11:09:47 UTC
(
hide
)
Description:
ocaml.ppc64le.step2.patch
Filename:
MIME Type:
Creator:
Michel Normand
Created:
2014-03-19 11:09:47 UTC
Size:
3.13 KB
patch
obsolete
>From 6b3186aede6b8f9facb69d649c8e9934ab3a4a82 Mon Sep 17 00:00:00 2001 >From: Michel Normand <normand@linux.vnet.ibm.com> >Date: Wed, 19 Mar 2014 05:09:33 -0400 >Subject: [PATCH] add asmcomp/ppc64le for new ppc64le archi > >do it as a symbolic link of ppc64 directory. > >Signed-off-by: Michel Normand <normand@linux.vnet.ibm.com> > >diff --git a/asmcomp/power64le b/asmcomp/power64le >new file mode 120000 >index 0000000..9fe1d87 >--- /dev/null >+++ b/asmcomp/power64le >@@ -0,0 +1 @@ >+power64 >\ No newline at end of file >From 49688f725ef08a61aec42c78d5a09d0d57f798da Mon Sep 17 00:00:00 2001 >From: Michel Normand <normand@linux.vnet.ibm.com> >Date: Wed, 19 Mar 2014 05:40:35 -0400 >Subject: [PATCH] remove the tempo bypass related to ppc64le in configure > >to be able to try native compiler > >Signed-off-by: Michel Normand <normand@linux.vnet.ibm.com> > >diff --git a/configure b/configure >index ff33895..91ce222 100755 >--- a/configure >+++ b/configure >@@ -721,11 +721,10 @@ esac > # Some platforms exist both in 32-bit and 64-bit variants, not distinguished > # by $host. Turn off native code compilation on platforms where 64-bit mode > # is not supported. (PR#4441) >-# temporarily disable native-code for ppc64le > > if $arch64; then > case "$arch,$model" in >- sparc,default|power,ppc|power64le,ppc64le) >+ sparc,default|power,ppc) > arch=none; model=default; system=unknown;; > esac > fi >From ddca26512dad1431e01ff17a71a8bb15af07471d Mon Sep 17 00:00:00 2001 >From: Michel Normand <normand@linux.vnet.ibm.com> >Date: Wed, 19 Mar 2014 06:19:14 -0400 >Subject: [PATCH] ocaml asmrun changes for ppc64le archi step1 > >only duplicate code of ppc64 archi >but did not do any required changes specific to ppc64le. > >Signed-off-by: Michel Normand <normand@linux.vnet.ibm.com> > >diff --git a/asmrun/Makefile b/asmrun/Makefile >index 6a8ed98..1ff256f 100644 >--- a/asmrun/Makefile >+++ b/asmrun/Makefile >@@ -96,6 +96,12 @@ power64.o: power64-$(SYSTEM).o > power64.p.o: power64-$(SYSTEM).o > cp power64-$(SYSTEM).o power64.p.o > >+power64le.o: power64le-$(SYSTEM).o >+ cp power64le-$(SYSTEM).o power64le.o >+ >+power64le.p.o: power64le-$(SYSTEM).o >+ cp power64le-$(SYSTEM).o power64le.p.o >+ > main.c: ../byterun/main.c > ln -s ../byterun/main.c main.c > misc.c: ../byterun/misc.c >diff --git a/asmrun/power64le-elf.S b/asmrun/power64le-elf.S >new file mode 120000 >index 0000000..f49d00c >--- /dev/null >+++ b/asmrun/power64le-elf.S >@@ -0,0 +1 @@ >+power64-elf.S >\ No newline at end of file >diff --git a/asmrun/stack.h b/asmrun/stack.h >index 756db95..baf201a 100644 >--- a/asmrun/stack.h >+++ b/asmrun/stack.h >@@ -55,6 +55,15 @@ > #define Callback_link(sp) ((struct caml_context *)((sp) + Trap_frame_size)) > #endif > >+#ifdef TARGET_power64le >+#define Saved_return_address(sp) *((intnat *)((sp) +16)) >+#define Already_scanned(sp, retaddr) ((retaddr) & 1) >+#define Mark_scanned(sp, retaddr) (Saved_return_address(sp) = (retaddr) | 1) >+#define Mask_already_scanned(retaddr) ((retaddr) & ~1) >+#define Trap_frame_size 0x150 >+#define Callback_link(sp) ((struct caml_context *)((sp) + Trap_frame_size)) >+#endif >+ > #ifdef TARGET_arm > #define Saved_return_address(sp) *((intnat *)((sp) - 4)) > #define Callback_link(sp) ((struct caml_context *)((sp) + 8))
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 1078190
:
876323
|
877953
|
879578
|
882275
|
883619
|
884553