summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel@rtems.org>2016-11-14 16:04:04 -0600
committerJoel Sherrill <joel@rtems.org>2016-11-14 16:04:04 -0600
commitb5caf2125c90a466628072c2aef02e8142f8474f (patch)
tree0a2f5c31d541edb47c4f244e901440157e304b48
parent4.10: Add NIOS2 newlib patch. (diff)
downloadrtems-tools-b5caf2125c90a466628072c2aef02e8142f8474f.tar.bz2
Add 4.12/.../binutils-2.26-gas-reloc.patch from gaisler.org
-rw-r--r--tools/4.12/binutils/binutils-2.26-gas-reloc.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/tools/4.12/binutils/binutils-2.26-gas-reloc.patch b/tools/4.12/binutils/binutils-2.26-gas-reloc.patch
new file mode 100644
index 0000000..2b5d88f
--- /dev/null
+++ b/tools/4.12/binutils/binutils-2.26-gas-reloc.patch
@@ -0,0 +1,17 @@
+diff --git a/gas/config/tc-sparc.c b/gas/config/tc-sparc.c
+index 70f5bfb..d3b213c 100644
+--- a/gas/config/tc-sparc.c
++++ b/gas/config/tc-sparc.c
+@@ -4957,7 +4957,10 @@ cons_fix_new_sparc (fragS *frag,
+ case 8: r = BFD_RELOC_SPARC_TLS_DTPOFF64; break;
+ }
+ }
+- else if (sparc_no_align_cons)
++ else if (sparc_no_align_cons
++ || /* PR 20803 - relocs in the .eh_frame section need
++ to support unaligned access. */
++ strcmp (now_seg->name, ".eh_frame") == 0)
+ {
+ switch (nbytes)
+ {
+