summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2017-04-04 13:26:22 +1000
committerChris Johns <chrisj@rtems.org>2017-04-04 13:26:22 +1000
commit4b69a14d2af85d3dfc8883921a2e414d59688c6e (patch)
treee760742725aeaae898740d20a16f565a2eb66561
parentdca7ab285321d788f3f7f419ef8f2f4d3cf77a12 (diff)
downloadrtems-source-builder-4b69a14d2af85d3dfc8883921a2e414d59688c6e.tar.bz2
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.
-rw-r--r--rtems/config/tools/rtems-binutils-2.26-1.cfg6
1 files changed, 6 insertions, 0 deletions
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.