[Pkg-pascal-devel] Bug#826300: Share knowledge on fpc and powerpc issue

Abou Al Montacir abou.almontacir at sfr.fr
Fri Sep 2 22:05:54 UTC 2016


Hi All,

On Mon, 2016-08-29 at 11:59 +0200, Abou Al Montacir wrote:
...

> Please hold on, upstream fond the issue.
> The issue is related to longjump in cprt0.as. 
> They are going to give us a fix in the next few days.

Upstream suggests the following patch which may be temporary:diff --git a/rtl/linux/powerpc/cprt0.as b/rtl/linux/powerpc/cprt0.as
index e237d8d..a5672e3 100644
--- a/rtl/linux/powerpc/cprt0.as
+++ b/rtl/linux/powerpc/cprt0.as
@@ -88,12 +88,8 @@ main_stub:
     .globl  _haltproc
     .type   _haltproc, @function
 _haltproc:
-    lis     11, ___fpc_ret at ha
-    lwz     1, ___fpc_ret at l(11)
-    addi    1, 1, 16
-    lwz     0, 0(1)
-    mtlr    0
-    blr
+    bl     _exit
+    b      _haltproc

 #    li      0, 1       /* exit call */
 #    lis     3, operatingsystem_result at h
-- 
Cheers,
Abou Al Montacir

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-pascal-devel/attachments/20160903/1c787cec/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 213 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-pascal-devel/attachments/20160903/1c787cec/attachment.sig>


More information about the Pkg-pascal-devel mailing list