Upgrading devkitpro, linker errors

support for the ARM toolchain
Post Reply
ingramb
Posts: 2
Joined: Wed Sep 24, 2008 6:02 am

Upgrading devkitpro, linker errors

Post by ingramb » Wed Sep 24, 2008 6:09 am

(I've posted this at gbadev.org as well, but I'm hoping someone here can help)

I recently upgraded devkitpro along with a new PC from r20 to r23. Now my project won't link. This is the error I get:

arm-eabi/bin/ld.exe: section .sbss [02022854 -> 02024a53] overlaps section .itcm [02022854 -> 02029ed3]

Looking at my map file, my sbss section looks like this:

.sbss 0x0b000020 0x2200 load address 0x02022854
0x0b000020 __sbss_start = ABSOLUTE (.)
0x0b000020 __sbss_start__ = ABSOLUTE (.)
*(.sbss)
.sbss 0x0b000020 0x2200 NeoCpu.o
0x0b002220 . = ALIGN (0x4)
0x0b002220 __sbss_end = ABSOLUTE (.)

The odd thing here is the load address. It doesn't make sense to have a load address for the sbss section (I don't think). A trivial test project in r23 doesn't show a load address for the sbss. In r20, my current project doesn't have a load address for the sbss. I haven't been able to figure out what's causing this.

My project is NeoDS, and though I am working with an unreleased version, I'm fairly certain the released versions have the same problem. They can be downloaded here: http://groups.google.com/group/neods/files

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests