From 7e12978101ece6f8cfd097bb2489d370459a1607 Mon Sep 17 00:00:00 2001 From: Thiemo Seufer Date: Tue, 7 Nov 2006 19:07:41 +0000 Subject: [PATCH] * sim-base.h (text_start, text_end, start_addr): Use bfd_vma type for bfd text addresses. --- sim/common/ChangeLog | 5 +++++ sim/common/sim-base.h | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog index 37a8e73974..506029cd11 100644 --- a/sim/common/ChangeLog +++ b/sim/common/ChangeLog @@ -1,3 +1,8 @@ +2006-11-07 Thiemo Seufer + + * sim-base.h (text_start, text_end, start_addr): Use bfd_vma type + for bfd text addresses. + 2006-08-29 Thiemo Seufer Nigel Stephens diff --git a/sim/common/sim-base.h b/sim/common/sim-base.h index fde98470bc..831768bda9 100644 --- a/sim/common/sim-base.h +++ b/sim/common/sim-base.h @@ -181,13 +181,13 @@ typedef struct { /* The program's text section. */ struct bfd_section *text_section; /* Starting and ending text section addresses from the bfd. */ - SIM_ADDR text_start, text_end; + bfd_vma text_start, text_end; #define STATE_TEXT_SECTION(sd) ((sd)->base.text_section) #define STATE_TEXT_START(sd) ((sd)->base.text_start) #define STATE_TEXT_END(sd) ((sd)->base.text_end) /* Start address, set when the program is loaded from the bfd. */ - SIM_ADDR start_addr; + bfd_vma start_addr; #define STATE_START_ADDR(sd) ((sd)->base.start_addr) /* Size of the simulator's cache, if any.