Click to See Complete Forum and Search --> : Information in map file


zvivered
January 22nd, 2006, 01:38 PM
Where can I find documentation about the information in a map file created with Visual C++ 6.0

For example: .data , .bss , .text , .text$x, .textbss etc.

Thanks.

NoHero
January 22nd, 2006, 04:14 PM
Where can I find documentation about the information in a map file created with Visual C++ 6.0

For example: .data , .bss , .text , .text$x, .textbss etc.

Thanks.

TEXT is a code segment, read only data which should be executed.
DATA is a read/write segment in which global variables are created, hold, modified etc.
BSS (block started by symbol) is the same as DATA but it's often read only. It's meaning is compiler/linker dependend. Some use it as read only storage for constants the other's for internal compiler storage (like RTTI etc.) or for both.
And the other's - well never heard of those subforms though. I think they are VC++ specific. When I programm assembly I get by with the three I described.