ld cleanups

Ian Lance Taylor ian@airs.com
Fri Jan 21 02:18:00 GMT 2005


"Ben Elliston" <bje@au1.ibm.com> writes:

> @@ -2314,23 +2296,6 @@ open_input_bfds (lang_statement_union_ty
>  static void
>  lang_reasonable_defaults (void)
>  {
> -#if 0
> -  lang_output_section_statement_lookup (".text");
> -  lang_output_section_statement_lookup (".data");
> -
> -  default_common_section = lang_output_section_statement_lookup (".bss");
> -
> -  if (!placed_commons)
> -    {
> -      lang_wild_statement_type *new =
> -      new_stat (lang_wild_statement,
> -		&default_common_section->children);
> -
> -      new->section_name = "COMMON";
> -      new->filename = NULL;
> -      lang_list_init (&new->children);
> -    }
> -#endif
>  }

Just remove the whole function, and the call to it.

> -#if 0 /* Enable this once we split millicode stuff from libgcc.  */
> -  else
> -    lang_add_input_file ("milli",
> -			 lang_input_file_is_l_enum,
> -			 NULL);
> -#endif

Hmmm.  Keep at least a comment here.

Otherwise OK.

Thanks.

Ian



More information about the Binutils mailing list