From: Alan Modra Date: Wed, 14 Oct 2009 05:54:29 +0000 (+0000) Subject: include/ X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f88dc410a7060a2e6207020c40321ab786519b2d;p=binutils-gdb.git include/ * bfdlink.h (enum bfd_link_common_skip_ar_symbols): Rename from bfd_link_common_skip_ar_aymbols. (struct bfd_link_info): Here too. bfd/ * aoutx.h (aout_link_check_ar_symbols): Typo fix. ld/ * emultempl/netbsd.em (gldnetbsd_before_parse): Typo fix. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index c0b915b8762..3a9a823b5fa 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,7 @@ +2009-10-14 Alan Modra + + * aoutx.h (aout_link_check_ar_symbols): Typo fix. + 2009-10-13 H.J. Lu PR binutils/10763 diff --git a/bfd/aoutx.h b/bfd/aoutx.h index 23fd5c407ba..9521d0a8fa2 100644 --- a/bfd/aoutx.h +++ b/bfd/aoutx.h @@ -3284,7 +3284,7 @@ aout_link_check_ar_symbols (bfd *abfd, { int skip = 0; - switch (info->common_skip_ar_aymbols) + switch (info->common_skip_ar_symbols) { case bfd_link_common_skip_text: skip = (type == (N_TEXT | N_EXT)); diff --git a/include/ChangeLog b/include/ChangeLog index fe9b38f9229..811decd7e09 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,9 @@ +2009-10-14 Alan Modra + + * bfdlink.h (enum bfd_link_common_skip_ar_symbols): Rename from + bfd_link_common_skip_ar_aymbols. + (struct bfd_link_info): Here too. + 2009-10-09 Rafael Espindola * plugin-api.h (ld_plugin_add_input_library): Change argument name to diff --git a/include/bfdlink.h b/include/bfdlink.h index 61cfc7aed46..4f63af94b23 100644 --- a/include/bfdlink.h +++ b/include/bfdlink.h @@ -67,7 +67,7 @@ enum bfd_link_hash_type bfd_link_hash_warning /* Like indirect, but warn if referenced. */ }; -enum bfd_link_common_skip_ar_aymbols +enum bfd_link_common_skip_ar_symbols { bfd_link_common_skip_none, bfd_link_common_skip_text, @@ -371,9 +371,9 @@ struct bfd_link_info /* Which local symbols to discard. */ enum bfd_link_discard discard; - /* Criteria for skipping symbols when detemining + /* Criteria for skipping symbols when determining whether to include an object from an archive. */ - enum bfd_link_common_skip_ar_aymbols common_skip_ar_aymbols; + enum bfd_link_common_skip_ar_symbols common_skip_ar_symbols; /* Char that may appear as the first char of a symbol, but should be skipped (like symbol_leading_char) when looking up symbols in diff --git a/ld/ChangeLog b/ld/ChangeLog index fac9613be29..2193cb1912a 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,7 @@ +2009-10-14 Alan Modra + + * emultempl/netbsd.em (gldnetbsd_before_parse): Typo fix. + 2009-10-14 Ryan Mansfield * ldlang.c (load_symbols): Set whole_archive from entry when diff --git a/ld/emultempl/netbsd.em b/ld/emultempl/netbsd.em index 6e25486aaf9..99b48b0cc45 100644 --- a/ld/emultempl/netbsd.em +++ b/ld/emultempl/netbsd.em @@ -29,6 +29,6 @@ static void gldnetbsd_before_parse (void) { gld${EMULATION_NAME}_before_parse (); - link_info.common_skip_ar_aymbols = bfd_link_common_skip_text; + link_info.common_skip_ar_symbols = bfd_link_common_skip_text; } EOF