Umesh Kalappa umesh.kalap...@gmail.com writes:
Hi All ,
We are porting gcc4.8.1 to the new target and we created the new
.rodata section w.r.t flags by get_unnamed_section() .
Now we need to associate the global %object data of type .word or
.byte to the created .rodata section and also we need to emit the
.rodata section in the asm file .
Anyone can share their experice or some inputs or reference for the
same will be appreciated.
Thank you for the patience.
I'm not sure what the properties of this new section are compared to
plain .rodata, but you can select a section using hooks like
TARGET_ASM_SELECT_SECTION.
Thanks,
Richard