2000-02-27 Mark Elbrecht <snowball3@bigfoot.com>
[deliverable/binutils-gdb.git] / ld / lexsup.c
index f8388acf8fc6ae6630b132fdcbe8d2cf75c49a92..06a65e13bd0d7275f22211acd6f70538dba8c4e9 100644 (file)
@@ -516,6 +516,9 @@ parse_args (argc, argv)
       switch (optc)
        {
        default:
+         fprintf (stderr,
+                  _("%s: use the --help option for usage information\n"),
+                  program_name);
          xexit (1);
        case 1:                 /* File name.  */
          lang_add_input_file (optarg, lang_input_file_is_file_enum,
@@ -951,7 +954,7 @@ the GNU General Public License.  This program has absolutely no warranty.\n"));
              ignored.  Someday we should handle it correctly.  FIXME.  */
          break;
        case OPTION_SPLIT_BY_RELOC:
-         config.split_by_reloc = atoi (optarg);
+         config.split_by_reloc = strtoul (optarg, NULL, 0);
          break; 
        case OPTION_SPLIT_BY_FILE:
          config.split_by_file = true;
This page took 0.023834 seconds and 4 git commands to generate.