[rtems-source-builder commit] 4.11/sparc: Add the binutils-2.26 SPARC R_SPARC_32 reloc fix.

Chris Johns chrisj at rtems.org
Tue Apr 4 03:28:17 UTC 2017


Module:    rtems-source-builder
Branch:    4.11
Commit:    4b69a14d2af85d3dfc8883921a2e414d59688c6e
Changeset: http://git.rtems.org/rtems-source-builder/commit/?id=4b69a14d2af85d3dfc8883921a2e414d59688c6e

Author:    Chris Johns <chrisj at rtems.org>
Date:      Tue Apr  4 13:26:22 2017 +1000

4.11/sparc: Add the binutils-2.26 SPARC R_SPARC_32 reloc fix.

See https://sourceware.org/bugzilla/show_bug.cgi?id=20803.

This fix is needed to support C++ exceptions in dynamically loaded
code.

Updates #2955.

---

 rtems/config/tools/rtems-binutils-2.26-1.cfg | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/rtems/config/tools/rtems-binutils-2.26-1.cfg b/rtems/config/tools/rtems-binutils-2.26-1.cfg
index 78f6522..5b8ad58 100644
--- a/rtems/config/tools/rtems-binutils-2.26-1.cfg
+++ b/rtems/config/tools/rtems-binutils-2.26-1.cfg
@@ -10,6 +10,12 @@
 %hash sha512 binutils-%{binutils_version}.tar.bz2 e77e1b8dbbcbaf9ac2fae95c4403615808af3be03b2e1d32448cd3a7d32c43273f8bcace3f2de84ec120a982879295673029da306e2885dbf5f990584932cfc7
 
 #
+# SPARC GAS fixes.
+#
+%patch add binutils %{rtems_binutils_patches}/binutils-2.26-gas-reloc.patch
+%hash md5 binutils-2.26-gas-reloc.patch 1b88374118c2da61eeaca9c4ba1ce42c
+
+#
 # Enable deterministic archives by default. This will be the default
 # there all tools using this binutils will create deterministic
 # archives.




More information about the vc mailing list