summaryrefslogtreecommitdiff
path: root/src/unexnext.c
Commit message (Collapse)AuthorAgeFilesLines
* Comment change.Richard M. Stallman1997-09-021-1/+3
|
* Include unistd.h instead of libc.h.Richard M. Stallman1997-09-021-1/+2
|
* Include <mach-o/reloc.h>.Richard M. Stallman1997-01-101-1/+79
| | | | | | | | | | | | (fgrowth): Initialize to zero. (vmaddr_growth, dataseg_vmaddr, dataseg_vmend): New variables. [NS_TARGET] (extreloff, nextrel, dysymtab, reloc_info): New variables. (unexec_doit): Adjust file offsets of segments that follow the enlarged data segment. Adjust vmaddr of the SEG_LINKEDIT segment that follows the data segment. [NS_TARGET] (unexec_doit): Adjust file offsets in the LC_DYSYMTAB load command that follows the data segment. Zero out relocation entries that fall within the data segment.
* Update FSF's address in the preamble.Erik Naggum1996-01-151-1/+2
|
* (get_data_region): Add cast to avoid warning.Richard M. Stallman1993-08-131-1/+1
|
* Changes for Emacs 19 from Thorsten Ohl <ohl@chico.harvard.edu>:Jim Blandy1993-05-041-9/+6
| | | | | | | | | | | | | | | | | | | | * s/mach2.h: copied from the Emacs 18.59 distribution. Don't define NO_REMAP, define START_FILES as `pre-crt0.o' instead. Define LIB_MATH as `-lm', to override the default `-lm -lc' (there is no libc on the NeXT). * ymakefile (STARTFILES): Allow config.h to set this value even if ORDINARY_LINK is defined. * unexnext.c: Fix subdirectories for the machine dependent include files for NeXTStep 3.0; #include <mach/mach.h> and <mach-o/loader.h> instead of <mach.h> and <sys/loader.h>. (getsectbyname): Remove prototype for this; the system #include files take care of that. (malloc_cookie): New variable. (unexec_doit): Set malloc_cookie to the result returned by malloc_freezedry. * emacs.c (main): Declare malloc_cookie to be extern, so that we can get the value set when we dumped and pass it to malloc_jumpstart. * systime.h: The NeXT has a timezone function.
* entered into RCSRichard M. Stallman1992-10-061-0/+433