* hw_htab.c (bfd_get_section_lma): Remove macro; use BFD's.
authorBen Elliston <bje@au.ibm.com>
Fri, 15 Jul 2005 03:52:31 +0000 (03:52 +0000)
committerBen Elliston <bje@au.ibm.com>
Fri, 15 Jul 2005 03:52:31 +0000 (03:52 +0000)
sim/ppc/ChangeLog
sim/ppc/hw_htab.c

index d77dcc8..fe32804 100644 (file)
@@ -1,5 +1,9 @@
 2005-07-15  Ben Elliston  <bje@au.ibm.com>
 
+       * hw_htab.c (bfd_get_section_lma): Remove macro; use BFD's.
+
+2005-07-15  Ben Elliston  <bje@au.ibm.com>
+
        * hw_init.c: Comment out tokens after #endif directive.
        * hw_register.c: Likewise.
        * hw_trace.c: Likewise.
index d9b280a..3ad539d 100644 (file)
@@ -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 */