Ben,
I'm using prcExplorer to see the size of the data segments. When I look at the data block using prcExplorer there is a 0 and a 1 segment.
In the version that is correct the 0 segment shows a size of 10573 bytes and the 1 shows 58744. It is very similar to show the various code segments appear as 0, 1, etc.
OK, I'd not mentioned CodeWarrior's expanded mode. This causes the creation of a second data segment.
When I did the diff these are the only lines that differed, once I grepped out all the differing file names and some address offsets.
In good file: Data section below A4: 32768 bytes Data section above A4: 5870 bytes
In bad file: Data section below A4: 32768 bytes Data section above A4: 11236 bytes
I'm definitely getting an error on this dragging the .prc into the Simulator.
I think this is a V8.3 bug... there are a lot of expanded mode fixes in V9, and it's pretty stable in V9.3. I seem to remember a problem with an optimization that could cause misallocation of data in V8.3.
-- Ben Combee, DTS technical lead, PalmSource, Inc. Read "Combee on Palm OS" at http://palmos.combee.net/
-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
