summaryrefslogtreecommitdiff
path: root/src/unexw32.c
Commit message (Collapse)AuthorAgeFilesLines
* Include config.h and time.h.Geoff Voelker1997-09-031-63/+172
| | | | | | | | | | | | | | | | | | Declare extern data and functions. (file_data): Move definition from w32heap.c. (_start): Add debug hook for when profiling. Spoof executable name when using profilers. Invoke sbrk immediately when undumped. (unexec): Print error messages when input and output dump files cannot be opened. Reset header checksum. (open_input_file, open_output_file): Return status instead of aborting. (get_section_size): Handle different linkers. (find_section, rva_to_section): New functions. (get_section_info) [SEPARATE_BSS_SECTION]: Make code for using a separate .bss section conditional. Use my_begbss and my_endbss to determine .bss size by default. Look for Emacs data in EMDATA section.
* Add pragma to force zero initializedGeoff Voelker1997-07-011-0/+4
| | | | data into .data segment.
* Use new names for w32 filesGeoff Voelker1996-11-191-1/+1
|
* Change identifiers of the form win32* to w32*.Geoff Voelker1996-11-191-1/+1
|
* (WinMain): Function removed.Geoff Voelker1996-05-031-47/+6
| | | | | (_start) [HAVE_NTGUI]: Don't invoke WinMain, but do set up WinMain args as crt0.c would.
* (WinMain): Allocate a console for stdoutGeoff Voelker1996-03-171-1/+23
| | | | and stderr if necessary.
* Update FSF's address in the preamble.Erik Naggum1996-01-151-15/+14
|
* Comment fixes.Karl Heuer1996-01-051-1/+1
|
* (get_bss_info_from_map_file): New function.Geoff Voelker1995-12-241-1/+55
| | | | | (get_section_info): When .bss section parameters are not in the executable, search the symbol map file for them.
* [HAVE_NTGUI] (WinMain): New procedure.Geoff Voelker1995-11-071-4/+40
| | | | | [HAVE_NTGUI] (hinst, hprevinst, lpCmdLine, nCmdShow): New variables. [HAVE_NTGUI] (_start): Invoke WinMainCRTStartup.
* (get_section_info): Set the end of the data regionGeoff Voelker1995-06-301-17/+48
| | | | | | to be just before the start of the shared library data. (read_in_bss): Read directly into memory. (map_in_heap): Read directly into memory if unable to map.
* Initial revisionKarl Heuer1995-06-151-0/+483