In an object file a HUNK_RELRELOC32 has 32bit data.

* bfd/amigaos.c (parse_archive_units): Read contents of HUNK_RELRELOC32 as
  32bit words.
This commit is contained in:
Gunther Nikl
2015-06-03 17:55:47 +00:00
parent 33dc868cd6
commit 75ee6e77cc
+1 -1
View File
@@ -619,6 +619,7 @@ parse_archive_units (abfd, n_units, filesize, one, syms, symcount)
case HUNK_DREL32:
case HUNK_DREL16:
case HUNK_DREL8:
case HUNK_RELRELOC32: /* 32bit data in an object file! */
case HUNK_ABSRELOC16:
case HUNK_RELRELOC26:
for (;;) {
@@ -633,7 +634,6 @@ parse_archive_units (abfd, n_units, filesize, one, syms, symcount)
}
break;
case HUNK_RELOC32SHORT:
case HUNK_RELRELOC32:
for (;;) {
/* read offsets count */
if (!get_word (abfd, &no))