Eric Andersen преди 22 години
родител
ревизия
4971b11759
променени са 4 файла, в които са добавени 20 реда и са изтрити 5 реда
  1. 5 0
      extra/Configs/Config.cross.arm.uclinux
  2. 5 0
      extra/Configs/Config.m68k
  3. 5 0
      extra/Configs/Config.m68k.coff
  4. 5 5
      extra/Configs/Config.sparc

+ 5 - 0
extra/Configs/Config.cross.arm.uclinux

@@ -102,6 +102,11 @@ MALLOC = malloc-simple
 #MALLOC = malloc 
 #MALLOC = malloc-930716
 
+# Having brk allows one to use malloc-930716, which is an order
+# of magnitude faster then "malloc" for most allocations, but 
+# will do very bad things on MMU-less systems...
+EXCLUDE_BRK=true
+
 # If you want to collect common syscall code into one function, set to this to
 # `true'.  Set it to false otherwise.
 # On i386 this saves about than 2.8k over all syscalls.

+ 5 - 0
extra/Configs/Config.m68k

@@ -102,6 +102,11 @@ MALLOC = malloc-simple
 #MALLOC = malloc 
 #MALLOC = malloc-930716
 
+# Having brk allows one to use malloc-930716, which is an order
+# of magnitude faster then "malloc" for most allocations, but 
+# will do very bad things on MMU-less systems...
+EXCLUDE_BRK=true
+
 # If you want to collect common syscall code into one function, set to this to
 # `true'.  Set it to false otherwise.
 # On i386 this saves about than 2.8k over all syscalls.

+ 5 - 0
extra/Configs/Config.m68k.coff

@@ -102,6 +102,11 @@ MALLOC = malloc-simple
 #MALLOC = malloc 
 #MALLOC = malloc-930716
 
+# Having brk allows one to use malloc-930716, which is an order
+# of magnitude faster then "malloc" for most allocations, but 
+# will do very bad things on MMU-less systems...
+EXCLUDE_BRK=true
+
 # If you want to collect common syscall code into one function, set to this to
 # `true'.  Set it to false otherwise.
 # On i386 this saves about than 2.8k over all syscalls.

+ 5 - 5
extra/Configs/Config.sparc

@@ -99,13 +99,13 @@ LOCALE_DIR = "/usr/share/uClibc-locale/"
 # It is actually smaller than "malloc", at least on i386.  Right now, it
 # only works on i386 (and maybe m68k) because it needs sbrk.
 #MALLOC = malloc-simple
-MALLOC = malloc 
-#MALLOC = malloc-930716
+#MALLOC = malloc 
+MALLOC = malloc-930716
 
-# This architecture currently does not implement the brk syscall
 # Having brk allows one to use malloc-930716, which is an order
-# of magnitude faster then "malloc" for most allocations....
-EXCLUDE_BRK=true
+# of magnitude faster then "malloc" for most allocations, but 
+# will do very bad things on MMU-less systems...
+EXCLUDE_BRK=false
 
 # If you want to collect common syscall code into one function, set to this to
 # `true'.  Set it to false otherwise.