Padding between .text and .data

Ian Lance Taylor ian@airs.com
Thu Feb 16 01:20:00 GMT 2006


Shaun Jackman <sjackman@gmail.com> writes:

> I discovered this optimization, because it showed up as zeros in my
> flash image when I used objcopy -Obinary, which is an unfortunate side
> effect for me. One solution, of course, is to use a custom linker
> script. I'm currently using the default linker script though, and I'd
> rather continue doing that than maintaining my own. Any other
> suggestions?

Use the -N option.

Ian



More information about the Binutils mailing list