Re: [Dorset] gcc linker question - segments

2010-11-06 Thread Ralph Corderoy
Hi Tim, Found a solution to this by adding additional MEMORY clauses. Possibly not the most elegant solution but does work. Glad to hear you've a solution. I'd have guessed SUBALIGN may help but I've never tried it. http://sourceware.org/binutils/docs-2.20/ld/Forced-Input-Alignment.html

[Dorset] gcc linker question - segments

2010-11-04 Thread Tim Allen
Hi I'm using gcc for compiling m68k code and the linker is combining two sections into a single segment and padding the gap with zeros - that happens to be bad news for me. I believe the way around this is by specifying my own segments with PHDRS{} but so far all my efforts result in a Not

Re: [Dorset] gcc linker question - segments

2010-11-04 Thread Tim Allen
On 04/11/10 10:41, Tim Allen wrote: Hi I'm using gcc for compiling m68k code and the linker is combining two sections into a single segment and padding the gap with zeros - that happens to be bad news for me. I believe the way around this is by specifying my own segments with PHDRS{} but so