On Thu, 21 Aug 2003, Khaki Wizard <[EMAIL PROTECTED]> wrote:
>John Marshall wrote:
>> These are messages from build-prc, not m68k-palmos-g++.
>> Congratulations; this diagnostic is not easy to produce.
>
> Actually it is the output of obj-res.

Ah.  Well, that would be the *easy* way to produce this diagnostic.

As you have found, there is not enough information available to obj-res
for it to correctly process an executable with multiple code sections.
That is why the manual tells you to use build-prc directly on the
executable, rather than via obj-res, if you are building something
with multiple code sections.

> Could you tell me how to figure out where is 
> something like ".data+0x1998". I can't find it in the
> objdump output. Or I may use some options?

You want to look at the symbol table with "m68k-palmos-objdump -t".
However that listing is not in a particularly legible format, so it
is probably easier to look at the link map produced by linking with
"-Wl,-Map,foo.map" or to look at the symbol table with m68k-palmos-nm.
"m68k-palmos-nm foo | grep ' [dD] '" will show you just the symbols
that are defined in the initialised data section.

    John

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to