From e2b5906c8a27cfda89fa1a8c6bf832691f9610cd Mon Sep 17 00:00:00 2001 From: Gunther Nikl Date: Wed, 29 Apr 2015 19:07:20 +0000 Subject: [PATCH] Accept additional hunk types containing raw relocation data at two places missed before. * bfd/amigaos.c (parse_archive_units): Handle HUNK_RELRELOC32, HUNK_ABSRELOC16 and HUNK_RELRELOC26. (amiga_handle_rest): Likewise. --- bfd/amigaos.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/bfd/amigaos.c b/bfd/amigaos.c index 71d3536..1cef15e 100644 --- a/bfd/amigaos.c +++ b/bfd/amigaos.c @@ -604,6 +604,9 @@ parse_archive_units (abfd, n_units, filesize, one, syms, symcount) case HUNK_DREL32: case HUNK_DREL16: case HUNK_DREL8: + case HUNK_RELRELOC32: + case HUNK_ABSRELOC16: + case HUNK_RELRELOC26: for (;;) { /* read offsets count */ if (!get_long (abfd, &no)) @@ -1116,6 +1119,9 @@ amiga_handle_rest (abfd, current_section, isload) case HUNK_DREL16: case HUNK_DREL8: case HUNK_RELOC32SHORT: + case HUNK_RELRELOC32: + case HUNK_ABSRELOC16: + case HUNK_RELRELOC26: /* count and skip relocs */ relp = (raw_reloc_type *) bfd_alloc (abfd, sizeof (*relp)); relp->next = asect->relocs;