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: allow preferring linking against dynamic libgcc over staticone


On Wed, 7 Jul 2004, Paolo Bonzini wrote:

> I think you should go ahead with target macros, since having a hook 
> seems overkill when the target macro is actually going to return a 
> constant everywhere.

In the case of PREFER_SHARED_LIBGCC that probably makes sense.  For
MERGE_SECTION_SEPARATOR, targetm.asm_out is fairly well developed (though
not complete), and includes both constant strings as well as functions, so
I think anything new about how assembler is output should go in there.  
(Also, if having anything about how assembler is output as a hook rather
than a macro makes a measurable performance difference, either something
is very wrong about how we output assembler, or we've made extraordinary
order-of-magnitude improvements to the speed of the rest of the compiler.)

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


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