mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-29 02:20:51 +00:00
Fix: GNU-ld: ARM: Issues when trying to set target output architecture
PR 28910 * lexsup.c (ld_options): Require that the --architecture option is given exactly two dashes, so that it does not become confused with the -a option.
This commit is contained in:
@@ -105,7 +105,7 @@ static const struct ld_option ld_options[] =
|
||||
'a', N_("KEYWORD"), N_("Shared library control for HP/UX compatibility"),
|
||||
ONE_DASH },
|
||||
{ {"architecture", required_argument, NULL, 'A'},
|
||||
'A', N_("ARCH"), N_("Set architecture") , TWO_DASHES },
|
||||
'A', N_("ARCH"), N_("Set architecture") , EXACTLY_TWO_DASHES },
|
||||
{ {"format", required_argument, NULL, 'b'},
|
||||
'b', N_("TARGET"), N_("Specify target for following input files"),
|
||||
TWO_DASHES },
|
||||
|
||||
Reference in New Issue
Block a user