2
0
mirror of https://github.com/bebbo/amigaos-binutils-2.14.git synced 2025-12-08 17:38:25 +00:00

* (amiga_write_object_contents): Use amiga_symbol macro.

* (amiga_slurp_relocs): Likewise.
This commit is contained in:
Gunther Nikl
2014-11-27 21:05:24 +00:00
parent 11b5fe1b1d
commit f4a1fde5e7

View File

@ -1488,7 +1488,7 @@ amiga_write_object_contents (abfd)
sym = abfd->outsymbols[i];
if (CAN_WRITE_OUTSYM (sym))
{
amiga_symbol_type *t = (amiga_symbol_type *) sym;
amiga_symbol_type *t = amiga_symbol(sym);
struct external_nlist data;
bfd_h_put_16(abfd, t->desc, data.e_desc);
@ -2652,7 +2652,7 @@ amiga_slurp_relocs (abfd, section, symbols)
if (!get_long (abfd, &offset))
return FALSE;
if (!amiga_add_reloc (abfd, section, offset, abfd->outsymbols ?
(amiga_symbol_type *) abfd->outsymbols[asp->index] : asp,
amiga_symbol(abfd->outsymbols[asp->index]) : asp,
howto, -4))
return FALSE;
}