comparison src/sysdep.c @ 5937:a5b94cc9cb11

(start_of_text): Don't define #ifdef HAVE_TEXT_START.
author Roland McGrath <roland@gnu.org>
date Sun, 13 Feb 1994 22:19:34 +0000
parents 1ce51f8152c6
children 02f406110e4b
comparison
equal deleted inserted replaced
5936:18c152c31e66 5937:a5b94cc9cb11
1794 * doing an unexec. After unexec the return value is undefined. 1794 * doing an unexec. After unexec the return value is undefined.
1795 * See crt0.c for further explanation and _start. 1795 * See crt0.c for further explanation and _start.
1796 * 1796 *
1797 */ 1797 */
1798 1798
1799 #ifndef CANNOT_UNEXEC 1799 #if !defined (CANNOT_UNEXEC) && !defined (HAVE_TEXT_START)
1800 char * 1800 char *
1801 start_of_text () 1801 start_of_text ()
1802 { 1802 {
1803 #ifdef TEXT_START 1803 #ifdef TEXT_START
1804 return ((char *) TEXT_START); 1804 return ((char *) TEXT_START);
1810 extern int _start (); 1810 extern int _start ();
1811 return ((char *) _start); 1811 return ((char *) _start);
1812 #endif /* GOULD */ 1812 #endif /* GOULD */
1813 #endif /* TEXT_START */ 1813 #endif /* TEXT_START */
1814 } 1814 }
1815 #endif /* not CANNOT_UNEXEC */ 1815 #endif /* not CANNOT_UNEXEC and not HAVE_TEXT_START */
1816 1816
1817 /* 1817 /*
1818 * Return the address of the start of the data segment prior to 1818 * Return the address of the start of the data segment prior to
1819 * doing an unexec. After unexec the return value is undefined. 1819 * doing an unexec. After unexec the return value is undefined.
1820 * See crt0.c for further information and definition of data_start. 1820 * See crt0.c for further information and definition of data_start.