Question regarding getting .rodata into the .data section instead of .text

Paul Brook
Tue Jul 3 20:37:00 GMT 2007

On Tuesday 03 July 2007, Andreas Schwab wrote:
> "Richmond Tuttle" <> 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.


More information about the Gcc mailing list