summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/cygwin.sc
Commit message (Collapse)AuthorAgeFilesLines
* * cygwin.sc: Raise default cygheap size to 2 Megs.Corinna Vinschen2011-03-181-1/+1
|
* * cygwin.sc: Set alignment of .cygheap section to 64K.Corinna Vinschen2011-02-181-0/+1
|
* * cygwin.sc: Eliminate __cygheap_mid.Christopher Faylor2011-02-111-1/+0
| | | | * cygheap.cc: Ditto.
* * cygheap.cc (_cygheap_mid): Drop unneeded section attribute.Christopher Faylor2011-02-111-5/+1
| | | | | | (cygheap_init): Just zero cygheap structure. * cygwin.sc: Keep 16 byte alignment but drop all other alignments related to cygheap. Eliminate unused __cygheap_end1.
* * cygwin.sc: Raise default cygheap size to 1 Meg. Set alignment toCorinna Vinschen2011-02-111-2/+2
| | | | standard 64K.
* * cygwin.sc: Remove unrequired and erroneous definition.Christopher Faylor2008-06-031-1/+0
|
* * cygwin.sc: Remove duplicated .debug_macinfo section.Brian Dessent2007-04-181-1/+0
| | | | * dllfixdbg: Also copy DWARF-2 sections into .dbg file.
* * cygheap.cc (_csbrk): Fix off-by-one error.Corinna Vinschen2007-01-121-1/+1
| | | | * cygwin.sc: Give .cygheap a minimum size of 512K.
* * cygwin.sc: Make sure there's something in the cygheap.Christopher Faylor2006-07-141-0/+1
| | | | | * dllfixdbg: Accommodate newer binutils which put the gnu_debuglink at the end rather than at the beginning.
* * cygwin.sc: Use simpler method to align .cygheap.Christopher Faylor2005-08-081-1/+1
| | | | | | | * dllfixdbg: Just copy .stab and .stabstr sections when making cygwin1.dbg, rather than relying on objcopy to keep only the debug sections since objcopy seems to get it wrong. * dtable.cc (build_fh_pc): Check setting fh to fhandler_nodevice for NULL, too.
* * dllfixdbg: New perl script.Christopher Faylor2005-08-081-24/+41
| | | | | | | | | * configure.in: Detect objcopy, objdump, strip. * configure: Regenerate. * Makefile.in: Pass target objcopy/objdump to new dllfixdbg script. Remove previous perl check. * cygwin.sc: Add .gnu_debuglink_overlay section for eventual replacement with .gnu_debuglink section. Revert move of cygheap to end of image.
* * Makefile.in: Warn when end of cygheap is not on 64k boundary.Christopher Faylor2005-08-071-24/+24
| | | | | * cygwin.sc: Try harder to ensure that cygheap is on a 64k boundary. Move cygheap to end of image to stop interference from unstripped debug regions.
* * autoload.cc (LoadDLLprime): Use a more descriptive name for autoload textChristopher Faylor2005-06-291-1/+1
| | | | | sections. * cygwin.sc: Ditto.
* * cygwin.sc: Place .cygwin_dll_common in a more sensible spot.Christopher Faylor2005-06-091-4/+4
|
* * cygwin.sc: Place .cygwin_dll_common.Christopher Faylor2005-06-091-0/+4
| | | | * init.cc (threadfunc_ix): Use a more common name for the section name.
* * cygwin.sc: Apparently nonloading sections need to go last.Christopher Faylor2005-06-081-24/+24
|
* * cygwin.sc: Restore resource and reloc sections and use more modern syntax forChristopher Faylor2005-06-081-4/+11
| | | | stabs sections.
* * cygwin.sc: Don't output .reloc or .rsrc sections. Clean up stuff aroundChristopher Faylor2005-06-011-4/+6
| | | | | .cygheap and use a workaround to get things working with newer (broken?) binutils.
* * cygheap.cc (cygheap_end): Remove bogus section attribute.Christopher Faylor2005-06-011-2/+1
| | | | * cygwin.sc: Make __cygheap_mid absolute. Remove unused _cygheap_foo.
* * child_info.h (child_info::cygheap_h): Delete.Christopher Faylor2005-06-011-58/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (child_info::dwProcessId): New field. * cygheap.cc (init_cheap): Delete. (dup_now): Ditto. (cygheap_setup_for_child): Ditto. (cygheap_setup_for_child_cleanup): Ditto. (cygheap_fixup_in_child): Simplify. Use new "child_copy" function to copy heap from parent. (_csbrk): Don't attempt allocation if within cygheap section. Fix so that more than one allocation will succeed. (cygheap_init): Reset possibly-nonzero region to zero. * cygheap.h (cygheap_setup_for_child): Delete declaration. (cygheap_setup_for_child_cleanup): Ditto. (cygheap_start): Define as an array. * cygwin.sc: Modernize. Remove unneeded sections. Define cygheap here. * dcrt0.cc (do_exit): Reflect argument change to close_all_files. * dtable.cc (dtable::vfork_parent_restore): Ditto. * dtable.h: Ditto. * fhandler.h: Ditto. * fork.cc (fork_copy): Call ReadProcessMemory if there is no thread (indicating that we're execing). (fork_child): Don't mess with hParent. (fork_parent): Remove hParent stuff. It happens earlier now. Remove call to cygheap_setup_for_child* stuff. (fork): Put child_info_stuff in grouped structure. Issue error if parent handle is not set. (child_copy): New function. * sigproc.cc (child_info::child_info): Put cygheap settings here. Set parent handle. (child_info::~child_info): Close parent handle if it exists. * spawn.cc (spawn_guts): Reorganize so that ciresrv is allocated at only the last minute so that cygheap changes are reflected. Delete cygheap_setup* calls. * syscalls.cc (close_all_files): Add an argument to flag when the fd entry should be released. * winsup.h (close_all_files): Add an argument to close_all_files declaration. Declare child_copy.
* * cygwin.sc: Add Dwarf-2 debug sections.Corinna Vinschen2005-05-191-0/+13
|
* * cygwin.sc: Add recent changes from ld sources.Christopher Faylor2002-06-231-2/+2
| | | | | * winsup.h: Move #ifdef EXPCGF code into "winbase.h". * winbase.h: #ifdef EXPCGF code moved here from "winsup.h".
* whitespace cleanupChristopher Faylor2001-12-101-1/+1
|
* * dtable.h (not_open): Assure inline.Christopher Faylor2001-09-171-1/+1
| | | | | | * fhandler.h (operator []): Make const. * sync.cc (muto::~muto): Fix typo which stopped muto event handle from ever being closed.
* experiment.Christopher Faylor2001-09-071-1/+1
|
* * cygwin.sc: Revert to previous NO_COPY behavior.Christopher Faylor2001-08-311-1/+2
| | | | | | * winsup.h: Ditto. * sigproc.cc: Ditto. * autoload.cc: Ditto.
* minor wording change.Christopher Faylor2001-08-311-1/+1
|
* * cygwin.sc: New file -- linker script for building cygwin DLL.Christopher Faylor2001-08-311-0/+110
* Makefile.in: Use linker script to control location of cygheap. * cygheap.cc (buckets): Make static. (init_cheap): Remove special iswinnt handling. Allocate cygheap at a fixed location. Display more info when allocation fails. (cygheap_fixup_in_child): Try harder to move cygheap to correct location. Display more info when allocation fails. * fhandler.h (fhandler_socket): Add macros for tracking socket shutdown state. * net.cc (cygwin_shutdown): Set appropriate shutdown value for future use. * select.cc (select_stuff::cleanup): New method. (cygwin_select): Call cleanup explicitly to avoid a race. (select_stuff:~select_stuff): Call cleanup chain via cleanup method. (fhandler_socket::select_read): Set *_ready when shutdown has been called on the socket. (fhandler_socket::select_write): Ditto. (fhandler_socket::select_except): Ditto. * winsup.h: Move NO_COPY to "COMMON" section. * autoload.cc (wsock_started): Avoid initializing NO_COPY value. * sigproc.cc: Remove initialization from NO_COPY variables. (sigproc_init): Initialize sig_loop_wait here, rather than via initialization. (subproc_init): Initialize proc_loop_wait here, rather than via initialization.