mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-14 15:30:29 -08:00
[_LIBC]: Use weak_extern instead of weak_symbol for __data_start.
This commit is contained in:
parent
639829447f
commit
6d0dbbaf3e
1 changed files with 2 additions and 2 deletions
|
|
@ -1,5 +1,5 @@
|
|||
/* Includes for memory limit warnings.
|
||||
Copyright (C) 1990, 1993, 1994, 1995 Free Software Foundation, Inc.
|
||||
Copyright (C) 1990, 1993, 1994, 1995, 1996 Free Software Foundation, Inc.
|
||||
|
||||
This file is part of GNU Emacs.
|
||||
|
||||
|
|
@ -31,7 +31,7 @@ Boston, MA 02111-1307, USA. */
|
|||
#define BSD4_2 /* Tell code below to use getrlimit. */
|
||||
|
||||
/* Old Linux startup code won't define __data_start. */
|
||||
extern int etext, __data_start; weak_symbol (__data_start)
|
||||
extern int etext, __data_start; weak_extern (__data_start)
|
||||
#define start_of_data() (&__data_start ?: &etext)
|
||||
|
||||
#else /* not _LIBC */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue