summaryrefslogtreecommitdiff
path: root/src/pre-crt0.c
diff options
context:
space:
mode:
authorJim Blandy <jimb@redhat.com>1992-01-13 21:48:03 +0000
committerJim Blandy <jimb@redhat.com>1992-01-13 21:48:03 +0000
commit254f294c2e37a22e04bff74fedfdc9b1fcc93b93 (patch)
tree060dbe9a444bcf1c2e1bc7802fc4dfc1717520aa /src/pre-crt0.c
parenta48a36d045feed054f3532c5596449466a60a3cd (diff)
downloademacs-254f294c2e37a22e04bff74fedfdc9b1fcc93b93.tar.gz
entered into RCS
Diffstat (limited to 'src/pre-crt0.c')
-rw-r--r--src/pre-crt0.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/pre-crt0.c b/src/pre-crt0.c
new file mode 100644
index 00000000000..67fd31cd6ac
--- /dev/null
+++ b/src/pre-crt0.c
@@ -0,0 +1,9 @@
+/* This file is loaded before crt0.o on machines where we do not
+ remap part of the data space into text space in unexec.
+ On these machines, there is no problem with standard crt0.o's
+ that make environ an initialized variable. However, we do
+ need to make sure the label data_start exists anyway. */
+
+/* Create a label to appear at the beginning of data space. */
+
+int data_start = 0;