Karl Heuer
4461bfd37f
(round_up): Make arguments and return type unsigned.
1997-10-02 03:12:38 +00:00
Richard M. Stallman
cb1ee8118f
Test __OpenBSD__ along with __NetBSD__.
...
[__OpenBSD__]: Include sys/exec_elf.h.
1997-09-06 19:40:22 +00:00
Richard M. Stallman
89b95605b7
(unexec): Cast 1st arg in mmap calls.
1997-08-07 03:52:11 +00:00
Richard M. Stallman
e5d0f7094e
[__NetBSD__]: Add some conditionals for NetBSD.
1997-06-27 22:27:12 +00:00
Richard M. Stallman
9240b21dce
[__sony_news && _SYSTYPE_SYSV]: Include sym.h and sys/elf_mips.h.
...
(unexec): Add __sony_news && _SYSTYPE_SYSV conditionals.
Add a _nec_ews_svr4 conditional.
1997-06-27 22:08:03 +00:00
Richard M. Stallman
265b269528
unexelf1.c merged into this file.
1996-09-04 15:15:42 +00:00
Karl Heuer
d283640e03
Undo previous change.
1996-07-16 22:39:31 +00:00
Karl Heuer
9da3f2d46e
Add 64-bit ELF and Alpha/ELF support.
1996-07-15 22:00:12 +00:00
Richard M. Stallman
faee8ef030
(unexec): Round up section header offset to bss alignment
...
before deciding whether it's after the bss section.
1996-06-24 19:54:38 +00:00
Richard M. Stallman
ea083293b6
(unexec): Add conditional for SOLARIS_POWERPC.
1996-04-25 18:02:45 +00:00
Richard M. Stallman
82142eb074
Use <config.h>, not "config.h".
1996-02-18 05:22:20 +00:00
Roland McGrath
994a65f396
(unexec): Undo data relocations unconditionally, not #ifdef SOLARIS2.
1996-01-21 04:16:54 +00:00
Erik Naggum
3b7ad313e0
Update FSF's address in the preamble.
1996-01-15 09:18:04 +00:00
Karl Heuer
4824033924
(unexec) [SOLARIS2]: Undo relocations performed by the
...
runtime linker.
1996-01-08 22:29:48 +00:00
Karl Heuer
04f903c09a
(unexec) [UNEXEC_USE_MAP_PRIVATE]: New logic for
...
systems that don't support MAP_SHARED with PROT_WRITE.
1995-05-16 01:46:20 +00:00
Karl Heuer
8c1e9afe7a
(unexec): Fix type mismatch.
1995-05-12 00:12:57 +00:00
Richard M. Stallman
85b2e0ee88
(unexec): Adjust the file offset of sections located
...
after the section header table.
1995-03-13 23:12:41 +00:00
Richard M. Stallman
92b522930e
Include config.h.
1994-10-13 03:41:14 +00:00
Richard M. Stallman
8917361f1f
(unexec): Don't alter the info field of SHT_SYMTAB and SHT_DYNSYM sections.
1994-08-23 21:35:23 +00:00
Richard M. Stallman
8bf761ce6f
Eliminate local var bss_end.
...
Update the symbol values of _edata and _end.
1994-08-20 00:48:16 +00:00
Richard M. Stallman
d8858cfe4a
(ELF_BSS_SECTION_NAME): New macro (config.h may override).
...
(unexec): Use it.
1994-02-24 05:40:30 +00:00
Richard M. Stallman
d7cb42c349
(unexec): Add casts for some comparisons.
...
(PATCH_INDEX): Likewise.
1993-08-10 01:32:23 +00:00
Richard M. Stallman
e40c4104bb
(unexec): Move data2 section header up so all section
...
headers will be in ascending order. This will prevent the unexeced
emacs that being processed by other applications (such as strip)
to fail.
Handle rounding of section boundaries.
(round_up): New function.
1993-03-03 09:03:06 +00:00
Jim Blandy
d427b66a66
entered into RCS
1992-01-13 21:48:03 +00:00