|
|
cde03b |
#include "mdso_driver_impl.h"
|
|
|
cde03b |
#include "argv/argv.h"
|
|
|
cde03b |
|
|
|
cde03b |
const struct argv_option mdso_default_options[] = {
|
|
|
cde03b |
{"version", 'v',TAG_VERSION,ARGV_OPTARG_NONE,0,0,
|
|
|
cde03b |
"show version information"},
|
|
|
cde03b |
|
|
|
cde03b |
{"help", 'h',TAG_HELP,ARGV_OPTARG_OPTIONAL,"short|long",0,
|
|
|
cde03b |
"show usage information [listing %s options only]"},
|
|
|
cde03b |
|
|
|
7c0ec4 |
{"machine", 'm',TAG_QUAD_PTR,ARGV_OPTARG_REQUIRED,"32|64",0,
|
|
|
7c0ec4 |
"set machine bits to %s"},
|
|
|
7c0ec4 |
|
|
|
d8c2b3 |
{"libname", 'n',TAG_LIBNAME,ARGV_OPTARG_REQUIRED,0,"<libname>",
|
|
|
d8c2b3 |
"set dependency library name to %s"},
|
|
|
d8c2b3 |
|
|
|
d8c2b3 |
{"dstdir", 'd',TAG_DSTDIR,ARGV_OPTARG_REQUIRED,0,"<dstdir>",
|
|
|
d8c2b3 |
"save generated assembly files under %s"},
|
|
|
d8c2b3 |
|
|
|
8cfad6 |
{"pretty", 'p',TAG_PRETTY,ARGV_OPTARG_REQUIRED,"yaml",0,
|
|
|
8cfad6 |
"format output for parsing by %s"},
|
|
|
8cfad6 |
|
|
|
8cfad6 |
{"expsyms", 'e',TAG_EXPSYMS,ARGV_OPTARG_NONE,0,0,
|
|
|
8cfad6 |
"print exported symbols" },
|
|
|
8cfad6 |
|
|
|
cde03b |
{0}
|
|
|
cde03b |
};
|