Re: [TESTING]: one more boot2 shrinking patch

2011-03-10 Thread John Baldwin
On Wednesday, March 09, 2011 6:24:36 pm Dimitry Andric wrote: On 2011-03-09 14:23, John Baldwin wrote: gcc nor clang emits any code to initialize static type foo = 0; because it's expected that BSS is zeroed, which is not the case in boot2 so we have to initialize that explicitly It used

Re: [TESTING]: one more boot2 shrinking patch

2011-03-10 Thread Roman Divacky
On Thu, Mar 10, 2011 at 09:20:58AM -0500, John Baldwin wrote: On Wednesday, March 09, 2011 6:24:36 pm Dimitry Andric wrote: On 2011-03-09 14:23, John Baldwin wrote: gcc nor clang emits any code to initialize static type foo = 0; because it's expected that BSS is zeroed, which is not the

Re: [TESTING]: one more boot2 shrinking patch

2011-03-10 Thread Matthew Fleming
On Thu, Mar 10, 2011 at 8:37 AM, Roman Divacky rdiva...@freebsd.org wrote: On Thu, Mar 10, 2011 at 09:20:58AM -0500, John Baldwin wrote: On Wednesday, March 09, 2011 6:24:36 pm Dimitry Andric wrote: On 2011-03-09 14:23, John Baldwin wrote: gcc nor clang emits any code to initialize static

Re: [TESTING]: one more boot2 shrinking patch

2011-03-10 Thread John Baldwin
On Thursday, March 10, 2011 11:58:30 am Matthew Fleming wrote: On Thu, Mar 10, 2011 at 8:37 AM, Roman Divacky rdiva...@freebsd.org wrote: On Thu, Mar 10, 2011 at 09:20:58AM -0500, John Baldwin wrote: On Wednesday, March 09, 2011 6:24:36 pm Dimitry Andric wrote: On 2011-03-09 14:23, John

Re: [TESTING]: one more boot2 shrinking patch

2011-03-09 Thread John Baldwin
On Tuesday, March 08, 2011 3:52:12 pm Roman Divacky wrote: On Tue, Mar 08, 2011 at 09:19:31PM +0100, Fabian Keil wrote: Roman Divacky rdiva...@freebsd.org wrote: this diet patch http://lev.vlakno.cz/~rdivacky/boot2-final-diet.patch includes these changes:

Re: [TESTING]: one more boot2 shrinking patch

2011-03-09 Thread Dimitry Andric
On 2011-03-09 14:23, John Baldwin wrote: gcc nor clang emits any code to initialize static type foo = 0; because it's expected that BSS is zeroed, which is not the case in boot2 so we have to initialize that explicitly It used to be that if you explicitly initialized a variable to 0, it was

[TESTING]: one more boot2 shrinking patch

2011-03-08 Thread Roman Divacky
hi, this diet patch http://lev.vlakno.cz/~rdivacky/boot2-final-diet.patch includes these changes: o bunch of variables are turned into uint8_t o initial setting of namep[] in lookup() is removed as it's only overwritten a few lines down

Re: [TESTING]: one more boot2 shrinking patch

2011-03-08 Thread Fabian Keil
Roman Divacky rdiva...@freebsd.org wrote: this diet patch http://lev.vlakno.cz/~rdivacky/boot2-final-diet.patch includes these changes: o bunch of variables are turned into uint8_t o initial setting of namep[] in lookup() is removed

Re: [TESTING]: one more boot2 shrinking patch

2011-03-08 Thread Roman Divacky
On Tue, Mar 08, 2011 at 09:19:31PM +0100, Fabian Keil wrote: Roman Divacky rdiva...@freebsd.org wrote: this diet patch http://lev.vlakno.cz/~rdivacky/boot2-final-diet.patch includes these changes: o bunch of variables are turned into uint8_t