<short summary of the patch>
authorCamm Maguire <camm@debian.org>
Sun, 25 Dec 2022 12:14:33 +0000 (12:14 +0000)
committerCamm Maguire <camm@debian.org>
Sun, 25 Dec 2022 12:14:33 +0000 (12:14 +0000)
TODO: Put a short summary on the line above and replace this paragraph
with a longer explanation of this change. Complete the meta-information
with other relevant fields (see below for details). To make it easier, the
information below has been extracted from the changelog. Adjust it or drop
it.

gcl (2.6.13-5) unstable; urgency=medium

  * Version_2_6_14pre4

Gbp-Pq: Name Version_2_6_14pre4

configure
configure.in
git.tag
h/elf64_riscv64_reloc.h

index 041c95de612b6e66ac9c6635e4f045f49903caa3..396c91005aaf4d03850b071abeb0b1f1750be612 100755 (executable)
--- a/configure
+++ b/configure
@@ -4888,6 +4888,17 @@ if test "$FOMITF" != "" ; then
     TO3FLAGS="$TO3FLAGS $FOMITF"
 fi
 
+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking gcc version 12" >&5
+printf %s "checking gcc version 12... " >&6; }
+if $CC -v 2>&1|grep gcc |grep -q 'version 12'; then
+   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+printf "%s\n" "yes" >&6; }
+   assert_arg_to_cflags -fno-tree-vrp #Bug workaround
+else
+   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
+printf "%s\n" "no" >&6; }
+fi
+
 # Step 1: set the variable "system" to hold the name and version number
 # for the system.  This can usually be done via the "uname" command, but
 # there are a few systems, like Next, where this doesn't work.
index 12b8abeb646d3ebf05022c45da61672e30916fff..3f12ec7034dbbc52b9d4c9ac609de9b7395e1b01 100644 (file)
@@ -491,6 +491,14 @@ if test "$FOMITF" != "" ; then
     TO3FLAGS="$TO3FLAGS $FOMITF"
 fi
 
+AC_MSG_CHECKING([gcc version 12])
+if $CC -v 2>&1|grep gcc |grep -q 'version 12'; then
+   AC_MSG_RESULT([yes])
+   assert_arg_to_cflags -fno-tree-vrp #Bug workaround
+else
+   AC_MSG_RESULT([no])
+fi
+
 # Step 1: set the variable "system" to hold the name and version number
 # for the system.  This can usually be done via the "uname" command, but
 # there are a few systems, like Next, where this doesn't work.
diff --git a/git.tag b/git.tag
index 17cfbdf1b1f55f5f077f0e20f36a7f40ae87130c..922ff21b819c760d902415945ec48241b0258abc 100644 (file)
--- a/git.tag
+++ b/git.tag
@@ -1,2 +1,2 @@
-"Version_2_6_14pre3"
+"Version_2_6_14pre4"
 
index 1ddc37eded509fec191d35df931e211330b8952c..c2f8232d7bdc3759dc757697d1c11492687c8130 100644 (file)
@@ -13,6 +13,7 @@
       store_val(where,MASK(7)<<25,(s+a)<<20);
       break;
     case R_RISCV_CALL:
+    case R_RISCV_CALL_PLT:
       store_val(where,MASK(20)<<12,riscv_high(s+a-p));
       store_val((void *)where+4,MASK(12)<<20,(s+a-p)<<20);
       break;