public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* illegal symbol index in reloc
@ 2003-06-25 16:56 Shaun Jackman
  2003-06-25 21:39 ` Shaun Jackman
  0 siblings, 1 reply; 2+ messages in thread
From: Shaun Jackman @ 2003-06-25 16:56 UTC (permalink / raw)
  To: binutils

I am getting the error message "illegal symbol index in reloc".

/tools/wince/lib/gcc-lib/arm-wince-pe/3.2/../../../../arm-wince-pe/bin/ld: /tools/wince/lib/gcc-lib/arm-wince-pe/3.2/../../../../arm-wince-pe/lib/libc.a(startup.o): illegal symbol index in reloc: 14942211

What causes this error, and what does it mean? Is it indicative of an
unhealthy binutils, or an unhealthy gcc? Where should I start debugging?

Thanks,
Shaun


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: illegal symbol index in reloc
  2003-06-25 16:56 illegal symbol index in reloc Shaun Jackman
@ 2003-06-25 21:39 ` Shaun Jackman
  0 siblings, 0 replies; 2+ messages in thread
From: Shaun Jackman @ 2003-06-25 21:39 UTC (permalink / raw)
  To: binutils

I found the source of my problem. ARM_COFF_BUGFIX must be defined for
arm-wince-pe. A patch follows.

Cheers,
Shaun


diff -ur binutils-2.14-/bfd/config.bfd binutils-2.14/bfd/config.bfd
--- binutils-2.14-/bfd/config.bfd	2003-06-17 15:57:35.000000000 -0600
+++ binutils-2.14/bfd/config.bfd	2003-06-17 16:03:02.000000000 -0600
@@ -169,7 +169,7 @@
     targ_defvec=armpe_little_vec
     targ_selvecs="armpe_little_vec armpe_big_vec armpei_little_vec armpei_big_vec"
     targ_underscore=no
-    targ_cflags=-DARM_WINCE
+    targ_cflags="-DARM_WINCE -DARM_COFF_BUGFIX"
     ;;
   arm-*-pe*)
     targ_defvec=armpe_little_vec


On Wed, 2003-06-25 at 10:33, Shaun Jackman wrote:
> I am getting the error message "illegal symbol index in reloc".
> 
> /tools/wince/lib/gcc-lib/arm-wince-pe/3.2/../../../../arm-wince-pe/bin/ld: /tools/wince/lib/gcc-lib/arm-wince-pe/3.2/../../../../arm-wince-pe/lib/libc.a(startup.o): illegal symbol index in reloc: 14942211
> 
> What causes this error, and what does it mean? Is it indicative of an
> unhealthy binutils, or an unhealthy gcc? Where should I start debugging?
> 
> Thanks,
> Shaun


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-06-25 21:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-06-25 16:56 illegal symbol index in reloc Shaun Jackman
2003-06-25 21:39 ` Shaun Jackman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).