summaryrefslogtreecommitdiff
path: root/sim
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
commit6cf23233ea284f951cbe63eaf7f0d6ca160fee7d (patch)
tree757b43bcaab5b251391c5b0d9a2db4df4c08b9e8 /sim
parent97ad50fcc8406b9c2465b2d9ed815cfbd9a6e9b2 (diff)
downloadgdb-6cf23233ea284f951cbe63eaf7f0d6ca160fee7d.tar.gz
* hw_htab.c (bfd_get_section_lma): Remove macro; use BFD's.
Diffstat (limited to 'sim')
-rw-r--r--sim/ppc/ChangeLog4
-rw-r--r--sim/ppc/hw_htab.c1
2 files changed, 4 insertions, 1 deletions
diff --git a/sim/ppc/ChangeLog b/sim/ppc/ChangeLog
index d77dcc83e6b..fe32804f21c 100644
--- a/sim/ppc/ChangeLog
+++ b/sim/ppc/ChangeLog
@@ -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.
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 */