caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* camlot-patches
@ 1993-06-24 12:51 
  0 siblings, 0 replies; only message in thread
From:  @ 1993-06-24 12:51 UTC (permalink / raw)
  To: caml-redistribution

  Here are some useful patches to the first release of Camlot v5:

*** Include/config.sparc	Wed Jun 23 14:13:13 1993
--- Include/config.sparc~	Wed Jun 23 14:13:12 1993
***************
*** 44,50 ****
  #define DATAMAX struct rlimit rl; \
                  char* datamax; \
  		getrlimit(RLIMIT_DATA, &rl); \
!                 datamax = (char*)&etext + rl.rlim_cur;
  
  /* comment out if stack grows down */
  /*#define STACKGROWSUP*/
--- 44,50 ----
  #define DATAMAX struct rlimit rl; \
                  char* datamax; \
  		getrlimit(RLIMIT_DATA, &rl); \
!                 datamax = etext + rl.rlim_cur;
  
  /* comment out if stack grows down */
  /*#define STACKGROWSUP*/


*** Include/config.dec3100	Fri Jun 18 12:28:52 1993
--- Include/config.dec3100~	Wed Jun 16 15:23:26 1993
***************
*** 42,50 ****
  /* maximum end of data segment */
  extern void *__data_start;
  #define DATAMAX struct rlimit rl; \
-                 char* datamax; \
                  getrlimit(RLIMIT_DATA, &rl); \
!                 datamax = (char*)0x10000000 + rl.rlim_cur;
  
  /* comment out if stack grows down */
  /*#define STACKGROWSUP*/
--- 42,49 ----
  /* maximum end of data segment */
  extern void *__data_start;
  #define DATAMAX struct rlimit rl; \
                  getrlimit(RLIMIT_DATA, &rl); \
!                 char* datamax = (char*)0x10000000 + rl.rlim_cur;
  
  /* comment out if stack grows down */
  /*#define STACKGROWSUP*/

*** Linker/link.ml	Fri Jun 18 14:55:59 1993
--- Linker/link.ml~	Fri Jun 18 14:55:59 1993
***************
*** 21,27 ****
  ;;
  
  let link lib objects exec =
!     let z2k2_main = path_tmp ^ "#camlot_" ^ (basename exec) in
      let main_k2 = open_out (z2k2_main ^ ".k2")
      and modules = assoc lib default_used_implementations in
      let out s = output_string main_k2 s
--- 21,27 ----
  ;;
  
  let link lib objects exec =
!     let z2k2_main = path_tmp ^ "#camlot_" ^ exec in
      let main_k2 = open_out (z2k2_main ^ ".k2")
      and modules = assoc lib default_used_implementations in
      let out s = output_string main_k2 s

*** GC/gc.c	Wed Jun 23 14:16:25 1993
--- GC/gc.c~	Wed Jun 23 14:16:24 1993
***************
*** 1003,1009 ****
  #ifdef STACKGROWSUP    
       for(p = stack_top; p >= stack_bottom; p--)
  #else
!      for(p = stack_top; p <= stack_bottom; p++)
  #endif
         {
             CheckStackReference((void *)p);
--- 1003,1009 ----
  #ifdef STACKGROWSUP    
       for(p = stack_top; p >= stack_bottom; p--)
  #else
!      for(p = stack_bottom; p <= stack_top; p++)
  #endif
         {
             CheckStackReference((void *)p);


		Re'gis Cridlig



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1993-06-24 12:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1993-06-24 12:51 camlot-patches 

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).