This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils 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: ld cleanups


"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


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