projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c984738
)
2001-10-20 H.J. Lu <hjl@gnu.org>
author
H.J. Lu
<hjl.tools@gmail.com>
Sat, 20 Oct 2001 23:16:17 +0000
(23:16 +0000)
committer
H.J. Lu
<hjl.tools@gmail.com>
Sat, 20 Oct 2001 23:16:17 +0000
(23:16 +0000)
* elf32-cris.c (cris_reloc_type_lookup): Allow index 0.
bfd/ChangeLog
patch
|
blob
|
history
bfd/elf32-cris.c
patch
|
blob
|
history
diff --git
a/bfd/ChangeLog
b/bfd/ChangeLog
index 9bc656f7cae0291067012ef739f6a728755729ab..c69fc61e0bdc559445bdf6e20c250be8cd719680 100644
(file)
--- a/
bfd/ChangeLog
+++ b/
bfd/ChangeLog
@@
-1,3
+1,7
@@
+2001-10-20 H.J. Lu <hjl@gnu.org>
+
+ * elf32-cris.c (cris_reloc_type_lookup): Allow index 0.
+
2001-10-19 H.J. Lu <hjl@gnu.org>
* elfcode.h (elf_object_p): Don't clear D_PAGED if the section
diff --git
a/bfd/elf32-cris.c
b/bfd/elf32-cris.c
index 81784259183806b28c10c9e7aa55af370136979b..d4d543bd17facd45bdf71b46034b6af1f568972d 100644
(file)
--- a/
bfd/elf32-cris.c
+++ b/
bfd/elf32-cris.c
@@
-440,7
+440,7
@@
cris_reloc_type_lookup (abfd, code)
unsigned int i;
for (i = sizeof (cris_reloc_map) / sizeof (cris_reloc_map[0]);
- --i;)
+ --i
>= 0
;)
if (cris_reloc_map [i].bfd_reloc_val == code)
return & cris_elf_howto_table [cris_reloc_map[i].cris_reloc_val];