comparison src/mem-limits.h @ 15634:08bcd5d2c8ab

[_LIBC]: Use weak_extern instead of weak_symbol for __data_start.
author Roland McGrath <roland@gnu.org>
date Mon, 08 Jul 1996 04:31:52 +0000
parents ee40177f6c68
children 3c6865102f3d
comparison
equal deleted inserted replaced
15633:186632053420 15634:08bcd5d2c8ab
1 /* Includes for memory limit warnings. 1 /* Includes for memory limit warnings.
2 Copyright (C) 1990, 1993, 1994, 1995 Free Software Foundation, Inc. 2 Copyright (C) 1990, 1993, 1994, 1995, 1996 Free Software Foundation, Inc.
3 3
4 This file is part of GNU Emacs. 4 This file is part of GNU Emacs.
5 5
6 GNU Emacs is free software; you can redistribute it and/or modify 6 GNU Emacs is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by 7 it under the terms of the GNU General Public License as published by
29 29
30 #include <sys/resource.h> 30 #include <sys/resource.h>
31 #define BSD4_2 /* Tell code below to use getrlimit. */ 31 #define BSD4_2 /* Tell code below to use getrlimit. */
32 32
33 /* Old Linux startup code won't define __data_start. */ 33 /* Old Linux startup code won't define __data_start. */
34 extern int etext, __data_start; weak_symbol (__data_start) 34 extern int etext, __data_start; weak_extern (__data_start)
35 #define start_of_data() (&__data_start ?: &etext) 35 #define start_of_data() (&__data_start ?: &etext)
36 36
37 #else /* not _LIBC */ 37 #else /* not _LIBC */
38 38
39 #if defined (__osf__) && (defined (__mips) || defined (mips) || defined(__alpha)) 39 #if defined (__osf__) && (defined (__mips) || defined (mips) || defined(__alpha))