]> code.delx.au - gnu-emacs/blobdiff - src/unexalpha.c
(fill_gstring_glyph_string): Adjusted for the change of
[gnu-emacs] / src / unexalpha.c
index 5f711b6e48873bb054dd6b275e744de98456de4d..3fcbb265f661d93605286d528c0d89ece3f94931 100644 (file)
@@ -1,7 +1,9 @@
-/* Unexec for DEC alpha.  schoepf@sc.ZIB-Berlin.DE (Rainer Schoepf).
+/* Unexec for DEC alpha.
 
    Copyright (C) 1994, 2000, 2001, 2002, 2003, 2004,
-                 2005, 2006, 2007, 2008  Free Software Foundation, Inc.
+                 2005, 2006, 2007, 2008, 2009  Free Software Foundation, Inc.
+
+Author: Rainer Schoepf <schoepf@sc.ZIB-Berlin.DE>
 
 This file is part of GNU Emacs.
 
@@ -134,13 +136,6 @@ struct headers {
     struct scnhdr section[_MIPS_NSCNS_MAX];
 };
 
-
-
-/* Define name of label for entry point for the dumped executable.  */
-
-#ifndef DEFAULT_ENTRY_ADDRESS
-#define DEFAULT_ENTRY_ADDRESS __start
-#endif
 \f
 void
 unexec (new_name, a_name, data_start, bss_start, entry_address)
@@ -271,8 +266,8 @@ unexec (new_name, a_name, data_start, bss_start, entry_address)
   nhdr.aout.bsize = 0;
   if (entry_address == 0)
     {
-      extern DEFAULT_ENTRY_ADDRESS ();
-      nhdr.aout.entry = (unsigned long)DEFAULT_ENTRY_ADDRESS;
+      extern __start ();
+      nhdr.aout.entry = (unsigned long)__start;
     }
   else
     nhdr.aout.entry = entry_address;