(test4): Delete incorrect foo__1B test. Reformat file.
[binutils-gdb.git] / ld / lexsup.c
index f8388acf8fc6ae6630b132fdcbe8d2cf75c49a92..49e8749be6580769faa2d4aff2272a88dcc5a7ab 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;
@@ -1159,6 +1162,6 @@ help ()
   printf (_("%s: emulation specific options:\n"), program_name);
   ldemul_list_emulation_options (stdout);
   printf ("\n");
-  
-  printf (_("\nReport bugs to bug-gnu-utils@gnu.org\n"));
+
+  printf (_("Report bugs to %s\n"), REPORT_BUGS_TO);
 }