gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

Coding > Link Errors about jumps too far, no files mentioned! [SDT]

#91706 - Dwedit - Sat Jul 08, 2006 11:25 pm

I'm trying to build a project (namely PocketNES) with the origin address in ROM. Except the compiler (arm sdt) is giving an extremely unhelpful error:

Error: armlink... Relocated value too big for instruction sequence.

And it's not pointing out where the error is at all. Previously, it gave errors which included the object filename, and hex offset, so you could find the instructions in the .lst file, but this time, it's not doing that. I already fixed all the jumps for which it gave .o filenames and offsets.

Any idea of how I would go about finding the error?
Or should I just switch the code over to GCC?
_________________
"We are merely sprites that dance at the beck and call of our button pressing overlord."

#91716 - tepples - Sun Jul 09, 2006 12:12 am

A GCC port is probably warranted by now, as more people can afford devkitPro than the ARM SDT/ADS.
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.