diff options
Diffstat (limited to 'debian/patches/gcc-hash-style-both.diff')
-rw-r--r-- | debian/patches/gcc-hash-style-both.diff | 20 |
1 files changed, 18 insertions, 2 deletions
diff --git a/debian/patches/gcc-hash-style-both.diff b/debian/patches/gcc-hash-style-both.diff index 175abe8..f0af163 100644 --- a/debian/patches/gcc-hash-style-both.diff +++ b/debian/patches/gcc-hash-style-both.diff @@ -1,4 +1,4 @@ -# DP: Link using --hash-style=both (alpha, amd64, armel, armhf, ia64, i386, powerpc, ppc64, s390, sparc) +# DP: Link using --hash-style=both (alpha, amd64, armel, armhf, ia64, i386, powerpc, ppc64, riscv64, s390, sparc) 2006-07-11 Jakub Jelinek <jakub@redhat.com> @@ -21,7 +21,11 @@ 2012-11-17 Matthias Klose <doko@ubuntu.com> * config/aarch64/aarch64-linux.h (LINK_SPEC): Add --hash-style=both. - + +2018-03-02 Aurelien Jarno <aurelien@aurel32.net> + + * config/riscv/linux.h (LINK_SPEC): Add --hash-style=both. + --- gcc/config/alpha/linux-elf.h | 2 +- gcc/config/i386/linux.h | 2 +- @@ -165,3 +169,15 @@ Index: b/src/gcc/config/aarch64/aarch64-linux.h %{static:-Bstatic} \ %{shared:-shared} \ %{symbolic:-Bsymbolic} \ +Index: b/src/gcc/config/riscv/linux.h +=================================================================== +--- a/src/gcc/config/riscv/linux.h ++++ b/src/gcc/config/riscv/linux.h +@@ -50,6 +50,7 @@ + #define CPP_SPEC "%{pthread:-D_REENTRANT}" + + #define LINK_SPEC "\ ++-hash-style=both \ + -melf" XLEN_SPEC "lriscv \ + %{shared} \ + {!shared: \ |