summaryrefslogtreecommitdiff
path: root/toolchain/binutils/patches/2.17/502-avr32-bfd-dont-allow-direct-refs-to-bss.patch
diff options
context:
space:
mode:
authorImre Kaloz <kaloz@openwrt.org>2007-12-28 18:26:50 +0000
committerImre Kaloz <kaloz@openwrt.org>2007-12-28 18:26:50 +0000
commit8700cac7110aeaf95fa26482323e14c35b7f07fb (patch)
tree1168d094fac88a9d0bb88805e3be11aeb4e22875 /toolchain/binutils/patches/2.17/502-avr32-bfd-dont-allow-direct-refs-to-bss.patch
parent3e3b877d14c725691920b608b6dda5d78f8ff50d (diff)
downloadmtk-20170518-8700cac7110aeaf95fa26482323e14c35b7f07fb.zip
mtk-20170518-8700cac7110aeaf95fa26482323e14c35b7f07fb.tar.gz
mtk-20170518-8700cac7110aeaf95fa26482323e14c35b7f07fb.tar.bz2
update AVR32 binutils patches
SVN-Revision: 10006
Diffstat (limited to 'toolchain/binutils/patches/2.17/502-avr32-bfd-dont-allow-direct-refs-to-bss.patch')
-rw-r--r--toolchain/binutils/patches/2.17/502-avr32-bfd-dont-allow-direct-refs-to-bss.patch19
1 files changed, 0 insertions, 19 deletions
diff --git a/toolchain/binutils/patches/2.17/502-avr32-bfd-dont-allow-direct-refs-to-bss.patch b/toolchain/binutils/patches/2.17/502-avr32-bfd-dont-allow-direct-refs-to-bss.patch
deleted file mode 100644
index 847f269..0000000
--- a/toolchain/binutils/patches/2.17/502-avr32-bfd-dont-allow-direct-refs-to-bss.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-Index: binutils-2.17/bfd/elf32-avr32.c
-===================================================================
---- binutils-2.17.orig/bfd/elf32-avr32.c 2007-06-28 09:19:38.494384416 +0200
-+++ binutils-2.17/bfd/elf32-avr32.c 2007-06-28 09:19:38.682355840 +0200
-@@ -2449,9 +2449,13 @@
- after the relaxation code is done, so we can't really
- trust that our "distance" is correct. There's really no
- easy solution to this problem, so we'll just disallow
-- direct references to SEC_DATA sections. */
-+ direct references to SEC_DATA sections.
-+
-+ Oh, and .bss isn't actually SEC_DATA, so we disallow
-+ !SEC_HAS_CONTENTS as well. */
- if (!dynamic && defined
- && !(sym_sec->flags & SEC_DATA)
-+ && (sym_sec->flags & SEC_HAS_CONTENTS)
- && next_state->direct)
- {
- next_state = &relax_state[next_state->direct];