case 'd':
command_line.force_common_definition = TRUE;
break;
- case OPTION_FORCE_GROUP_ALLOCATION:
- command_line.force_group_allocation = TRUE;
- break;
+ case OPTION_FORCE_GROUP_ALLOCATION:
+ command_line.force_group_allocation = TRUE;
+ break;
case OPTION_DEFSYM:
lex_string = optarg;
lex_redirect (optarg, "--defsym", ++defsym_count);
if (command_line.auxiliary_filters == NULL)
{
command_line.auxiliary_filters = (char **)
- xmalloc (2 * sizeof (char *));
+ xmalloc (2 * sizeof (char *));
command_line.auxiliary_filters[0] = optarg;
command_line.auxiliary_filters[1] = NULL;
}
for (p = command_line.auxiliary_filters; *p != NULL; p++)
++c;
command_line.auxiliary_filters = (char **)
- xrealloc (command_line.auxiliary_filters,
- (c + 2) * sizeof (char *));
+ xrealloc (command_line.auxiliary_filters,
+ (c + 2) * sizeof (char *));
command_line.auxiliary_filters[c] = optarg;
command_line.auxiliary_filters[c + 1] = NULL;
}
link_info.unresolved_syms_in_shared_libs
= how_to_report_unresolved_symbols;
}
- else if (strcmp (optarg, "ignore-in-shared-libs") == 0)
+ else if (strcmp (optarg, "ignore-in-shared-libs") == 0)
{
link_info.unresolved_syms_in_objects
= how_to_report_unresolved_symbols;
char *buf;
buf = (char *) xmalloc (strlen (command_line.rpath_link)
- + strlen (optarg)
- + 2);
+ + strlen (optarg)
+ + 2);
sprintf (buf, "%s%c%s", command_line.rpath_link,
config.rpath_separator, optarg);
free (command_line.rpath_link);
case OPTION_SORT_COMMON:
if (optarg == NULL
|| strcmp (optarg, N_("descending")) == 0)
- config.sort_common = sort_descending;
- else if (strcmp (optarg, N_("ascending")) == 0)
+ config.sort_common = sort_descending;
+ else if (strcmp (optarg, N_("ascending")) == 0)
config.sort_common = sort_ascending;
else
einfo (_("%P%F: invalid common section sorting option: %s\n"),
case 'u':
ldlang_add_undef (optarg, TRUE);
break;
- case OPTION_REQUIRE_DEFINED_SYMBOL:
- ldlang_add_require_defined (optarg);
+ case OPTION_REQUIRE_DEFINED_SYMBOL:
+ ldlang_add_require_defined (optarg);
break;
case OPTION_UNIQUE:
if (optarg != NULL)
config.hash_table_size = 1021;
break;
- case OPTION_HASH_SIZE:
+ case OPTION_HASH_SIZE:
{
bfd_size_type new_size;
- new_size = strtoul (optarg, NULL, 0);
- if (new_size)
- config.hash_table_size = new_size;
- else
- einfo (_("%P%X: --hash-size needs a numeric argument\n"));
- }
- break;
+ new_size = strtoul (optarg, NULL, 0);
+ if (new_size)
+ config.hash_table_size = new_size;
+ else
+ einfo (_("%P%X: --hash-size needs a numeric argument\n"));
+ }
+ break;
case OPTION_PUSH_STATE:
input_flags.pushed = xmemdup (&input_flags,