mirror of
https://github.com/bebbo/amigaos-binutils-2.14.git
synced 2025-12-08 22:38:24 +00:00
* (amiga_write_object_contents): Use amiga_symbol macro.
* (amiga_slurp_relocs): Likewise.
This commit is contained in:
@ -1488,7 +1488,7 @@ amiga_write_object_contents (abfd)
|
|||||||
sym = abfd->outsymbols[i];
|
sym = abfd->outsymbols[i];
|
||||||
if (CAN_WRITE_OUTSYM (sym))
|
if (CAN_WRITE_OUTSYM (sym))
|
||||||
{
|
{
|
||||||
amiga_symbol_type *t = (amiga_symbol_type *) sym;
|
amiga_symbol_type *t = amiga_symbol(sym);
|
||||||
struct external_nlist data;
|
struct external_nlist data;
|
||||||
|
|
||||||
bfd_h_put_16(abfd, t->desc, data.e_desc);
|
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))
|
if (!get_long (abfd, &offset))
|
||||||
return FALSE;
|
return FALSE;
|
||||||
if (!amiga_add_reloc (abfd, section, offset, abfd->outsymbols ?
|
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))
|
howto, -4))
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user