From aa75536848b349bcbbdccf4c7cf2664916e59743 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Thu, 5 Jan 2017 08:10:38 +0100 Subject: microblaze: the binutils fix for static musl problems, breaks uClibc-ng support :( --- toolchain/binutils/patches/2.26.1/microblaze-static.musl | 13 +++++++++++++ toolchain/binutils/patches/2.26.1/microblaze-static.patch | 13 ------------- 2 files changed, 13 insertions(+), 13 deletions(-) create mode 100644 toolchain/binutils/patches/2.26.1/microblaze-static.musl delete mode 100644 toolchain/binutils/patches/2.26.1/microblaze-static.patch (limited to 'toolchain/binutils') diff --git a/toolchain/binutils/patches/2.26.1/microblaze-static.musl b/toolchain/binutils/patches/2.26.1/microblaze-static.musl new file mode 100644 index 000000000..55962b000 --- /dev/null +++ b/toolchain/binutils/patches/2.26.1/microblaze-static.musl @@ -0,0 +1,13 @@ +From: +https://sourceware.org/bugzilla/show_bug.cgi?id=21017 +diff -Nur binutils-2.26.1.orig/bfd/elf32-microblaze.c binutils-2.26.1/bfd/elf32-microblaze.c +--- binutils-2.26.1.orig/bfd/elf32-microblaze.c 2015-11-13 09:27:40.000000000 +0100 ++++ binutils-2.26.1/bfd/elf32-microblaze.c 2017-01-03 06:31:27.305957954 +0100 +@@ -2402,6 +2402,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) + { diff --git a/toolchain/binutils/patches/2.26.1/microblaze-static.patch b/toolchain/binutils/patches/2.26.1/microblaze-static.patch deleted file mode 100644 index 55962b000..000000000 --- a/toolchain/binutils/patches/2.26.1/microblaze-static.patch +++ /dev/null @@ -1,13 +0,0 @@ -From: -https://sourceware.org/bugzilla/show_bug.cgi?id=21017 -diff -Nur binutils-2.26.1.orig/bfd/elf32-microblaze.c binutils-2.26.1/bfd/elf32-microblaze.c ---- binutils-2.26.1.orig/bfd/elf32-microblaze.c 2015-11-13 09:27:40.000000000 +0100 -+++ binutils-2.26.1/bfd/elf32-microblaze.c 2017-01-03 06:31:27.305957954 +0100 -@@ -2402,6 +2402,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) - { -- cgit v1.2.3