summaryrefslogtreecommitdiff
path: root/tools/5
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2017-11-09 09:35:29 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2017-11-09 09:35:29 +0100
commita70b8e609b6b26c94c131d6e902d5fa6de391648 (patch)
tree5cc9921cff45d31550fff3821ee6cf7e5867a4c7 /tools/5
parent52f379028281ee532561ccd2e4f1590e18bf2951 (diff)
Add tools/5 patch
Update #3220.
Diffstat (limited to 'tools/5')
-rw-r--r--tools/5/binutils/binutils-2.26-gas-reloc.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/tools/5/binutils/binutils-2.26-gas-reloc.patch b/tools/5/binutils/binutils-2.26-gas-reloc.patch
new file mode 100644
index 0000000..2b5d88f
--- /dev/null
+++ b/tools/5/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)
+ {
+