tracebak.c: Always set LOWEST_ADDR to 0 on Win32 (as done on all other x86 platforms).
authorPascal Obry <obry@gnat.com>
Mon, 4 Oct 2004 15:02:29 +0000 (15:02 +0000)
committerArnaud Charlet <charlet@gcc.gnu.org>
Mon, 4 Oct 2004 15:02:29 +0000 (17:02 +0200)
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

gcc/ada/ChangeLog
gcc/ada/tracebak.c

index 03ddd63..d80f296 100644 (file)
@@ -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
index 9c62192..45b2df1 100644 (file)
@@ -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