pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/ffcall Make x86_64's .ehframe content PIC to avo...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/cf4efaccaac5
branches:  trunk
changeset: 351740:cf4efaccaac5
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Fri Aug 26 17:25:08 2016 +0000

description:
Make x86_64's .ehframe content PIC to avoid text relocations. Bump
revision.

diffstat:

 devel/ffcall/Makefile                                          |   4 +-
 devel/ffcall/distinfo                                          |   4 +-
 devel/ffcall/patches/patch-avcall_avcall-x86__64.s             |  29 ++++++++++
 devel/ffcall/patches/patch-callback_vacall__r_vacall-x86__64.s |  29 ++++++++++
 4 files changed, 63 insertions(+), 3 deletions(-)

diffs (96 lines):

diff -r 8ab1b64ed1d0 -r cf4efaccaac5 devel/ffcall/Makefile
--- a/devel/ffcall/Makefile     Fri Aug 26 17:23:16 2016 +0000
+++ b/devel/ffcall/Makefile     Fri Aug 26 17:25:08 2016 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.30 2015/01/04 04:58:47 dholland Exp $
+# $NetBSD: Makefile,v 1.31 2016/08/26 17:25:08 joerg Exp $
 
 DISTNAME=      ffcall-1.10
-PKGREVISION=   3
+PKGREVISION=   4
 CATEGORIES=    devel
 MASTER_SITES=  http://www.haible.de/bruno/gnu/ \
                ${MASTER_SITE_GNUSTEP:=libs/}
diff -r 8ab1b64ed1d0 -r cf4efaccaac5 devel/ffcall/distinfo
--- a/devel/ffcall/distinfo     Fri Aug 26 17:23:16 2016 +0000
+++ b/devel/ffcall/distinfo     Fri Aug 26 17:25:08 2016 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.12 2015/11/03 03:27:25 agc Exp $
+$NetBSD: distinfo,v 1.13 2016/08/26 17:25:08 joerg Exp $
 
 SHA1 (ffcall-1.10.tar.gz) = 6b4fdc7bd38b434bbf3d65508a3d117fc8b349f3
 RMD160 (ffcall-1.10.tar.gz) = 910af54fae0b992ceb5620f155e301827d2e03c5
@@ -13,5 +13,7 @@
 SHA1 (patch-ah) = 07781ee5caef0ca98e9f15c504fee0b43a111245
 SHA1 (patch-ai) = 03a5a572e94ddbcb78dd11201e0afd91998d1e3a
 SHA1 (patch-aj) = 8db7daeb150db176dfb2f59ad9b4854cb1f895fd
+SHA1 (patch-avcall_avcall-x86__64.s) = a41ec9d5f2f6b64e8dca77d29cf82fa025ab954f
 SHA1 (patch-callback_vacall__r_vacall-x86_64.c) = 2e7e6cc3bd32461e905cb48a3bd470517c90bfb8
+SHA1 (patch-callback_vacall__r_vacall-x86__64.s) = eee81d24f58a57c1ef8164b9c8c70b0e086bda29
 SHA1 (patch-vacall_vacall-x86_64.c) = 299a34fe8530c6bf926b97d0d018a8b850b35a97
diff -r 8ab1b64ed1d0 -r cf4efaccaac5 devel/ffcall/patches/patch-avcall_avcall-x86__64.s
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ffcall/patches/patch-avcall_avcall-x86__64.s        Fri Aug 26 17:25:08 2016 +0000
@@ -0,0 +1,29 @@
+$NetBSD: patch-avcall_avcall-x86__64.s,v 1.1 2016/08/26 17:25:08 joerg Exp $
+
+--- avcall/avcall-x86_64.s.orig        2004-01-25 12:47:15.000000000 +0000
++++ avcall/avcall-x86_64.s
+@@ -335,10 +335,12 @@ __builtin_avcall:
+ .LSCIE1:
+       .long   0x0
+       .byte   0x1
+-      .string ""
++      .string "zR"
+       .uleb128 0x1
+       .sleb128 -8
+       .byte   0x10
++      .uleb128 0x1
++      .byte   0x1b
+       .byte   0xc
+       .uleb128 0x7
+       .uleb128 0x8
+@@ -350,8 +352,8 @@ __builtin_avcall:
+       .long   .LEFDE1-.LASFDE1
+ .LASFDE1:
+       .long   .LASFDE1-.Lframe1
+-      .quad   .LFB1
+-      .quad   .LFE1-.LFB1
++      .long   .LFB1-.
++      .long   .LFE1-.LFB1
+       .byte   0x4
+       .long   .LCFI0-.LFB1
+       .byte   0xe
diff -r 8ab1b64ed1d0 -r cf4efaccaac5 devel/ffcall/patches/patch-callback_vacall__r_vacall-x86__64.s
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ffcall/patches/patch-callback_vacall__r_vacall-x86__64.s    Fri Aug 26 17:25:08 2016 +0000
@@ -0,0 +1,29 @@
+$NetBSD: patch-callback_vacall__r_vacall-x86__64.s,v 1.1 2016/08/26 17:25:08 joerg Exp $
+
+--- callback/vacall_r/vacall-x86_64.s.orig     2016-08-26 15:06:32.092318377 +0000
++++ callback/vacall_r/vacall-x86_64.s
+@@ -216,10 +216,12 @@ __vacall_r:
+ .LSCIE1:
+       .long   0x0
+       .byte   0x1
+-      .string ""
++      .string "zR"
+       .uleb128 0x1
+       .sleb128 -8
+       .byte   0x10
++      .uleb128 0x1
++      .byte   0x1b
+       .byte   0xc
+       .uleb128 0x7
+       .uleb128 0x8
+@@ -231,8 +233,8 @@ __vacall_r:
+       .long   .LEFDE1-.LASFDE1
+ .LASFDE1:
+       .long   .LASFDE1-.Lframe1
+-      .quad   .LFB1
+-      .quad   .LFE1-.LFB1
++      .long   .LFB1-.
++      .long   .LFE1-.LFB1
+       .byte   0x4
+       .long   .LCFI0-.LFB1
+       .byte   0xe



Home | Main Index | Thread Index | Old Index