Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
f34e2e18
Commit
f34e2e18
authored
Oct 26, 1994
by
Richard M. Stallman
Browse files
Comment changes.
parent
1b15043e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
src/unexec.c
src/unexec.c
+4
-5
No files found.
src/unexec.c
View file @
f34e2e18
...
...
@@ -200,9 +200,8 @@ struct aouthdr
#endif
/* not MSDOS */
#endif
/* Define getpagesize () if the system does not.
Note that this may depend on symbols defined in a.out.h
*/
/* Define getpagesize if the system does not.
Note that this may depend on symbols defined in a.out.h. */
#include "getpagesize.h"
#ifndef makedev
/* Try to detect types.h already loaded */
...
...
@@ -896,7 +895,7 @@ copy_text_and_data (new, a_out)
/* Some machines count the header as part of the text segment.
That is to say, the header appears in core
just before the address that start_of_text
()
returns.
just before the address that start_of_text returns.
For them, N_TXTOFF is the place where the header goes.
We must adjust the seek to the place after the header.
Note that at this point hdr.a_text does *not* count
...
...
@@ -912,7 +911,7 @@ copy_text_and_data (new, a_out)
/* Acorn's RISC-iX has a wacky way of initialising the position of the heap.
* There is a little table in crt0.o that is filled at link time with
* the min and current brk positions, among other things. When start
()
* the min and current brk positions, among other things. When start
* runs, it copies the table to where these parameters live during
* execution. This data is in text space, so it cannot be modified here
* before saving the executable, so the data is written manually. In
...
...
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