summaryrefslogtreecommitdiff
path: root/toolchain/binutils/patches/2.27/microblaze-static.patch
blob: 4e8c400f13d85f902b073a4799e8449e0140acc7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
From:
https://sourceware.org/bugzilla/show_bug.cgi?id=21017

diff -Nur binutils-2.27.orig/bfd/elf32-microblaze.c binutils-2.27/bfd/elf32-microblaze.c
--- binutils-2.27.orig/bfd/elf32-microblaze.c	2016-08-03 09:36:50.000000000 +0200
+++ binutils-2.27/bfd/elf32-microblaze.c	2017-01-03 04:43:49.173901997 +0100
@@ -2399,6 +2399,7 @@
           tls_type |= (TLS_TLS | TLS_LD);
         dogottls:
           sec->has_tls_reloc = 1;
+	case R_MICROBLAZE_GOTOFF_64:
         case R_MICROBLAZE_GOT_64:
           if (htab->sgot == NULL)
             {