This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: support for MSVC-style sub-section merging


Second try. It still had to become atarget macro, in order to be able to
concatenate it with other string constants. Bootstrapped and tested on
i686-pc-linux-gnu. Jan

>>> "Joseph S. Myers" <jsm@polyomino.org.uk> 07.07.04 13:51:53 >>>
On Wed, 7 Jul 2004, Jan Beulich wrote:

> 2004-07-07 Jan Beulich <jbeulich@novell.com>
> 
> 	* varasm.c (MERGE_SECTIOHN_SEPARATOR): Default to '.'. Use for
                                ^typo                     ^^^ you mean
"."

> 	.rodata, .dtors, and .ctors sub-sections.

All target macros must be documented in tm.texi, as explained in
codingconventions.html.  The preference is for target hooks rather
than
target macros unless there's a plausible case for any performance
impact
from using a hook, which I don't think there is here.

-- 
Joseph S. Myers               http://www.srcf.ucam.org/~jsm28/gcc/ 
    jsm@polyomino.org.uk (personal mail)
    jsm28@gcc.gnu.org (Bugzilla assignments and CCs)

Attachment: gcc-mainline-sub-section-separator.patch
Description: Binary data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]