* elf-hppa.h (elf_hppa_final_link): If unable to find __gp in the
[deliverable/binutils-gdb.git] / gprof / gprof.c
index b6e260cff8b70db92b38463f926a4b5f8d0a3b53..cb904870e5084bf369487b47d13e05e742ed89b4 100644 (file)
@@ -169,7 +169,9 @@ DEFUN (main, (argc, argv), int argc AND char **argv)
   Sym **cg = 0;
   int ch, user_specified = 0;
 
+#if defined (HAVE_SETLOCALE) && defined (HAVE_LC_MESSAGES)
   setlocale (LC_MESSAGES, "");
+#endif
   bindtextdomain (PACKAGE, LOCALEDIR);
   textdomain (PACKAGE);
 
@@ -277,7 +279,7 @@ DEFUN (main, (argc, argv), int argc AND char **argv)
          print_path = TRUE;
          break;
        case 'm':
-         bb_min_calls = atoi (optarg);
+         bb_min_calls = (unsigned long) strtoul (optarg, (char **) NULL, 10);
          break;
        case 'n':
          sym_id_add (optarg, INCL_TIME);
@@ -297,6 +299,9 @@ DEFUN (main, (argc, argv), int argc AND char **argv)
            case 'b':
              file_format = FF_BSD;
              break;
+           case '4':
+             file_format = FF_BSD44;
+             break;
            case 'p':
              file_format = FF_PROF;
              break;
This page took 0.023863 seconds and 4 git commands to generate.