Help -- adding a new module to a previously working app has produced a
strange link error. 

The link command line is "m68k-palmos-coff-gcc -O1 NavCalc.o NavCalc1.o
NavCalc2.o NavCalc3.o NavCalc4.o PalmUtil.o  -o NavCalc".  The error
response is "region coderes is full (NavCalc section .text)"

However, using objdump to check the code sizes of each module shows a total
of only 0x6960 or about 27K.  Here are the relevant sections from the
objdump output of each of the .o files are:

Sections:
Idx Name    Size      VMA       LMA       File off  Algn
0 .text     00000f80  00000000  00000000  0000008c  2**2
0 .text     00001eb6  00000000  00000000  0000008c  2**2
0 .text     0000186c  00000000  00000000  0000008c  2**2
0 .text     00001602  00000000  00000000  0000008c  2**2
0 .text     00000374  00000000  00000000  0000008c  2**2
0 .text     00000948  00000000  00000000  0000008c  2**2

Any GCC guru out there got any ideas???

Regards, Nick

Reply via email to