On 2006-08-22, JamesSturdevant <[EMAIL PROTECTED]> wrote: > > ... <snip> .... > > And since I'm asking, can someone explain what I'm not understanding in > this part of the map? I have defined a number of segments: main (all of > AppMain except PilotMain), list (DataList), tdoc(TextDoc), and strx > (StringExtension). It looks to me like space is still being used in the > first segment for the other segments. > > .text 0x00000000 0x9904 > *(.text) > .text 0x00000000 0x98 /usr/m68k-palmos/lib/crt0.o > 0x00000000 start > .text 0x00000098 0x94 /usr/m68k-palmos/lib/gdbstub.o > .text 0x0000012c 0x58 src/AppMain.o > 0x0000012c PilotMain > .text 0x00000184 0x1d86 src/DataList.o > *fill* 0x00001f0a 0x2 00 > .text 0x00001f0c 0x1c58 src/TextDoc.o > .text 0x00003b64 0x2a2a src/StringExtension.o > *fill* 0x0000658e 0x2 00 > .text 0x00006590 0x4 multiple_code_sections.o > 0x00006590 _GccRelocateData > .text 0x00006594 0x812 > /usr/lib/gcc-lib/m68k-palmos/2.95.3-kgpd/libgcc.a(_eh.o) > 0x000065ac __throw_type_match > 0x00006624 __get_eh_info > 0x00006d14 __rethrow > 0x00006616 __get_eh_context > 0x00006682 __sjthrow > 0x00006c8c __throw > > ... > > .text 0x000098cc 0x26 > /usr/m68k-palmos/lib/libcrt.a(reloc_chain.o) > 0x000098cc _RelocateChain > 0x000098f4 . = ALIGN (0x4) > *fill* 0x000098f2 0x2 00 > 0x000098f4 bhook_start = . > *(bhook) > bhook 0x000098f4 0x4 /usr/m68k-palmos/lib/gdbstub.o > > ... <snip> ...
My guess is that DataList.o, TextDoc.o and StringExtension.o contain processed template code from the STL which ends up in the .text section (eventually the code 1 resource). Check the individual object files with m68k-palmos-objdump. Do m68k-palmos-objdump --help for quick help. For more info look in the binutils documentation for objdump. Ton van Overbeek -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
