Re: C6X port 7/11: Cope with odd section names

2011-05-12 Thread Bernd Schmidt
On 05/10/2011 06:55 PM, Joseph S. Myers wrote: > > Unless the documentation is based on pre-existing GFDL-only documentation > in tm.texi.in, it's preferable for the documentation of a new hook to go > in the doc string in target.def and get to tm.texi that way, rather than > putting it directl

Re: C6X port 7/11: Cope with odd section names

2011-05-10 Thread Joseph S. Myers
On Tue, 10 May 2011, Bernd Schmidt wrote: > Index: doc/tm.texi.in > === > --- doc/tm.texi.in.orig > +++ doc/tm.texi.in > @@ -6976,6 +6976,12 @@ if function is in @code{.text.name}, and > otherwise. > @end deftypefn > > +@hook TARG

C6X port 7/11: Cope with odd section names

2011-05-10 Thread Bernd Schmidt
The C6X ELF ABI chooses to use ".const" rather than ".rodata" for far-readonly data. This patch adds a target hook to deal with the problem. Bernd * doc/tm.texi.in (TARGET_ASM_MERGEABLE_RODATA_PREFIX): Document. * doc/tm.texi: Regenerate. * target.def (mergeable_rodata_pre