From b2c353d874b85e06f355a9419852e2616613c7d0 Mon Sep 17 00:00:00 2001 From: Parabola Date: Fri, 4 May 2012 20:00:41 +0000 Subject: Fri May 4 20:00:31 UTC 2012 --- core/binutils/binutils-2.22-ld-13621.patch | 27 --------------------------- 1 file changed, 27 deletions(-) delete mode 100644 core/binutils/binutils-2.22-ld-13621.patch (limited to 'core/binutils') diff --git a/core/binutils/binutils-2.22-ld-13621.patch b/core/binutils/binutils-2.22-ld-13621.patch deleted file mode 100644 index ffb2ab825..000000000 --- a/core/binutils/binutils-2.22-ld-13621.patch +++ /dev/null @@ -1,27 +0,0 @@ -diff --git a/bfd/linker.c b/bfd/linker.c -index c51c5df..0404474 100644 ---- a/bfd/linker.c -+++ b/bfd/linker.c -@@ -3208,6 +3208,12 @@ fix_syms (struct bfd_link_hash_entry *h, void *data) - op = op1; - } - -+ /* Refuse to choose a section for which we are out of bounds. */ -+ /* ??? This may make most of the above moot. */ -+ if (h->u.def.value < op->vma -+ || h->u.def.value > op->vma + op->size) -+ op = bfd_abs_section_ptr; -+ - h->u.def.value -= op->vma; - h->u.def.section = op; - } -index 95b7ef4..a9c05f9 100644 ---- a/ld/testsuite/ld-elf/warn2.d -+++ b/ld/testsuite/ld-elf/warn2.d -@@ -13,5 +13,5 @@ - # construct and that the symbol still appears as expected. - - #... -- +[0-9]+: +[0-9a-f]+ +20 +OBJECT +GLOBAL +DEFAULT +[1-9] Foo -+ +[0-9]+: +[0-9a-f]+ +20 +OBJECT +GLOBAL +DEFAULT +ABS Foo - #pass -- cgit v1.2.3-54-g00ecf