I'm not sure this is a compiler issue (or is it?), but I hit an interesting error tonight - gplink failed with this:
warning: relocation of section ".idata" failed, relocating to a shared memory location error: linker script has no definition that matches the type of section ".idata" I'd added in some initialised data tables (arrays of floating point numbers) when it stopped... I initially thought I may have run out of RAM (it's a 3K PIC18F..) so put them in __code and that was OK, but very slow to access, then declared a new un-initialised array to live in RAM and copied them from __code to RAM in a program loop at start time... ... but isn't that what's supposed to happen anyway? (I'm linking in crt0i) or is the compiler outputting something that the linker doesn't like, or can't cope with? I'm happy with my woraround, but would be interested to know what/where the issue is. Cheers, Gordon ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Sdcc-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sdcc-user
