Question regarding getting .rodata into the .data section instead of .text
Paul Brook
paul@codesourcery.com
Tue Jul 3 20:37:00 GMT 2007
On Tuesday 03 July 2007, Andreas Schwab wrote:
> "Richmond Tuttle" <tuttle@ulticom.com> writes:
> > Is there a command option (for GCC, G++, and/or GAS) that will force
> > .rodata (like jump tables) to be located in the .data section?
>
> You can use a linker script to override the default placement.
However gcc will still use the RO data addressing model, which means it's only
of limited use.
Paul
More information about the Gcc
mailing list