I used to get this error when my application grew beyond the 32k
limit. Then I switched to jump islands and would still get the error if
my crt0 was placed in the wrong location.
I have never seen the error since going to multi-segment code resources.
On Wed, 26 Jul 2000, Scott Johnson wrote:
> I have a project that has been compiling with no problem for months. After
> my most recent changes, however, I get the following error messages from the
> linker when I try to compile with gcc:
>
> Copmiled without '-g':
> C:\windows\temp/ccBr5yoa.s:7189: Error: Signed .word overflow; switch may be
> too large; 32792 at 0x48b8
> repeated three times with different addresses at end.
>
> Compiled with '-g':
> /prc-tools/H-i586-cygwin32/m68k-palmos/lib/gcrt0.o(.text+0x50):crt0.c:
> relocation truncated to fit: DISP16 __do_bhook
> /prc-tools/H-i586-cygwin32/m68k-palmos/lib/gcrt0.o(.text+0x60):crt0.c:
> relocation truncated to fit: DISP16 _GdbStartDebug
> (repeats 3 more times with different functions)
>
> /prc-tools/H-i586-cygwin32/m68k-palmos/lib/libcrt.a(single_dreloc.o)(.text+0
> x30):dreloc.c: relocation truncated to fit: DISP16 start
> (repeated for four more different .o files)
>
> collect2: ld returned 1 exit status
>
> Does anyone have any idea what might be wrong? Here is my gcc command line:
>
> gcc -O0 -g -mdebug-labels main.o -o prog
>
> Any help would be much appreciated. Thanks!
> --Scott
>
>
>
>
> --
> For information on using the Palm Developer Forums, or to unsubscribe, please see
>http://www.palmos.com/dev/tech/support/forums/
>
----------------------------------------------------
Shoot-to-Win
Protect the 2nd Amendment
----------------------------------------------------
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/