This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Padding between .text and .data
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