aboutsummaryrefslogtreecommitdiff
path: root/ld/lexsup.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2003-12-02 05:58:11 +0000
committerAlan Modra <amodra@gmail.com>2003-12-02 05:58:11 +0000
commitffc18d8a8287dba8df90476299bdbd6c135e0756 (patch)
tree15084357421a810e35d3e6e379eca7007ed7d7cc /ld/lexsup.c
parent37c8b245118ba36deaf3bf918101d9d6101acc6a (diff)
downloadgdb-ffc18d8a8287dba8df90476299bdbd6c135e0756.zip
gdb-ffc18d8a8287dba8df90476299bdbd6c135e0756.tar.gz
gdb-ffc18d8a8287dba8df90476299bdbd6c135e0756.tar.bz2
* ldmain.c (main): Remove mpc860c0 code.
* lexsup.c (enum option_values): Delete OPTION_MPC860C0. (ld_options): Delete mpc860c0 entry. (parse_args): Likewise.
Diffstat (limited to 'ld/lexsup.c')
-rw-r--r--ld/lexsup.c21
1 files changed, 1 insertions, 20 deletions
diff --git a/ld/lexsup.c b/ld/lexsup.c
index b8d0be4..611f838 100644
--- a/ld/lexsup.c
+++ b/ld/lexsup.c
@@ -118,7 +118,6 @@ enum option_values
OPTION_NO_GC_SECTIONS,
OPTION_CHECK_SECTIONS,
OPTION_NO_CHECK_SECTIONS,
- OPTION_MPC860C0,
OPTION_NO_UNDEFINED,
OPTION_INIT,
OPTION_FINI,
@@ -440,9 +439,7 @@ static const struct ld_option ld_options[] =
{ {"whole-archive", no_argument, NULL, OPTION_WHOLE_ARCHIVE},
'\0', NULL, N_("Include all objects from following archives"), TWO_DASHES },
{ {"wrap", required_argument, NULL, OPTION_WRAP},
- '\0', N_("SYMBOL"), N_("Use wrapper functions for SYMBOL"), TWO_DASHES },
- { {"mpc860c0", optional_argument, NULL, OPTION_MPC860C0},
- '\0', N_("[=WORDS]"), N_("Modify problematic branches in last WORDS (1-10,\n\t\t\t\tdefault 5) words of a page"), TWO_DASHES }
+ '\0', N_("SYMBOL"), N_("Use wrapper functions for SYMBOL"), TWO_DASHES }
};
#define OPTION_COUNT ARRAY_SIZE (ld_options)
@@ -1245,22 +1242,6 @@ parse_args (unsigned argc, char **argv)
lang_leave_group ();
ingroup = 0;
break;
- case OPTION_MPC860C0:
- /* Default value (in bytes). */
- link_info.mpc860c0 = 20;
- if (optarg)
- {
- unsigned words;
-
- words = is_num (optarg, 1, 10, 0);
- if (words == 0)
- einfo (_("%P%F: invalid argument to option \"mpc860c0\"\n"));
-
- /* Convert words to bytes. */
- link_info.mpc860c0 = words * 4;
- }
- command_line.relax = TRUE;
- break;
case OPTION_INIT:
link_info.init_function = optarg;