public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* New .rodata section.
@ 2014-03-12 14:04 Umesh Kalappa
  2014-03-18 19:10 ` Richard Sandiford
  0 siblings, 1 reply; 2+ messages in thread
From: Umesh Kalappa @ 2014-03-12 14:04 UTC (permalink / raw)
  To: gcc

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.
~Umesh

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: New .rodata section.
  2014-03-12 14:04 New .rodata section Umesh Kalappa
@ 2014-03-18 19:10 ` Richard Sandiford
  0 siblings, 0 replies; 2+ messages in thread
From: Richard Sandiford @ 2014-03-18 19:10 UTC (permalink / raw)
  To: Umesh Kalappa; +Cc: gcc

Umesh Kalappa <umesh.kalappa0@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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-03-18 19:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-03-12 14:04 New .rodata section Umesh Kalappa
2014-03-18 19:10 ` Richard Sandiford

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).