There is a document called 'using ld the gnu linker'. Not exactly the document I hoped for, but useful in my struggle with linker scripts. Joep 2014-12-11 21:01 GMT+01:00 Mike Harrison : > On Thu, 11 Dec 2014 11:30:10 -0800, you wrote: > > > > >> If I had to guess, I would say that you included the .text section fro= m > >> your input file into the boot Flash area, but neglected to also includ= e > >> the .rodata section. > > > >I think you're right. I'd still like a clear understanding of linker > >scripts instead of continuing to stumble around. > > > > +10000 > > I've found it a PITA to figure out - the documentation isn't very helpfu= l > when all you want is to > make it put stuff exaclty where you want. > At the very least what would be really useful is a description of the > purpose of each bit of the > default file, in the context of how the C compiler uses it. > Another annoyance is even when you think you've managed to define a custo= m > section, the compiler > doesn't give even a warning if for some reason it decides to ignore your > instruction to place stuff > in it - it just ignores it & you have to look at the disassembly listing > to see if it's actually > done what you asked. > > > -- > http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive > View/change your membership options at > http://mailman.mit.edu/mailman/listinfo/piclist > --=20 http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .