summaryrefslogtreecommitdiff
path: root/src/unexec.c
Commit message (Collapse)AuthorAgeFilesLines
* 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