aboutsummaryrefslogtreecommitdiff
path: root/ld/lexsup.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2023-11-14 11:24:58 +0000
committerNick Clifton <nickc@redhat.com>2023-11-14 11:24:58 +0000
commitb2a6584d753a4dc94139e98c6998f570ed1e2341 (patch)
tree9e6be4e8465ea19f5051e5b29a7a4972e3685f39 /ld/lexsup.c
parentfab62191f84583780c2c6d024d0e583400881770 (diff)
downloadgdb-b2a6584d753a4dc94139e98c6998f570ed1e2341.zip
gdb-b2a6584d753a4dc94139e98c6998f570ed1e2341.tar.gz
gdb-b2a6584d753a4dc94139e98c6998f570ed1e2341.tar.bz2
Fix another linker command line option that was not being recognised in its long form.
PR 28910 * lexsup.c (ld_options): Ensure that the --mri-script option is correctly recognised.
Diffstat (limited to 'ld/lexsup.c')
-rw-r--r--ld/lexsup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/lexsup.c b/ld/lexsup.c
index ce0d733..a7c0eb1 100644
--- a/ld/lexsup.c
+++ b/ld/lexsup.c
@@ -110,7 +110,7 @@ static const struct ld_option ld_options[] =
'b', N_("TARGET"), N_("Specify target for following input files"),
EXACTLY_TWO_DASHES },
{ {"mri-script", required_argument, NULL, 'c'},
- 'c', N_("FILE"), N_("Read MRI format linker script"), TWO_DASHES },
+ 'c', N_("FILE"), N_("Read MRI format linker script"), EXACTLY_TWO_DASHES },
{ {"dc", no_argument, NULL, 'd'},
'd', NULL, N_("Force common symbols to be defined"), ONE_DASH },
{ {"dp", no_argument, NULL, 'd'},