Changeset 2300


Ignore:
Timestamp:
Aug 22, 2005, 4:03:37 AM (20 years ago)
Author:
bird
Message:

Default stack size set to 1MB.
The old defaults were 8MB (emxbind) and 8KB (emxomfld).

Location:
trunk/src/emx
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/emx/ChangeLog.LIBC

    • Property cvs2svn:cvs-rev changed from 1.124 to 1.125
    r2299 r2300  
    44
    552005-08-21: knut st. osmundsen <bird-gccos2-spam@anduin.net>
     6    - emxbind, emxomfld:
     7        o Default stack size set to 1MB.
     8          The old defaults were 8MB (emxbind) and 8KB (emxomfld).
    69    - libc:
    710        o Merged the signal semaphore handling into the safe sems and
  • trunk/src/emx/src/emxbind/emxbind.h

    • Property cvs2svn:cvs-rev changed from 1.7 to 1.8
    r2299 r2300  
    5050/* This is the default value for the -k option (stack size). */
    5151
    52 #define DEFAULT_STACK_SIZE  (8*1024*1024)
     52#define DEFAULT_STACK_SIZE  (1024*1024)
    5353
    5454/* A_OUT_OFFSET is the offset from the start of the a.out file to the
  • trunk/src/emx/src/emxomf/emxomfld.c

    • Property cvs2svn:cvs-rev changed from 1.41 to 1.42
    r2299 r2300  
    146146
    147147/* The stack size, specified by the -Zstack option, in Kbyte.  If the
    148    -Zstack option is not used, this variable is 0. */
    149 static long stack_size = 0;
     148   -Zstack option is not used, this variable defaults to 1024 to match
     149   the defaults of emxbind. */
     150static long stack_size = 1024;
    150151
    151152/* The name of the linker to use.  By default, ilink is used.  This
     
    18521853  /* Add the /STACK:n option if the -Zstack option was given. */
    18531854
    1854   if (stack_size != 0 && !dll_flag)
     1855  if (!dll_flag)
    18551856    {
    18561857      sprintf (tmp, "/st:0x%lx", stack_size * 1024);
Note: See TracChangeset for help on using the changeset viewer.