aboutsummaryrefslogtreecommitdiffstats
path: root/src/unexec.c
Commit message (Collapse)AuthorAgeFilesLines
* Add arch taglinesMiles Bader2003-09-011-0/+3
|
* Comment change.Richard M. Stallman2003-05-191-1/+1
|
* Trailing whitespace deleted.Juanma Barranquero2003-02-041-4/+4
|
* *** empty log message ***Richard M. Stallman2001-12-111-1/+1
|
* Don't include coff.h unless HAVE_COFF_H is defined.Eli Zaretskii2001-11-161-1/+1
|
* (write_segment) [USE_CRT_DLL]: Remove unnecessaryAndrew Innes2000-08-221-0/+2
| | | | extern, which screws up dllimport attributes.
* (toplevel): Fix last change, so as not to deprive MSDOSEli Zaretskii2000-06-151-12/+8
| | | | of its headers.
* (toplevel) [COFF]: Include coff.h.Gerd Moellmann2000-06-141-0/+4
|
* [COFF]: New variable coff_offset.Richard M. Stallman1998-06-291-4/+31
| | | | | | (make_hdr) [MSDOS]: If a_name is a coff-go32-exe executable with a prepended stub, compute coff_offset. (make_hdr, copy_sym) [COFF]: Use coff_offset when seeking into temacs.
* (copy_text_and_data) [DJGPP >= 2]: Switch off two bitsKarl Heuer1996-07-191-0/+10
| | | | | | in `_crt0_startup_flags' so they don't go into the dumped Emacs. Restore the value of `_crt0_startup_flags' after .text and .data were dumped.
* [DJGPP v2]: Include fcntl.h.Richard M. Stallman1996-04-101-0/+18
| | | | (copy_text_and_data) [DJGPP v2]: Call __djgpp_exception_toggle.
* Update FSF's address in the preamble.Erik Naggum1996-01-151-1/+2
|
* Comment fixes.Karl Heuer1996-01-051-2/+2
|
* (write_segment): Write valid data in units of 1<<13,Richard M. Stallman1995-10-081-5/+18
| | | | but write zeros only a page at a time.
* (write_segment): Use pagesize as unit of writing instead of 128.Richard M. Stallman1995-10-031-4/+5
|
* Comment changes.Richard M. Stallman1994-10-261-5/+4
|
* (make_hdr): Undo June 16 change.Richard M. Stallman1994-10-061-2/+3
|
* Don't test CANNOT_UNEXEC.Richard M. Stallman1994-09-241-4/+0
|
* (copy_text_and_data): Delete some printf's.Richard M. Stallman1994-09-231-3/+0
|
* (copy_text_and_data): Add RISCiX changes.Richard M. Stallman1994-09-231-0/+86
|
* (make_hdr): Handle case of no "additional header".Richard M. Stallman1994-06-161-1/+4
|
* Include <sys/file.h> and [USG5] <fcntl.h> to define O_* macros.Roland McGrath1994-06-161-4/+24
| | | | | | | | | | (O_RDONLY, O_RDWR): Define if undefined. [emacs] (report_error): Use report_file_error so the user can tell what the errno code was. (unexec): Use O_RDONLY instead of explicit 0. (make_hdr): Don't undo A_TEXT_OFFSET adjustment #ifndef NO_REMAP, since it was never adjusted earlier #ifndef NO_REMAP. (adjust_lnnoptrs): Use O_RDWR instead of explicit 2.
* [MSDOS]: Don't include files from the dos extenderRichard M. Stallman1994-05-221-10/+9
| | | | | | and debugger. Use the <coff.h> that was put in the right place a couple of djgpp versions ago. Consequently, use `unsigned short' for `word16' and `unsigned long' for `word32'.
* Update copyright.Karl Heuer1994-05-041-1/+1
|
* [MSDOS]: Don't #include <a.out.h>, but use other headers.Richard M. Stallman1994-01-081-1/+40
| | | | | | | (make_hdr) [MSDOS]: Cast a pointer for bzero. (write_segment) [EFAULT]: Check for before using. (adjust_lnnoptrs) [MSDOS]: Use provided descriptor. (adjust_lnnoptrs): Return 0 if ok.
* [! HPUX]: Don't declare sbrk at all, so as not to conflict with headers.Roland McGrath1993-11-111-2/+9
|
* Include <config.h> instead of "config.h".Roland McGrath1993-09-101-1/+1
|
* (make_hdr): Use & in call to bzero.Richard M. Stallman1993-07-281-1/+1
|
* * unexec.c [HPUX] (sbrk): This returns a void *.Jim Blandy1993-06-161-1/+5
|
* Apply typo patches from Paul Eggert.Jim Blandy1993-06-091-2/+2
|
* Some more changes from Michael K. Johnson for Linux.Jim Blandy1993-05-201-1/+1
| | | | | | | | | | | | | | | | | * s/template.h: Mention that you should #define HAVE_TERMIO or HAVE_TERMIOS, but not both, and that HAVE_TERMIOS is preferred. * systty.h (EMACS_SET_TTY_PGRP): Don't assign the return value of tcsetpgrp to *pgid; it's just a status value. * config.h.in (HAVE_RANDOM): This shouldn't be defined on Linux systems using XFree386, and perhaps is inappropriate in general. * m/intel386.h: #undefine the integer size macros, since the Linux <values.h> file #defines them itself. * mem-limits.h (get_lim_data): Linux has the ulimit call; if it fails, fall back on ULIMIT_BREAK_VALUE. * process.c: Linux needs the WAITTYPE, etc. definitions. * unexec.c (hdr, ohdr): Linux has the ordinary `struct exec' type; no need to use SYSV names. * s/linux.h: New file.
* * unexec.c (copy_text_and_data): Error message tweaked.Jim Blandy1993-03-111-1/+1
|
* (Fforward_comment): New function.Richard M. Stallman1993-02-231-6/+7
| | | | | (adjust_lnnoptrs): Handle symentry.n_type == 0x2400. (make_hdr) [USG_SHARED_LIBRARIES]: Set bias using bss_start.
* entered into RCSJim Blandy1992-04-241-0/+4
|
* *** empty log message ***Jim Blandy1992-03-141-2/+2
|
* *** empty log message ***Jim Blandy1992-01-131-2/+63
|
* Initial revisionRichard M. Stallman1991-01-291-0/+978