Wrapping gnupg for Tcl

Werner Koch wk@gnupg.org
Wed Jul 18 10:10:01 2001


On Tue, 17 Jul 2001 21:00:37 -0500, Jonathan Hayward said:


> What's the BSS? I zeroed the jmp_buf, and one other value declared as extern
A standard process has these segments: text = where the code lives data = initialized data bss = unitialized data stack = the stack ;-) All variables which are not initialized will be put into the BSS by ld, so that the startup code (which runs before main) can just zero out this area. A regular C program can always assume that the foo in static int foo; is initialized to 0. There is no need for explicit initilaization due to the fact that foo will end up in BSS. -- Werner Koch Omnis enim res, quae dando non deficit, dum habetur g10 Code GmbH et non datur, nondum habetur, quomodo habenda est. Privacy Solutions -- Augustinus