CVSROOT:        /cvs/uberbaum
Module name:    winsup
Changes by:     [email protected]     2010-05-07 21:25:19

Modified files:
        cygwin         : ChangeLog Makefile.in dcrt0.cc dll_init.cc 
                         globals.cc pseudo-reloc.cc winsup.h 
        cygwin/include/cygwin: version.h 
        cygwin/include/sys: cygwin.h 
        cygwin/lib     : _cygwin_crt0_common.cc 
Added files:
        cygwin/lib     : pseudo-reloc-dummy.c 
Removed files:
        cygwin/lib     : pseudo-reloc.c 

Log message:
        * Makefile.in (DLL_OFILES): Add pseudo-reloc.o.
        * dcrt0.cc (child_info_fork::handle_fork): Call 
_pei386_runtime_relocator here.
        (dll_crt0_1): Ditto for non-fork case.
        * dll_init.cc (dll::init): Complain more in comment.  Clean up slightly.
        (dll_dllcrt0_1): Call _pei386_runtime_relocator when we know we have a
        filled-in per_process structure.
        * globals.cc (__cygwin_user_data): Accommodate new fields for
        _pei386_runtime_relocator.
        * pseudo-reloc.cc: New file adapted from old lib/pseudo-reloc.c.  
Include
        winsup.h directly.  Collapse #ifdef __CYGWIN__ into one block.  Perform 
minor
        whitespace code reformatting.
        (__report_error): Use small_printf to output error.
        (_pei386_runtime_relocator): Conditionalize for cygwin to take 
per_process
        pointer parameter.
        * winsup.h (_pei386_runtime_relocator): Declare.
        * include/cygwin/version.h
        (CYGWIN_VERSION_PER_PROCESS_API_VERSION_COMBINED): New macro.
        (CYGWIN_VERSION_USER_API_VERSION_COMBINED): Use above macro.
        (CYGWIN_VERSION_USE_PSEUDO_RELOC_IN_DLL): New macro.
        (CYGWIN_VERSION_API_MINOR): Bump to 227.
        * include/sys/cygwin.h: Remove obsolete comment.
        (per_process::unused2): Shorten.
        (per_process::pseudo_reloc_start): New field.
        (per_process::pseudo_reloc_end): Ditto.
        (per_process::image_base): Ditto.
        * lib/_cygwin_crt0_common.cc: Declare pseudo runtime externs needed for
        per_process structure.
        (_cygwin_crt0_common): Fill in pseudo_reloc runtime constants.
        * lib/pseudo-reloc-dummy.c: New file.  Dummy function to satisify ld.
        * lib/pseudo-reloc.c: Delete.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/ChangeLog.diff?cvsroot=uberbaum&r1=1.4940&r2=1.4941
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/Makefile.in.diff?cvsroot=uberbaum&r1=1.234&r2=1.235
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/dcrt0.cc.diff?cvsroot=uberbaum&r1=1.378&r2=1.379
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/dll_init.cc.diff?cvsroot=uberbaum&r1=1.74&r2=1.75
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/globals.cc.diff?cvsroot=uberbaum&r1=1.17&r2=1.18
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/pseudo-reloc.cc.diff?cvsroot=uberbaum&r1=1.4&r2=1.5
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/winsup.h.diff?cvsroot=uberbaum&r1=1.230&r2=1.231
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/include/cygwin/version.h.diff?cvsroot=uberbaum&r1=1.316&r2=1.317
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/include/sys/cygwin.h.diff?cvsroot=uberbaum&r1=1.85&r2=1.86
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/lib/pseudo-reloc-dummy.c.diff?cvsroot=uberbaum&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/lib/_cygwin_crt0_common.cc.diff?cvsroot=uberbaum&r1=1.21&r2=1.22
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/lib/pseudo-reloc.c.diff?cvsroot=uberbaum&r1=1.4&r2=NONE

Reply via email to