aboutsummaryrefslogtreecommitdiff
path: root/sim/ppc/hw_htab.c
diff options
context:
space:
mode:
authorBen Elliston <bje@au.ibm.com>2005-07-15 03:52:31 +0000
committerBen Elliston <bje@au.ibm.com>2005-07-15 03:52:31 +0000
commitfb6ae37f9e6776de6a048387949575b08a52ab1f (patch)
tree4c62d2bf555dc99f6a437c81c4f02c438b21e4d2 /sim/ppc/hw_htab.c
parent50427dbf8f4e8d323675428b2ea471917e8a49e9 (diff)
downloadgdb-fb6ae37f9e6776de6a048387949575b08a52ab1f.zip
gdb-fb6ae37f9e6776de6a048387949575b08a52ab1f.tar.gz
gdb-fb6ae37f9e6776de6a048387949575b08a52ab1f.tar.bz2
* hw_htab.c (bfd_get_section_lma): Remove macro; use BFD's.
Diffstat (limited to 'sim/ppc/hw_htab.c')
-rw-r--r--sim/ppc/hw_htab.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sim/ppc/hw_htab.c b/sim/ppc/hw_htab.c
index d9b280a..3ad539d 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 */