On 07/05/2012 07:29 AM, Nick Clifton wrote:
>  static void
> -mn10300_encode_section_info (tree decl, rtx rtl, int first ATTRIBUTE_UNUSED)
> +mn10300_encode_section_info (tree decl, rtx rtl, int first)
>  {
>    rtx symbol;
>  
> @@ -2480,6 +2488,8 @@
>  
>    if (flag_pic)
>      SYMBOL_REF_FLAG (symbol) = (*targetm.binds_local_p) (decl);
> +
> +  default_encode_section_info (decl, rtl, first);
>  }

If you replace SYMBOL_REF_FLAG with SYMBOL_REF_LOCAL_P in MN10300_GLOBAL_P,
you can eliminate this target hook entirely.


r~

Reply via email to