diff options
author | Chris Johns <chrisj@rtems.org> | 2019-01-10 12:40:52 +1100 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2019-01-10 12:40:52 +1100 |
commit | 3fab1f51102c0b92712cccd86a595eff8b2199fb (patch) | |
tree | 43ca2564b712211b2ccbeb2be8ad1067605c1d68 /linkers | |
parent | e846257ad385092611c0b28d5d5f8503e89b956f (diff) |
linkers: Fix the -O option handling in rtems-execinfo
Diffstat (limited to 'linkers')
-rw-r--r-- | linkers/rtems-exeinfo.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
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; |