From 3fab1f51102c0b92712cccd86a595eff8b2199fb Mon Sep 17 00:00:00 2001 From: Chris Johns Date: Thu, 10 Jan 2019 12:40:52 +1100 Subject: linkers: Fix the -O option handling in rtems-execinfo --- linkers/rtems-exeinfo.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'linkers') diff --git a/linkers/rtems-exeinfo.cpp b/linkers/rtems-exeinfo.cpp index 018c732..eead6db 100644 --- a/linkers/rtems-exeinfo.cpp +++ b/linkers/rtems-exeinfo.cpp @@ -757,6 +757,7 @@ static struct option rld_opts[] = { { "sections", no_argument, NULL, 'S' }, { "init", no_argument, NULL, 'I' }, { "fini", no_argument, NULL, 'F' }, + { "objects", no_argument, NULL, 'O' }, { "inlined", no_argument, NULL, 'i' }, { "dwarf", no_argument, NULL, 'D' }, { NULL, 0, NULL, 0 } @@ -848,7 +849,7 @@ main (int argc, char* argv[]) while (true) { - int opt = ::getopt_long (argc, argv, "hvVMaSIFiD", rld_opts, NULL); + int opt = ::getopt_long (argc, argv, "hvVMaSIFOiD", rld_opts, NULL); if (opt < 0) break; -- cgit v1.2.3