X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=bfd%2Felf32-cr16.c;h=c74cb22618fb01e950aef847e32c2f963d1c2ce3;hb=8f4afc71128db5f0c5bd93996d210fc3d13b5ee8;hp=cefd69ed3a2876e13b38e9cf81a713e0acea02a5;hpb=b3adc24a0713411ab38a21dc894dd40dbc5c8f4f;p=deliverable%2Fbinutils-gdb.git diff --git a/bfd/elf32-cr16.c b/bfd/elf32-cr16.c index cefd69ed3a..c74cb22618 100644 --- a/bfd/elf32-cr16.c +++ b/bfd/elf32-cr16.c @@ -1641,7 +1641,7 @@ static struct bfd_link_hash_table * elf32_cr16_link_hash_table_create (bfd *abfd) { struct elf_link_hash_table *ret; - bfd_size_type amt = sizeof (struct elf_link_hash_table); + size_t amt = sizeof (struct elf_link_hash_table); ret = (struct elf_link_hash_table *) bfd_zmalloc (amt); if (ret == (struct elf_link_hash_table *) NULL) @@ -2854,7 +2854,7 @@ bfd_cr16_elf32_create_embedded_relocs (bfd *abfd, free (internal_relocs); return TRUE; -error_return: + error_return: if (isymbuf != NULL && symtab_hdr->contents != (unsigned char *) isymbuf) free (isymbuf); if (internal_relocs != NULL