make >32KiB default; replace "-t s" with "-t" (tiny?)

This commit is contained in:
bentley
2010-01-15 12:38:19 -07:00
parent 367abd8396
commit 084cc995e7

View File

@@ -42,8 +42,8 @@ usage(void)
{ {
printf("xLink v" LINK_VERSION " (part of ASMotor " ASMOTOR_VERSION printf("xLink v" LINK_VERSION " (part of ASMotor " ASMOTOR_VERSION
")\n\n"); ")\n\n");
printf("usage: xlink [-l library] [-m mapfile] [-n symfile] [-o outfile] [-s symbol]\n"); printf("usage: xlink [-t] [-l library] [-m mapfile] [-n symfile] [-o outfile] [-s symbol]\n");
printf("\t [-t [g | s ] [-z pad_value] objectfile [...]\n"); printf("\t [-z pad_value] objectfile [...]\n");
exit(EX_USAGE); exit(EX_USAGE);
} }
@@ -120,7 +120,7 @@ main(int argc, char *argv[])
if (argc == 1) if (argc == 1)
usage(); usage();
while ((ch = getopt(argc, argv, "l:m:n:o:s:t:z:")) != -1) { while ((ch = getopt(argc, argv, "l:m:n:o:s:tz:")) != -1) {
switch (ch) { switch (ch) {
case 'l': case 'l':
lib_Readfile(optarg); lib_Readfile(optarg);
@@ -139,16 +139,7 @@ main(int argc, char *argv[])
strcpy(smartlinkstartsymbol, optarg); strcpy(smartlinkstartsymbol, optarg);
break; break;
case 't': case 't':
switch (optarg[0]) {
case 's':
options |= OPT_SMALL; options |= OPT_SMALL;
/* FALLTHROUGH */
case 'g':
break;
default:
errx(EX_USAGE, "Invalid argument to option t");
break;
}
break; break;
case 'z': case 'z':
if (optarg[0] == '?') if (optarg[0] == '?')