Ticket #251: emxomf.patch
File emxomf.patch, 1.5 KB (added by , 13 years ago) |
---|
-
emxomf.c
407 407 /* Supress certain warnings if this variable is TRUE (-q option). */ 408 408 static int quiet = FALSE; 409 409 410 /* Show more warnings if this variable is TRUE (-v option). */ 411 static int verbose = FALSE; 412 410 413 /* The libreq_head variable contains a pointer to the head of the list 411 414 of default libraries. The -i option is used to add a default 412 415 library request. The libreq_add pointer is used for appending new … … 822 825 memcpy(pszOutBuf + SYMBOL_MAX_LENGTH, szHash, SYMBOL_HASH_LENGTH); 823 826 pszOutBuf[SYMBOL_MAX_LENGTH + SYMBOL_HASH_LENGTH] = '\0'; 824 827 825 warning ("Truncated symbol '%.*s' to '%.*s%s'", cch, pszName, SYMBOL_MAX_LENGTH, pszName, szHash); 828 if (verbose) 829 warning ("Truncated symbol '%.*s' to '%.*s%s'", cch, pszName, SYMBOL_MAX_LENGTH, pszName, szHash); 826 830 827 831 cch = SYMBOL_MAX_LENGTH + SYMBOL_HASH_LENGTH; 828 832 } … … 3744 3748 puts (" -O <directory> Extract files to <directory>"); 3745 3749 puts (" -z Remove underscores from all symbol names"); 3746 3750 puts (" -P <dbgpackdll> Name the dbgpack DLL (ilink)"); 3751 puts (" -v Show more warnings (truncated symbols)"); 3747 3752 exit (1); 3748 3753 } 3749 3754 … … 4244 4249 case 'u': 4245 4250 unknown_stabs = TRUE; 4246 4251 break; 4252 case 'v': 4253 verbose = TRUE; 4254 break; 4247 4255 case 'x': 4248 4256 opt_x = TRUE; 4249 4257 break;