* autoload.cc (LoadDllprime): Scrap use of .linkonce and just use an ifdef
guard to load .foo_init into data segment. * dcrt0.cc (initial_env): Allow colon or space as CYGWIN_DEBUG separator for consistency.
This commit is contained in:
parent
35b4534efe
commit
491e84c601
|
@ -1,3 +1,11 @@
|
|||
2005-03-10 Christopher Faylor <cgf@timesys.com>
|
||||
|
||||
* autoload.cc (LoadDllprime): Scrap use of .linkonce and just use an
|
||||
ifdef guard to load .foo_init into data segment.
|
||||
|
||||
* dcrt0.cc (initial_env): Allow colon or space as CYGWIN_DEBUG
|
||||
separator for consistency.
|
||||
|
||||
2005-03-09 Christopher Faylor <cgf@timesys.com>
|
||||
|
||||
* pinfo.h (pinfo::pinfo): Clear more elements in the constructor.
|
||||
|
|
|
@ -56,14 +56,18 @@ details. */
|
|||
additional initialization routine to call prior to calling the first
|
||||
function. */
|
||||
#define LoadDLLprime(dllname, init_also) __asm__ (" \n\
|
||||
.section ." #dllname "_info,\"w\" \n\
|
||||
.linkonce \n\
|
||||
.ifndef " #dllname "_primed \n\
|
||||
.data \n\
|
||||
.align 4 \n\
|
||||
."#dllname "_info: \n\
|
||||
.long _std_dll_init \n\
|
||||
.long 0 \n\
|
||||
.long -1 \n\
|
||||
.long " #init_also " \n\
|
||||
.asciz \"" #dllname "\" \n\
|
||||
.text \n\
|
||||
.set " #dllname "_primed, 1 \n\
|
||||
.endif \n\
|
||||
");
|
||||
|
||||
/* Create a "decorated" name */
|
||||
|
|
|
@ -552,7 +552,7 @@ initial_env ()
|
|||
len = GetModuleFileName (NULL, buf1, CYG_MAX_PATH);
|
||||
strlwr (buf1);
|
||||
strlwr (buf);
|
||||
char *p = strchr (buf, ':');
|
||||
char *p = strpbrk (buf, ":=");
|
||||
if (!p)
|
||||
p = (char *) "gdb.exe -nw";
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue