summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaweł Sikora2006-05-11 18:20:12 (GMT)
committercvs2git2012-06-24 12:13:13 (GMT)
commit52c271dc5d54d6e8af945713c92bf83fa2ad1d3e (patch)
tree73d98dc58e4f30b4e7ba962aa30d839b6679d572
parent44460cf2950ec295fe9ae9e7aae10beffde27783 (diff)
downloadcrosssparc-binutils-52c271dc5d54d6e8af945713c92bf83fa2ad1d3e.zip
crosssparc-binutils-52c271dc5d54d6e8af945713c92bf83fa2ad1d3e.tar.gz
Changed files: binutils-elfcode.h.patch -> 1.2
-rw-r--r--binutils-elfcode.h.patch10
1 files changed, 5 insertions, 5 deletions
diff --git a/binutils-elfcode.h.patch b/binutils-elfcode.h.patch
index 92480be..4ea380d 100644
--- a/binutils-elfcode.h.patch
+++ b/binutils-elfcode.h.patch
@@ -1,5 +1,5 @@
---- binutils-2.16.91.0.7/bfd/elfcode.h.orig 2005-12-20 23:43:55.000000000 +0100
-+++ binutils-2.16.91.0.7/bfd/elfcode.h 2006-05-10 15:43:08.822548000 +0200
+--- binutils-2.17.50.0.1/bfd/elfcode.h.orig 2006-04-29 18:32:56.000000000 +0200
++++ binutils-2.17.50.0.1/bfd/elfcode.h 2006-05-11 20:15:56.000000000 +0200
@@ -458,6 +458,25 @@
&& (x_ehdrp->e_ident[EI_MAG3] == ELFMAG3));
}
@@ -54,6 +54,6 @@
- || (i_ehdrp->e_shstrndx >= SHN_LORESERVE
- && i_ehdrp->e_shstrndx <= SHN_HIRESERVE))
+ if (! valid_section_index_p (i_ehdrp->e_shstrndx, elf_numsections (abfd)))
- goto got_wrong_format_error;
- }
- else if (i_ehdrp->e_shstrndx != 0)
+ {
+ /* PR 2257:
+ We used to just goto got_wrong_format_error here