Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package execstack for openSUSE:Factory 
checked in at 2023-07-26 13:23:49
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/execstack (Old)
 and      /work/SRC/openSUSE:Factory/.execstack.new.15225 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "execstack"

Wed Jul 26 13:23:49 2023 rev:3 rq:1100571 version:0.5.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/execstack/execstack.changes      2021-12-07 
00:01:10.892182595 +0100
+++ /work/SRC/openSUSE:Factory/.execstack.new.15225/execstack.changes   
2023-07-26 13:24:51.144328619 +0200
@@ -1,0 +2,6 @@
+Mon Jul 24 08:24:27 UTC 2023 - Andreas Schwab <sch...@suse.de>
+
+- riscv64-support-for-execstack.patch: Add support for riscv64
+- Add-PL_ARCH-for-AArch64.patch: Fix typo
+
+-------------------------------------------------------------------

New:
----
  riscv64-support-for-execstack.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ execstack.spec ++++++
--- /var/tmp/diff_new_pack.sy6jfa/_old  2023-07-26 13:24:52.688337938 +0200
+++ /var/tmp/diff_new_pack.sy6jfa/_new  2023-07-26 13:24:52.692337961 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package execstack
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 #               2014 Wolfgang Rosenauer
 #
 # All modifications and additions to the file contributed by third parties
@@ -37,6 +37,7 @@
 Patch1:         prelink_update_fsf_address.patch
 # bypass where gcc linker do not add the GNU_STACK default header in elf file
 Patch2:         prelink_add_no_execstack_for_ppc64.patch
+Patch3:         riscv64-support-for-execstack.patch
 
 BuildRequires:  git
 BuildRequires:  libelf-devel
@@ -63,6 +64,7 @@
 %ifarch ppc64
 %patch2 -p1
 %endif
+%patch3 -p1
 
 %build
 sed -i -e '/^prelink_LDADD/s/$/ -lpthread/' src/Makefile.{am,in}

++++++ Add-PL_ARCH-for-AArch64.patch ++++++
--- /var/tmp/diff_new_pack.sy6jfa/_old  2023-07-26 13:24:52.716338106 +0200
+++ /var/tmp/diff_new_pack.sy6jfa/_new  2023-07-26 13:24:52.716338106 +0200
@@ -65,7 +65,7 @@
  
  @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/arch-alpha.Po@am__quote@
  @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/arch-arm.Po@am__quote@
-+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/arch-arch64.Po@am__quote@
++@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/arch-aarch64.Po@am__quote@
  @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/arch-i386.Po@am__quote@
  @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/arch-ia64.Po@am__quote@
  @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/arch-mips.Po@am__quote@

++++++ riscv64-support-for-execstack.patch ++++++
Index: prelink-4c79120bcdbde0616f592458ccde7035e92ca3d8/src/Makefile.am
===================================================================
--- prelink-4c79120bcdbde0616f592458ccde7035e92ca3d8.orig/src/Makefile.am
+++ prelink-4c79120bcdbde0616f592458ccde7035e92ca3d8/src/Makefile.am
@@ -13,7 +13,7 @@ bin_PROGRAMS = execstack
 arch_SOURCES = arch-i386.c arch-alpha.c arch-ppc.c arch-ppc64.c \
               arch-sparc.c arch-sparc64.c arch-x86_64.c arch-mips.c \
               arch-s390.c arch-s390x.c arch-arm.c arch-sh.c arch-ia64.c \
-              arch-aarch64.c
+              arch-aarch64.c arch-riscv64.c
 common_SOURCES = checksum.c data.c dso.c dwarf2.c dwarf2.h fptr.c fptr.h     \
                 hashtab.c hashtab.h mdebug.c prelink.h stabs.c crc32.c
 prelink_SOURCES = cache.c conflict.c cxx.c doit.c exec.c execle_open.c get.c \
Index: prelink-4c79120bcdbde0616f592458ccde7035e92ca3d8/src/Makefile.in
===================================================================
--- prelink-4c79120bcdbde0616f592458ccde7035e92ca3d8.orig/src/Makefile.in
+++ prelink-4c79120bcdbde0616f592458ccde7035e92ca3d8/src/Makefile.in
@@ -108,7 +108,7 @@ bin_PROGRAMS = execstack
 arch_SOURCES = arch-i386.c arch-alpha.c arch-ppc.c arch-ppc64.c \
               arch-sparc.c arch-sparc64.c arch-x86_64.c arch-mips.c \
               arch-s390.c arch-s390x.c arch-arm.c arch-sh.c arch-ia64.c \
-              arch-aarch64.c
+              arch-aarch64.c arch-riscv64.c
 
 common_SOURCES = checksum.c data.c dso.c dwarf2.c dwarf2.h fptr.c fptr.h     \
                 hashtab.c hashtab.h mdebug.c prelink.h stabs.c crc32.c
@@ -141,7 +141,7 @@ am__objects_2 = arch-i386.$(OBJEXT) arch
        arch-sparc64.$(OBJEXT) arch-x86_64.$(OBJEXT) \
        arch-mips.$(OBJEXT) arch-s390.$(OBJEXT) arch-s390x.$(OBJEXT) \
        arch-arm.$(OBJEXT) arch-sh.$(OBJEXT) arch-ia64.$(OBJEXT) \
-       arch-aarch64.$(OBJEXT)
+       arch-aarch64.$(OBJEXT) arch-riscv64.$(OBJEXT)
 am_execstack_OBJECTS = execstack.$(OBJEXT) $(am__objects_1) \
        $(am__objects_2)
 execstack_OBJECTS = $(am_execstack_OBJECTS)
@@ -167,6 +167,7 @@ am__depfiles_maybe = depfiles
 @AMDEP_TRUE@   ./$(DEPDIR)/arch-arm.Po ./$(DEPDIR)/arch-aarch64.Po 
./$(DEPDIR)/arch-i386.Po \
 @AMDEP_TRUE@   ./$(DEPDIR)/arch-ia64.Po ./$(DEPDIR)/arch-mips.Po \
 @AMDEP_TRUE@   ./$(DEPDIR)/arch-ppc.Po ./$(DEPDIR)/arch-ppc64.Po \
+@AMDEP_TRUE@   ./$(DEPDIR)/arch-riscv64.Po \
 @AMDEP_TRUE@   ./$(DEPDIR)/arch-s390.Po ./$(DEPDIR)/arch-s390x.Po \
 @AMDEP_TRUE@   ./$(DEPDIR)/arch-sh.Po ./$(DEPDIR)/arch-sparc.Po \
 @AMDEP_TRUE@   ./$(DEPDIR)/arch-sparc64.Po \
@@ -285,6 +286,7 @@ distclean-compile:
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/arch-mips.Po@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/arch-ppc.Po@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/arch-ppc64.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/arch-riscv64.Po@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/arch-s390.Po@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/arch-s390x.Po@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/arch-sh.Po@am__quote@
Index: prelink-4c79120bcdbde0616f592458ccde7035e92ca3d8/src/arch-riscv64.c
===================================================================
--- /dev/null
+++ prelink-4c79120bcdbde0616f592458ccde7035e92ca3d8/src/arch-riscv64.c
@@ -0,0 +1,12 @@
+#include <config.h>
+
+#include "prelink.h"
+
+PL_ARCH = {
+  .name = "RISCV64",
+  .class = ELFCLASS64,
+  .machine = EM_RISCV,
+  .alternate_machine = { EM_NONE },
+  .max_page_size = 0x1000,
+  .page_size = 0x1000
+};

Reply via email to