This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: ld cleanups
- From: Ian Lance Taylor <ian at airs dot com>
- To: "Ben Elliston" <bje at au1 dot ibm dot com>
- Cc: binutils at sources dot redhat dot com
- Date: 20 Jan 2005 21:18:40 -0500
- Subject: Re: ld cleanups
- References: <20050121001233.GA16062@namadgi>
"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