On 01/25/2011 03:06 AM, Stefano Bonifazi wrote: >> start_brk 0x00000000 >> end_code 0x400102e0 >> start_code 0x40000000 >> start_data 0x4001024c >> end_data 0x400102e0 >> start_stack 0x40811438 >> brk 0x400102e4 >> entry 0x40828c24 > that is start_brk is 0 > As far as I understood brk is the .bss section, that is unitialized data > area, am I right?
Not quite. It's normally the beginning of the heap, after the bss section. That said, it looks like start_brk is a dead variable. It's written only by the FLAT loader, and nothing at all reads it, except for this debugging dump. The "real" value is the "brk" variable, which is indeed set to a plausible looking value. r~