comparison src/sysdep.c @ 9039:22e5c594d59d

(start_of_text): Don't test CANNOT_UNEXEC.
author Richard M. Stallman <rms@gnu.org>
date Sat, 24 Sep 1994 00:30:52 +0000
parents fd91a0b1e333
children 04b461c99a96
comparison
equal deleted inserted replaced
9038:6e29df07da2c 9039:22e5c594d59d
1864 * doing an unexec. After unexec the return value is undefined. 1864 * doing an unexec. After unexec the return value is undefined.
1865 * See crt0.c for further explanation and _start. 1865 * See crt0.c for further explanation and _start.
1866 * 1866 *
1867 */ 1867 */
1868 1868
1869 #if !defined (CANNOT_UNEXEC) && !defined (HAVE_TEXT_START) 1869 #ifndef HAVE_TEXT_START
1870 char * 1870 char *
1871 start_of_text () 1871 start_of_text ()
1872 { 1872 {
1873 #ifdef TEXT_START 1873 #ifdef TEXT_START
1874 return ((char *) TEXT_START); 1874 return ((char *) TEXT_START);
1880 extern int _start (); 1880 extern int _start ();
1881 return ((char *) _start); 1881 return ((char *) _start);
1882 #endif /* GOULD */ 1882 #endif /* GOULD */
1883 #endif /* TEXT_START */ 1883 #endif /* TEXT_START */
1884 } 1884 }
1885 #endif /* not CANNOT_UNEXEC and not HAVE_TEXT_START */ 1885 #endif /* not HAVE_TEXT_START */
1886 1886
1887 /* 1887 /*
1888 * Return the address of the start of the data segment prior to 1888 * Return the address of the start of the data segment prior to
1889 * doing an unexec. After unexec the return value is undefined. 1889 * doing an unexec. After unexec the return value is undefined.
1890 * See crt0.c for further information and definition of data_start. 1890 * See crt0.c for further information and definition of data_start.