Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
6c6b28ea
Commit
6c6b28ea
authored
Nov 16, 1995
by
Roland McGrath
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[_LIBC] (start_of_data): Use weak ref to __data_start; use &etext if not
present.
parent
c8e9dd54
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
src/mem-limits.h
src/mem-limits.h
+4
-3
No files found.
src/mem-limits.h
View file @
6c6b28ea
...
...
@@ -29,8 +29,9 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#include <sys/resource.h>
#define BSD4_2
/* Tell code below to use getrlimit. */
extern
int
__data_start
;
#define start_of_data() &__data_start
/* Old Linux startup code won't define __data_start. */
extern
int
__data_start
;
weak_symbol
(
__data_start
)
#define start_of_data() (&__data_start ?: &etext)
#else
/* not _LIBC */
...
...
@@ -88,7 +89,7 @@ extern char etext;
#endif
#endif
#else
/* not emacs */
#else
/* not emacs */
extern
char
etext
;
#define start_of_data() &etext
#endif
/* not emacs */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment