Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package nvptx-tools for openSUSE:Factory 
checked in at 2024-05-07 18:04:57
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/nvptx-tools (Old)
 and      /work/SRC/openSUSE:Factory/.nvptx-tools.new.1880 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "nvptx-tools"

Tue May  7 18:04:57 2024 rev:9 rq:1172434 version:1.0+git.20240419.9962793

Changes:
--------
--- /work/SRC/openSUSE:Factory/nvptx-tools/nvptx-tools.changes  2023-09-26 
22:04:18.358115042 +0200
+++ /work/SRC/openSUSE:Factory/.nvptx-tools.new.1880/nvptx-tools.changes        
2024-05-07 18:05:38.803400412 +0200
@@ -1,0 +2,8 @@
+Tue May 07 12:46:17 UTC 2024 - rguent...@suse.com
+
+- Update to version 1.0+git.20240419.9962793:
+  * as: Document current handling of '//:IND_FUNC_MAP' [#45]
+  * Handle ":IND_FUNC_MAP" in nvptx-as to ensure map-directive order is kept
+  * Handle --hash-style argument in nvptx-ld
+
+-------------------------------------------------------------------

Old:
----
  nvptx-tools-1.0+git.20230913.c321f1a.tar.xz

New:
----
  nvptx-tools-1.0+git.20240419.9962793.tar.xz

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

Other differences:
------------------
++++++ nvptx-tools.spec ++++++
--- /var/tmp/diff_new_pack.2WHwp9/_old  2024-05-07 18:05:39.303418593 +0200
+++ /var/tmp/diff_new_pack.2WHwp9/_new  2024-05-07 18:05:39.303418593 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package nvptx-tools
 #
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2024 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
 
 
 Name:           nvptx-tools
-Version:        1.0+git.20230913.c321f1a
+Version:        1.0+git.20240419.9962793
 Release:        0
 Summary:        PTX language tools
 License:        GPL-3.0-or-later

++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.2WHwp9/_old  2024-05-07 18:05:39.347420194 +0200
+++ /var/tmp/diff_new_pack.2WHwp9/_new  2024-05-07 18:05:39.351420339 +0200
@@ -1,6 +1,6 @@
 <servicedata>
 <service name="tar_scm">
                 <param 
name="url">https://github.com/MentorEmbedded/nvptx-tools</param>
-              <param 
name="changesrevision">c321f1a3573dd89a12e3291d690207685a34df6e</param></service></servicedata>
+              <param 
name="changesrevision">9962793f41e016318dc5eca07ae602041cf526ff</param></service></servicedata>
 (No newline at EOF)
 

++++++ nvptx-tools-1.0+git.20230913.c321f1a.tar.xz -> 
nvptx-tools-1.0+git.20240419.9962793.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nvptx-tools-1.0+git.20230913.c321f1a/nvptx-as.cc 
new/nvptx-tools-1.0+git.20240419.9962793/nvptx-as.cc
--- old/nvptx-tools-1.0+git.20230913.c321f1a/nvptx-as.cc        2023-09-13 
08:16:36.000000000 +0200
+++ new/nvptx-tools-1.0+git.20240419.9962793/nvptx-as.cc        2024-04-19 
09:24:56.000000000 +0200
@@ -705,7 +705,8 @@
          /* Instead of 'K_comment', a point could be made to have these be
             represented as their own 'Kind'.  */
          if (strncmp (tok->ptr, ":VAR_MAP ", 9) == 0
-             || strncmp (tok->ptr, ":FUNC_MAP ", 10) == 0)
+             || strncmp (tok->ptr, ":FUNC_MAP ", 10) == 0
+             || strncmp (tok->ptr, ":IND_FUNC_MAP ", 14) == 0)
            {
              is_map_directive = true;
              break;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nvptx-tools-1.0+git.20230913.c321f1a/nvptx-ld.cc 
new/nvptx-tools-1.0+git.20240419.9962793/nvptx-ld.cc
--- old/nvptx-tools-1.0+git.20230913.c321f1a/nvptx-ld.cc        2023-09-13 
08:16:36.000000000 +0200
+++ new/nvptx-tools-1.0+git.20240419.9962793/nvptx-ld.cc        2024-04-19 
09:24:56.000000000 +0200
@@ -390,7 +390,10 @@
   exit (status);
 }
 
+#define OPT_hash_style 256
+
 static const struct option long_options[] = {
+  {"hash-style", required_argument, 0, OPT_hash_style },
   {"help", no_argument, 0, 'h' },
   {"version", no_argument, 0, 'V' },
   {0, 0, 0, 0 }
@@ -440,6 +443,11 @@
 This program has absolutely no warranty.\n",
                  PKGVERSION, NVPTX_TOOLS_VERSION, "2015");
          exit (0);
+       case OPT_hash_style:
+         /* Ignore '--hash-style'; see
+            <https://github.com/MentorEmbedded/nvptx-tools/pull/44>
+            "Handle --hash-style argument in nvptx-ld".  */
+         break;
        default:
          usage (stderr, 1);
          break;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/nvptx-tools-1.0+git.20230913.c321f1a/test/as/order-3.o.golden 
new/nvptx-tools-1.0+git.20240419.9962793/test/as/order-3.o.golden
--- old/nvptx-tools-1.0+git.20230913.c321f1a/test/as/order-3.o.golden   
2023-09-13 08:16:36.000000000 +0200
+++ new/nvptx-tools-1.0+git.20240419.9962793/test/as/order-3.o.golden   
2024-04-19 09:24:56.000000000 +0200
@@ -4,16 +4,22 @@
 //:FUNC_MAP "f1.1"
 // comment 1
 //:FUNC_MAP "f1.2"
+//:IND_FUNC_MAP "if1.2"
 //:VAR_MAP "v1"
 // comment 2.1
 //:FUNC_MAP "f2"
 // comment 2.2
 //:VAR_MAP "v2"
+// comment 2.3
+//:IND_FUNC_MAP "if2"
 // The following form is never emitted by GCC, but still happens to be handled 
here ("by accident"):
 //:FUNC_MAP "f3" 
 // The following form is never emitted by GCC, but still happens to be handled 
here ("by accident"):
 //:FUNC_MAP "f4"
+//:IND_FUNC_MAP "if4"
 //:VAR_MAP "v4" 
+//:IND_FUNC_MAP "if6"
+//:IND_FUNC_MAP "if7"
 .visible .entry e1 ()
 {
 // [...]
@@ -35,3 +41,7 @@
 {
 // [...]
 }
+.visible .entry e6 ()
+{
+// [...]
+}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/nvptx-tools-1.0+git.20230913.c321f1a/test/as/order-3.s 
new/nvptx-tools-1.0+git.20240419.9962793/test/as/order-3.s
--- old/nvptx-tools-1.0+git.20230913.c321f1a/test/as/order-3.s  2023-09-13 
08:16:36.000000000 +0200
+++ new/nvptx-tools-1.0+git.20240419.9962793/test/as/order-3.s  2024-04-19 
09:24:56.000000000 +0200
@@ -5,6 +5,7 @@
 //:FUNC_MAP "f1.1"
 // comment 1
 //:FUNC_MAP "f1.2"
+//:IND_FUNC_MAP "if1.2"
 //:VAR_MAP "v1"
 .visible .entry e1 ()
 {
@@ -15,6 +16,8 @@
 //:FUNC_MAP "f2"
 // comment 2.2
 //:VAR_MAP "v2"
+// comment 2.3
+//:IND_FUNC_MAP "if2"
 .visible .entry e2 ()
 {
        // [...]
@@ -29,6 +32,7 @@
 
 // The following form is never emitted by GCC, but still happens to be handled 
here ("by accident"):
 /*:FUNC_MAP "f4"
+:IND_FUNC_MAP "if4"
 :VAR_MAP "v4" */
 .visible .entry e4 ()
 {
@@ -40,3 +44,11 @@
 {
        // [...]
 }
+
+//:IND_FUNC_MAP "if6"
+.visible .entry e6 ()
+{
+       // [...]
+}
+
+//:IND_FUNC_MAP "if7"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/nvptx-tools-1.0+git.20230913.c321f1a/test/ld/hash-style-1.test 
new/nvptx-tools-1.0+git.20240419.9962793/test/ld/hash-style-1.test
--- old/nvptx-tools-1.0+git.20230913.c321f1a/test/ld/hash-style-1.test  
1970-01-01 01:00:00.000000000 +0100
+++ new/nvptx-tools-1.0+git.20240419.9962793/test/ld/hash-style-1.test  
2024-04-19 09:24:56.000000000 +0200
@@ -0,0 +1,18 @@
+<https://github.com/MentorEmbedded/nvptx-tools/pull/44> "Handle --hash-style 
argument in nvptx-ld".
+
+
+    option '--hash-style' requires an argument
+
+RUN: %target_ld_cmd --hash-style > %t.stdout 2> %t.stderr; r=$?; [ x"$r" = x1 ]
+RUN: test -s %t.stderr
+RUN: < %t.stderr grep -qe '^Usage: nvptx-none-ld '
+RUN: test -f %t.stdout
+RUN: ! test -s %t.stdout
+
+
+Accepts '--hash-style=[...]' as well as '--hash-style [...]'.
+
+RUN: %target_ld_cmd --hash-style=what --hash-style ever -o %t.nvptx %S/empty.o 
> %t.stdout 2> %t.stderr
+RUN: cmp %S/empty-1-1.nvptx.golden %t.nvptx
+RUN: ! test -s %t.stdout
+RUN: ! test -s %t.stderr

Reply via email to