On Mon, Feb 7, 2011 at 2:35 AM, Mike Stump <mikest...@comcast.net> wrote:
> So, in c-common.c we have:
>
>  targetm.init_builtins ();
>  build_common_builtin_nodes ();
>
> and in f95-1.c we have:
>
>  build_common_builtin_nodes ();
>  targetm.init_builtins ();

They are "unordered", thus, targetm.init_builtins is supposed to initialize
target specific builtins only.

> I would like to change c-common.c to match fortran, so that the target hook 
> can slightly alter (rename) the linkage name of some of the common builtin 
> nodes.  If that answer is no, what's the best way to get __divdc3 renamed?

I would say add a new hook that can be called from build_common_builtin_nodes
instead.

Richard.

Reply via email to