diff options
author | Christopher Faylor <me@cgf.cx> | 2000-10-16 23:55:58 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2000-10-16 23:55:58 +0000 |
commit | 166b2571ce446b4085d4c2067b0d0d36c608f131 (patch) | |
tree | 097f18452160a8058924634fa52d5e454e8dfe9e /winsup/cygwin/Makefile.in | |
parent | d9d9b707185277db9c0be4eaa2ee5dba9df71fd7 (diff) | |
download | newlib-166b2571ce446b4085d4c2067b0d0d36c608f131.zip newlib-166b2571ce446b4085d4c2067b0d0d36c608f131.tar.gz newlib-166b2571ce446b4085d4c2067b0d0d36c608f131.tar.bz2 |
* Makefile.in: Remove some obsolete stuff.
* dcrt0.cc (dll_crt0_1): Call signal_fixup_after_exec where appropriate. Set
myself->uid from parent version. Just use ThreadItem Init method. Close or
store hexec_proc as appropriate.
(_dll_crt0): Store user_data->forkee here so that proper tests can be made
subsequently.
(do_exit): Remove hExeced stuff.
* environ.cc (environ_init): Accept environ count as well as environ pointer.
* environ.h: Reflect above change.
* pinfo.cc (pinfo_init): Ditto. Accept environ count.
(fixup_in_spawned_child): Remove.
* spawn.cc (spawn_guts): Move signal code to dll_crt0_1. Don't suspend execing
process since it is no longer necessary. Store envc.
* exceptions.cc (signal_fixup_after_exec): New function.
(call_handler): Remove hExeced test.
* child_info.h (cygheap_exec_info): Store envc as well as envp.
(child_info_spawn): Store hexec_proc so that it can be closed in child.
* path.cc (normalize_posix_path): Avoid intermediate use of temporary cwd buf.
(normalize_win32_path): Ditto.
(cwdstuff::get_initial): Always set lock.
* sigproc.h: Remove hExeced.
* strace.cc (strace::vsprntf): Modify to accomodate for lack of hExeced.
* thread.cc (MTinterface::Init): Merge Init1 and ClearReent into this method.
(MTinterface::Init1): Eliminate.
(MTinterface::ClearReent): Eliminate.
* thread.h: Reflect above changes.
* include/sys/strace.h (strace): Make microseconds() public. Make various
functions 'regparm', throughout.
* pinfo.h (_pinfo): Inline simple signal manipulation functions. Requires
inclusion of thread.h which was removed from .cc files, where appropriate.
throughout.
* pinfo.cc: Eliminate signal manipulation functions.
(_pinfo::exit): Calculate total rusage for exiting process here.
* cygheap.cc (size2bucket): Eliminate.
(init_buckets): Ditto.
(_cmalloc): Calculate size and bits in a loop rather than going through a
function call.
(_crealloc): Use stored array index to calculate allocated size.
* spawn.cc (spawn_guts): Use _pinfo exit method to exit, calculating cpu usage.
Diffstat (limited to 'winsup/cygwin/Makefile.in')
-rw-r--r-- | winsup/cygwin/Makefile.in | 26 |
1 files changed, 6 insertions, 20 deletions
diff --git a/winsup/cygwin/Makefile.in b/winsup/cygwin/Makefile.in index a5a780e..2d2f408 100644 --- a/winsup/cygwin/Makefile.in +++ b/winsup/cygwin/Makefile.in @@ -51,7 +51,7 @@ CC:=@CC@ # FIXME: Which is it, CC or CC_FOR_TARGET? CC_FOR_TARGET:=$(CC) CFLAGS:=@CFLAGS@ -CFLAGS+=-MD +CFLAGS+=-MD -fbuiltin CXXFLAGS:=@CXXFLAGS@ # For linking mount, etc. crt0.o isn't accessable in a fresh build. @@ -84,11 +84,6 @@ RUNTEST = `if [ -f $${srcdir}/../dejagnu/runtest ] ; then \ else echo runtest; fi` RUNTESTFLAGS = -ifdef MT_SAFE -MT_SAFE_HEADERS:=thread.h -MT_SAFE_OBJECTS:=pthread.o thread.o -endif - # Parameters used in building the cygwin.dll. # We build as new-cygwin.dll and rename at install time to overcome # native rebuilding issues (we don't want the build tools to see a partially @@ -123,11 +118,11 @@ DLL_OFILES:=assert.o cygheap.o dcrt0.o debug.o delqueue.o dir.o dlfcn.o \ fhandler_random.o fhandler_raw.o fhandler_serial.o fhandler_tape.o \ fhandler_termios.o fhandler_tty.o fhandler_windows.o fhandler_zero.o \ fork.o glob.o grp.o heap.o init.o ioctl.o localtime.o malloc.o mmap.o \ - net.o ntea.o passwd.o path.o pinfo.o pipe.o poll.o regexp.o regerror.o \ - regsub.o registry.o resource.o scandir.o security.o select.o shared.o \ - signal.o sigproc.o smallprint.o spawn.o strace.o strsep.o sync.o \ - syscalls.o sysconf.o syslog.o termios.o times.o tty.o uinfo.o uname.o \ - wait.o window.o \ + net.o ntea.o passwd.o path.o pinfo.o pipe.o poll.o pthread.o regexp.o \ + regerror.o regsub.o registry.o resource.o scandir.o security.o select.o \ + shared.o signal.o sigproc.o smallprint.o spawn.o strace.o strsep.o \ + sync.o syscalls.o sysconf.o syslog.o termios.o thread.o times.o tty.o \ + uinfo.o uname.o wait.o window.o \ $(EXTRA_DLL_OFILES) $(EXTRA_OFILES) $(MT_SAFE_OBJECTS) GMON_OFILES:= gmon.o mcount.o profil.o @@ -219,15 +214,6 @@ Makefile: cygwin.din $(DEF_FILE): cygwin.din config.status $(SHELL) config.status -# .h file dependencies -# This may be overkill, but it's better than the previous situation. -# As files/dependencies are added and removed from Cygwin, please keep -# this list up to date. - -WINSUP_H:=winsup.h fhandler.h path.h shared.h \ - sigproc.h include/cygwin/version.h \ - $(MT_SAFE_HEADERS) - winsup.h: config.h ifneq (,${wildcard *.d}) |