From: Ben Elliston Date: Fri, 15 Jul 2005 03:52:31 +0000 (+0000) Subject: * hw_htab.c (bfd_get_section_lma): Remove macro; use BFD's. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fb6ae37f9e6776de6a048387949575b08a52ab1f;p=binutils-gdb.git * hw_htab.c (bfd_get_section_lma): Remove macro; use BFD's. --- diff --git a/sim/ppc/ChangeLog b/sim/ppc/ChangeLog index d77dcc83e6b..fe32804f21c 100644 --- a/sim/ppc/ChangeLog +++ b/sim/ppc/ChangeLog @@ -1,3 +1,7 @@ +2005-07-15 Ben Elliston + + * hw_htab.c (bfd_get_section_lma): Remove macro; use BFD's. + 2005-07-15 Ben Elliston * hw_init.c: Comment out tokens after #endif directive. diff --git a/sim/ppc/hw_htab.c b/sim/ppc/hw_htab.c index d9b280a5ea6..3ad539d5e34 100644 --- a/sim/ppc/hw_htab.c +++ b/sim/ppc/hw_htab.c @@ -393,7 +393,6 @@ htab_sum_binary(bfd *abfd, htab_binary_sizes *sizes = (htab_binary_sizes*)data; unsigned_word size = bfd_get_section_size (sec); unsigned_word vma = bfd_get_section_vma (abfd, sec); -#define bfd_get_section_lma(abfd, sec) ((sec)->lma + 0) unsigned_word ra = bfd_get_section_lma (abfd, sec); /* skip the section if no memory to allocate */