aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada
diff options
context:
space:
mode:
authorPascal Obry <obry@gnat.com>2004-10-04 15:02:29 +0000
committerArnaud Charlet <charlet@gcc.gnu.org>2004-10-04 17:02:29 +0200
commit095527632980f0c9838466134cb6e837dd87c103 (patch)
tree262fe1ba4bd5dc0189286ef78826fd2f9c01f2b8 /gcc/ada
parenta8e490b7eb09456162b5ae7ea969f66c0649ded7 (diff)
downloadgcc-095527632980f0c9838466134cb6e837dd87c103.zip
gcc-095527632980f0c9838466134cb6e837dd87c103.tar.gz
gcc-095527632980f0c9838466134cb6e837dd87c103.tar.bz2
tracebak.c: Always set LOWEST_ADDR to 0 on Win32 (as done on all other x86 platforms).
2004-10-04 Pascal Obry <obry@gnat.com> * tracebak.c: Always set LOWEST_ADDR to 0 on Win32 (as done on all other x86 platforms). From-SVN: r88510
Diffstat (limited to 'gcc/ada')
-rw-r--r--gcc/ada/ChangeLog5
-rw-r--r--gcc/ada/tracebak.c8
2 files changed, 5 insertions, 8 deletions
diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog
index 03ddd63..d80f296 100644
--- a/gcc/ada/ChangeLog
+++ b/gcc/ada/ChangeLog
@@ -1,3 +1,8 @@
+2004-10-04 Pascal Obry <obry@gnat.com>
+
+ * tracebak.c: Always set LOWEST_ADDR to 0 on Win32 (as done on all
+ other x86 platforms).
+
2004-10-04 Olivier Hainque <hainque@act-europe.fr>
* s-tassta.adb (Task_Wrapper): Make it Convention C, which makes sense
diff --git a/gcc/ada/tracebak.c b/gcc/ada/tracebak.c
index 9c62192..45b2df1 100644
--- a/gcc/ada/tracebak.c
+++ b/gcc/ada/tracebak.c
@@ -286,15 +286,7 @@ struct layout
void *return_address;
};
-#ifdef _WIN32
-/* _image_base__ is the image starting address, no stack addresses should be
- under this value */
-extern unsigned int _image_base__;
-#define LOWEST_ADDR ((unsigned int) (&_image_base__))
-#else
#define LOWEST_ADDR 0
-#endif
-
#define FRAME_LEVEL 0
#define FRAME_OFFSET 0
#define PC_ADJUST -2