Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 May 2011 22:55:37 +0000 (UTC)
From:      Attilio Rao <attilio@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-projects@freebsd.org
Subject:   svn commit: r222106 - in projects/largeSMP: . contrib/gcc contrib/gperf/src contrib/groff/src/devices/grohtml contrib/groff/src/libs/libdriver contrib/groff/src/roff/troff contrib/groff/src/utils/h...
Message-ID:  <201105192255.p4JMtbvE056541@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: attilio
Date: Thu May 19 22:55:37 2011
New Revision: 222106
URL: http://svn.freebsd.org/changeset/base/222106

Log:
  MFC

Added:
  projects/largeSMP/tools/build/options/WITHOUT_BINUTILS
     - copied unchanged from r222105, head/tools/build/options/WITHOUT_BINUTILS
  projects/largeSMP/tools/build/options/WITHOUT_GCC
     - copied unchanged from r222105, head/tools/build/options/WITHOUT_GCC
Modified:
  projects/largeSMP/Makefile.inc1
  projects/largeSMP/contrib/gcc/genattrtab.c
  projects/largeSMP/contrib/gcc/genautomata.c
  projects/largeSMP/contrib/gcc/gengtype-lex.l
  projects/largeSMP/contrib/gcc/genmodes.c
  projects/largeSMP/contrib/gperf/src/gen-perf.cc
  projects/largeSMP/contrib/gperf/src/key-list.cc
  projects/largeSMP/contrib/gperf/src/options.cc
  projects/largeSMP/contrib/groff/src/devices/grohtml/post-html.cpp
  projects/largeSMP/contrib/groff/src/libs/libdriver/input.cpp
  projects/largeSMP/contrib/groff/src/roff/troff/mtsm.cpp
  projects/largeSMP/contrib/groff/src/roff/troff/node.cpp
  projects/largeSMP/contrib/groff/src/utils/hpftodit/hpftodit.cpp
  projects/largeSMP/crypto/heimdal/lib/sl/slc-gram.y
  projects/largeSMP/gnu/usr.bin/Makefile
  projects/largeSMP/release/Makefile
  projects/largeSMP/release/generate-release.sh
  projects/largeSMP/sbin/hastd/pjdlog.c
  projects/largeSMP/share/man/man9/sbuf.9
  projects/largeSMP/share/misc/committers-src.dot
  projects/largeSMP/share/misc/iso3166
  projects/largeSMP/share/mk/bsd.own.mk
  projects/largeSMP/sys/dev/cxgbe/t4_main.c
  projects/largeSMP/sys/dev/cxgbe/t4_sge.c
  projects/largeSMP/sys/dev/puc/pucdata.c
  projects/largeSMP/sys/fs/nfsclient/nfs_clvfsops.c
  projects/largeSMP/sys/kern/kern_conf.c
  projects/largeSMP/sys/netinet/sctp_output.c
  projects/largeSMP/sys/nfsclient/nfs_vfsops.c
  projects/largeSMP/sys/sys/proc.h
  projects/largeSMP/usr.bin/rpcgen/rpc_hout.c
  projects/largeSMP/usr.bin/rpcgen/rpc_svcout.c
  projects/largeSMP/usr.bin/rpcgen/rpc_tblout.c
  projects/largeSMP/usr.bin/truss/amd64-fbsd.c
  projects/largeSMP/usr.bin/truss/amd64-fbsd32.c
  projects/largeSMP/usr.bin/truss/i386-fbsd.c
  projects/largeSMP/usr.bin/truss/ia64-fbsd.c
  projects/largeSMP/usr.bin/truss/main.c
  projects/largeSMP/usr.bin/truss/powerpc-fbsd.c
  projects/largeSMP/usr.bin/truss/powerpc64-fbsd.c
  projects/largeSMP/usr.bin/truss/sparc64-fbsd.c
  projects/largeSMP/usr.sbin/pc-sysinstall/backend/functions-disk.sh
  projects/largeSMP/usr.sbin/pc-sysinstall/backend/functions-installcomponents.sh
Directory Properties:
  projects/largeSMP/   (props changed)
  projects/largeSMP/cddl/contrib/opensolaris/   (props changed)
  projects/largeSMP/contrib/bind9/   (props changed)
  projects/largeSMP/contrib/binutils/   (props changed)
  projects/largeSMP/contrib/bzip2/   (props changed)
  projects/largeSMP/contrib/dialog/   (props changed)
  projects/largeSMP/contrib/ee/   (props changed)
  projects/largeSMP/contrib/expat/   (props changed)
  projects/largeSMP/contrib/file/   (props changed)
  projects/largeSMP/contrib/gcc/   (props changed)
  projects/largeSMP/contrib/gdb/   (props changed)
  projects/largeSMP/contrib/gdtoa/   (props changed)
  projects/largeSMP/contrib/gnu-sort/   (props changed)
  projects/largeSMP/contrib/groff/   (props changed)
  projects/largeSMP/contrib/less/   (props changed)
  projects/largeSMP/contrib/libpcap/   (props changed)
  projects/largeSMP/contrib/libstdc++/   (props changed)
  projects/largeSMP/contrib/llvm/   (props changed)
  projects/largeSMP/contrib/llvm/tools/clang/   (props changed)
  projects/largeSMP/contrib/ncurses/   (props changed)
  projects/largeSMP/contrib/netcat/   (props changed)
  projects/largeSMP/contrib/ntp/   (props changed)
  projects/largeSMP/contrib/one-true-awk/   (props changed)
  projects/largeSMP/contrib/openbsm/   (props changed)
  projects/largeSMP/contrib/openpam/   (props changed)
  projects/largeSMP/contrib/pf/   (props changed)
  projects/largeSMP/contrib/sendmail/   (props changed)
  projects/largeSMP/contrib/tcpdump/   (props changed)
  projects/largeSMP/contrib/tcsh/   (props changed)
  projects/largeSMP/contrib/top/   (props changed)
  projects/largeSMP/contrib/top/install-sh   (props changed)
  projects/largeSMP/contrib/tzcode/stdtime/   (props changed)
  projects/largeSMP/contrib/tzcode/zic/   (props changed)
  projects/largeSMP/contrib/tzdata/   (props changed)
  projects/largeSMP/contrib/wpa/   (props changed)
  projects/largeSMP/contrib/xz/   (props changed)
  projects/largeSMP/crypto/openssh/   (props changed)
  projects/largeSMP/crypto/openssl/   (props changed)
  projects/largeSMP/gnu/lib/   (props changed)
  projects/largeSMP/gnu/usr.bin/binutils/   (props changed)
  projects/largeSMP/gnu/usr.bin/cc/cc_tools/   (props changed)
  projects/largeSMP/gnu/usr.bin/gdb/   (props changed)
  projects/largeSMP/lib/libc/   (props changed)
  projects/largeSMP/lib/libc/stdtime/   (props changed)
  projects/largeSMP/lib/libutil/   (props changed)
  projects/largeSMP/lib/libz/   (props changed)
  projects/largeSMP/sbin/   (props changed)
  projects/largeSMP/sbin/ipfw/   (props changed)
  projects/largeSMP/share/mk/bsd.arch.inc.mk   (props changed)
  projects/largeSMP/share/zoneinfo/   (props changed)
  projects/largeSMP/sys/   (props changed)
  projects/largeSMP/sys/amd64/include/xen/   (props changed)
  projects/largeSMP/sys/boot/   (props changed)
  projects/largeSMP/sys/boot/i386/efi/   (props changed)
  projects/largeSMP/sys/boot/ia64/efi/   (props changed)
  projects/largeSMP/sys/boot/ia64/ski/   (props changed)
  projects/largeSMP/sys/boot/powerpc/boot1.chrp/   (props changed)
  projects/largeSMP/sys/boot/powerpc/ofw/   (props changed)
  projects/largeSMP/sys/cddl/contrib/opensolaris/   (props changed)
  projects/largeSMP/sys/conf/   (props changed)
  projects/largeSMP/sys/contrib/dev/acpica/   (props changed)
  projects/largeSMP/sys/contrib/octeon-sdk/   (props changed)
  projects/largeSMP/sys/contrib/pf/   (props changed)
  projects/largeSMP/sys/contrib/x86emu/   (props changed)
  projects/largeSMP/usr.bin/calendar/   (props changed)
  projects/largeSMP/usr.bin/csup/   (props changed)
  projects/largeSMP/usr.bin/procstat/   (props changed)
  projects/largeSMP/usr.sbin/ndiscvt/   (props changed)
  projects/largeSMP/usr.sbin/zic/   (props changed)

Modified: projects/largeSMP/Makefile.inc1
==============================================================================
--- projects/largeSMP/Makefile.inc1	Thu May 19 21:53:25 2011	(r222105)
+++ projects/largeSMP/Makefile.inc1	Thu May 19 22:55:37 2011	(r222106)
@@ -1132,6 +1132,10 @@ _kgzip=		usr.sbin/kgzip
 .endif
 .endif
 
+.if ${MK_BINUTILS} != "no"
+_binutils=	gnu/usr.bin/binutils
+.endif
+
 .if ${MK_CLANG} != "no"
 .if ${CC:T:Mclang} == "clang"
 _clang=		usr.bin/clang
@@ -1139,12 +1143,16 @@ _clang_libs=	lib/clang
 .endif
 .endif
 
+.if ${MK_GCC} != "no"
+_cc=		gnu/usr.bin/cc
+.endif
+
 cross-tools:
 .for _tool in \
     ${_clang_libs} \
     ${_clang} \
-    gnu/usr.bin/binutils \
-    gnu/usr.bin/cc \
+    ${_binutils} \
+    ${_cc} \
     usr.bin/xlint/lint1 usr.bin/xlint/lint2 usr.bin/xlint/xlint \
     ${_btxld} \
     ${_crunchide} \

Modified: projects/largeSMP/contrib/gcc/genattrtab.c
==============================================================================
--- projects/largeSMP/contrib/gcc/genattrtab.c	Thu May 19 21:53:25 2011	(r222105)
+++ projects/largeSMP/contrib/gcc/genattrtab.c	Thu May 19 22:55:37 2011	(r222106)
@@ -1652,7 +1652,7 @@ simplify_cond (rtx exp, int insn_code, i
   rtx ret;
 
   /* This lets us free all storage allocated below, if appropriate.  */
-  obstack_finish (rtl_obstack);
+  (void) obstack_finish (rtl_obstack);
 
   memcpy (tests, XVEC (exp, 0)->elem, len * sizeof (rtx));
 

Modified: projects/largeSMP/contrib/gcc/genautomata.c
==============================================================================
--- projects/largeSMP/contrib/gcc/genautomata.c	Thu May 19 21:53:25 2011	(r222105)
+++ projects/largeSMP/contrib/gcc/genautomata.c	Thu May 19 22:55:37 2011	(r222106)
@@ -1099,7 +1099,7 @@ create_node (size_t size)
 
   obstack_blank (&irp, size);
   result = obstack_base (&irp);
-  obstack_finish (&irp);
+  (void) obstack_finish (&irp);
   /* Default values of members are NULL and zero.  */
   memset (result, 0, size);
   return result;
@@ -1170,7 +1170,7 @@ next_sep_el (const char **pstr, int sep,
     }
   obstack_1grow (&irp, '\0');
   out_str = obstack_base (&irp);
-  obstack_finish (&irp);
+  (void) obstack_finish (&irp);
 
   *pstr = p;
   if (**pstr == sep)
@@ -1221,7 +1221,7 @@ get_str_vect (const char *str, int *els_
     return NULL;
   obstack_blank (&irp, sizeof (char *) * (*els_num + 1));
   vect = (char **) obstack_base (&irp);
-  obstack_finish (&irp);
+  (void) obstack_finish (&irp);
   pstr = &str;
   for (i = 0; i < *els_num; i++)
     vect [i] = next_sep_el (pstr, sep, paren_p);
@@ -3343,7 +3343,7 @@ alloc_empty_reserv_sets (void)
 
   obstack_blank (&irp, els_in_reservs * sizeof (set_el_t));
   result = (reserv_sets_t) obstack_base (&irp);
-  obstack_finish (&irp);
+  (void) obstack_finish (&irp);
   memset (result, 0, els_in_reservs * sizeof (set_el_t));
   return result;
 }
@@ -4117,10 +4117,10 @@ initiate_excl_sets (void)
 
   obstack_blank (&irp, els_in_cycle_reserv * sizeof (set_el_t));
   excl_set = (reserv_sets_t) obstack_base (&irp);
-  obstack_finish (&irp);
+  (void) obstack_finish (&irp);
   obstack_blank (&irp, description->units_num * sizeof (reserv_sets_t));
   unit_excl_set_table = (reserv_sets_t *) obstack_base (&irp);
-  obstack_finish (&irp);
+  (void) obstack_finish (&irp);
   /* Evaluate unit exclusion sets.  */
   for (i = 0; i < description->decls_num; i++)
     {
@@ -4129,7 +4129,7 @@ initiate_excl_sets (void)
 	{
 	  obstack_blank (&irp, els_in_cycle_reserv * sizeof (set_el_t));
 	  unit_excl_set = (reserv_sets_t) obstack_base (&irp);
-	  obstack_finish (&irp);
+	  (void) obstack_finish (&irp);
 	  memset (unit_excl_set, 0, els_in_cycle_reserv * sizeof (set_el_t));
 	  for (el = DECL_UNIT (decl)->excl_list;
 	       el != NULL;
@@ -4224,16 +4224,16 @@ initiate_presence_absence_pattern_sets (
 
   obstack_blank (&irp, description->units_num * sizeof (pattern_reserv_t));
   unit_presence_set_table = (pattern_reserv_t *) obstack_base (&irp);
-  obstack_finish (&irp);
+  (void) obstack_finish (&irp);
   obstack_blank (&irp, description->units_num * sizeof (pattern_reserv_t));
   unit_final_presence_set_table = (pattern_reserv_t *) obstack_base (&irp);
-  obstack_finish (&irp);
+  (void) obstack_finish (&irp);
   obstack_blank (&irp, description->units_num * sizeof (pattern_reserv_t));
   unit_absence_set_table = (pattern_reserv_t *) obstack_base (&irp);
-  obstack_finish (&irp);
+  (void) obstack_finish (&irp);
   obstack_blank (&irp, description->units_num * sizeof (pattern_reserv_t));
   unit_final_absence_set_table = (pattern_reserv_t *) obstack_base (&irp);
-  obstack_finish (&irp);
+  (void) obstack_finish (&irp);
   /* Evaluate unit presence/absence sets.  */
   for (i = 0; i < description->decls_num; i++)
     {
@@ -4935,7 +4935,7 @@ store_alt_unit_usage (regexp_t regexp, r
   
   obstack_blank (&unit_usages, sizeof (struct unit_usage));
   unit_usage_ptr = (struct unit_usage *) obstack_base (&unit_usages);
-  obstack_finish (&unit_usages);
+  (void) obstack_finish (&unit_usages);
   unit_usage_ptr->unit_decl = unit_decl;
   index = cycle * REGEXP_ONEOF (regexp)->regexps_num + alt_num;
   unit_usage_ptr->next = VEC_index (unit_usage_t, cycle_alt_unit_usages, index);
@@ -8975,7 +8975,7 @@ initiate_automaton_gen (int argc, char *
 		strlen (STANDARD_OUTPUT_DESCRIPTION_FILE_SUFFIX) + 1);
   obstack_1grow (&irp, '\0');
   output_description_file_name = obstack_base (&irp);
-  obstack_finish (&irp);
+  (void) obstack_finish (&irp);
 }
 
 /* The following function checks existence at least one arc marked by

Modified: projects/largeSMP/contrib/gcc/gengtype-lex.l
==============================================================================
--- projects/largeSMP/contrib/gcc/gengtype-lex.l	Thu May 19 21:53:25 2011	(r222105)
+++ projects/largeSMP/contrib/gcc/gengtype-lex.l	Thu May 19 22:55:37 2011	(r222106)
@@ -590,7 +590,7 @@ macro_input (char *buffer, unsigned size
 void
 yyerror (const char *s)
 {
-  error_at_line (&lexer_line, s);
+  error_at_line (&lexer_line, "%s", s);
 }
 
 void

Modified: projects/largeSMP/contrib/gcc/genmodes.c
==============================================================================
--- projects/largeSMP/contrib/gcc/genmodes.c	Thu May 19 21:53:25 2011	(r222105)
+++ projects/largeSMP/contrib/gcc/genmodes.c	Thu May 19 22:55:37 2011	(r222106)
@@ -787,7 +787,7 @@ calc_wider_mode (void)
 
 #define tagged_printf(FMT, ARG, TAG) do {		\
   int count_;						\
-  printf ("  " FMT ",%n", ARG, &count_);		\
+  count_ = printf ("  " FMT ",", ARG);			\
   printf ("%*s/* %s */\n", 27 - count_, "", TAG);	\
 } while (0)
 
@@ -822,7 +822,7 @@ enum machine_mode\n{");
     for (m = modes[c]; m; m = m->next)
       {
 	int count_;
-	printf ("  %smode,%n", m->name, &count_);
+	count_ = printf ("  %smode,", m->name);
 	printf ("%*s/* %s:%d */\n", 27 - count_, "",
 		 trim_filename (m->file), m->line);
       }

Modified: projects/largeSMP/contrib/gperf/src/gen-perf.cc
==============================================================================
--- projects/largeSMP/contrib/gperf/src/gen-perf.cc	Thu May 19 21:53:25 2011	(r222105)
+++ projects/largeSMP/contrib/gperf/src/gen-perf.cc	Thu May 19 22:55:37 2011	(r222106)
@@ -246,7 +246,7 @@ Gen_Perf::change (List_Node *prior, List
       {
         if (option[DEBUG])
           {
-            fprintf (stderr, " by changing asso_value['%c'] (char #%d) to %d\n",
+            fprintf (stderr, " by changing asso_value['%c'] (char #%zd) to %d\n",
                      *p, p - union_set + 1, asso_values[(unsigned char)(*p)]);
             fflush (stderr);
           }

Modified: projects/largeSMP/contrib/gperf/src/key-list.cc
==============================================================================
--- projects/largeSMP/contrib/gperf/src/key-list.cc	Thu May 19 21:53:25 2011	(r222105)
+++ projects/largeSMP/contrib/gperf/src/key-list.cc	Thu May 19 22:55:37 2011	(r222106)
@@ -497,8 +497,8 @@ Key_List::merge (List_Node *list1, List_
           *resultp = list1;
           break;
         }
-      if (occurrence_sort && list1->occurrence < list2->occurrence
-          || hash_sort && list1->hash_value > list2->hash_value)
+      if ((occurrence_sort && list1->occurrence < list2->occurrence)
+	    || (hash_sort && list1->hash_value > list2->hash_value))
         {
           *resultp = list2;
           resultp = &list2->next; list2 = list1; list1 = *resultp;
@@ -1035,17 +1035,16 @@ Key_List::output_hash_function (void)
   if (option[CPLUSPLUS])
     printf ("%s::", option.get_class_name ());
   printf ("%s ", option.get_hash_name ());
-  printf (option[KRC] ?
-                 "(str, len)\n"
-            "     register char *str;\n"
-            "     register unsigned int len;\n" :
-          option[C] ?
-                 "(str, len)\n"
-            "     register const char *str;\n"
-            "     register unsigned int len;\n" :
-          option[ANSIC] | option[CPLUSPLUS] ?
-                 "(register const char *str, register unsigned int len)\n" :
-          "");
+  if (option[KRC] || option[C] || option [ANSIC] || option[CPLUSPLUS])
+    printf (option[KRC] ?
+	      "(str, len)\n"
+              "     register char *str;\n"
+              "     register unsigned int len;\n" :
+	    option[C] ?
+	      "(str, len)\n"
+              "     register const char *str;\n"
+              "     register unsigned int len;\n" :
+	      "(register const char *str, register unsigned int len)\n");
 
   /* Note that when the hash function is called, it has already been verified
      that  min_key_len <= len <= max_key_len. */
@@ -1442,7 +1441,7 @@ Key_List::output_lookup_array (void)
 
           if (option[DEBUG])
             fprintf (stderr,
-                     "dup_ptr[%d]: hash_value = %d, index = %d, count = %d\n",
+                     "dup_ptr[%zd]: hash_value = %d, index = %d, count = %d\n",
                      dup_ptr - duplicates,
                      dup_ptr->hash_value, dup_ptr->index, dup_ptr->count);
 
@@ -1986,17 +1985,16 @@ Key_List::output_lookup_function (void)
   if (option[CPLUSPLUS])
     printf ("%s::", option.get_class_name ());
   printf ("%s ", option.get_function_name ());
-  printf (option[KRC] ?
-                 "(str, len)\n"
-            "     register char *str;\n"
-            "     register unsigned int len;\n" :
-          option[C] ?
-                 "(str, len)\n"
-            "     register const char *str;\n"
-            "     register unsigned int len;\n" :
-          option[ANSIC] | option[CPLUSPLUS] ?
-                 "(register const char *str, register unsigned int len)\n" :
-          "");
+  if (option[KRC] || option[C] || option[ANSIC] || option[CPLUSPLUS])
+    printf (option[KRC] ?
+	      "(str, len)\n"
+              "     register char *str;\n"
+              "     register unsigned int len;\n" :
+	    option[C] ?
+	      "(str, len)\n"
+              "     register const char *str;\n"
+              "     register unsigned int len;\n" :
+	    "(register const char *str, register unsigned int len)\n");
 
   /* Output the function's body. */
   printf ("{\n");

Modified: projects/largeSMP/contrib/gperf/src/options.cc
==============================================================================
--- projects/largeSMP/contrib/gperf/src/options.cc	Thu May 19 21:53:25 2011	(r222105)
+++ projects/largeSMP/contrib/gperf/src/options.cc	Thu May 19 22:55:37 2011	(r222106)
@@ -237,7 +237,7 @@ Options::print_options (void)
         {
           putchar (*arg);
           arg++;
-          if (*arg >= 'A' && *arg <= 'Z' || *arg >= 'a' && *arg <= 'z')
+          if ((*arg >= 'A' && *arg <= 'Z') || (*arg >= 'a' && *arg <= 'z'))
             {
               putchar (*arg);
               arg++;

Modified: projects/largeSMP/contrib/groff/src/devices/grohtml/post-html.cpp
==============================================================================
--- projects/largeSMP/contrib/groff/src/devices/grohtml/post-html.cpp	Thu May 19 21:53:25 2011	(r222105)
+++ projects/largeSMP/contrib/groff/src/devices/grohtml/post-html.cpp	Thu May 19 22:55:37 2011	(r222106)
@@ -1587,7 +1587,7 @@ void header_desc::write_headings (FILE *
 
 	  buffer += as_string(h);
 	  buffer += '\0';
-	  fprintf(f, buffer.contents());
+	  fputs(buffer.contents(), f);
 	} else
 	  fputs(g->text_string, f);
 	h++;

Modified: projects/largeSMP/contrib/groff/src/libs/libdriver/input.cpp
==============================================================================
--- projects/largeSMP/contrib/groff/src/libs/libdriver/input.cpp	Thu May 19 21:53:25 2011	(r222105)
+++ projects/largeSMP/contrib/groff/src/libs/libdriver/input.cpp	Thu May 19 22:55:37 2011	(r222106)
@@ -995,7 +995,7 @@ next_command(void)
 inline bool
 odd(const int n)
 {
-  return (n & 1 == 1) ? true : false;
+  return ((n & 1) == 1) ? true : false;
 }
 
 //////////////////////////////////////////////////////////////////////

Modified: projects/largeSMP/contrib/groff/src/roff/troff/mtsm.cpp
==============================================================================
--- projects/largeSMP/contrib/groff/src/roff/troff/mtsm.cpp	Thu May 19 21:53:25 2011	(r222105)
+++ projects/largeSMP/contrib/groff/src/roff/troff/mtsm.cpp	Thu May 19 22:55:37 2011	(r222106)
@@ -611,14 +611,16 @@ int state_set::is_in(int_value_state i)
   return (intset & (1 << (int)i)) != 0;
 }
 
+// Note: this used to have a bug s.t. it always tested for bit 0 (benl 18/5/11)
 int state_set::is_in(units_value_state u)
 {
-  return (unitsset & (1 << (int)u) != 0);
+  return (unitsset & (1 << (int)u)) != 0;
 }
 
+// Note: this used to have a bug s.t. it always tested for bit 0 (benl 18/5/11)
 int state_set::is_in(string_value_state s)
 {
-  return (stringset & (1 << (int)s) != 0);
+  return (stringset & (1 << (int)s)) != 0;
 }
 
 void state_set::add(units_value_state, int n)

Modified: projects/largeSMP/contrib/groff/src/roff/troff/node.cpp
==============================================================================
--- projects/largeSMP/contrib/groff/src/roff/troff/node.cpp	Thu May 19 21:53:25 2011	(r222105)
+++ projects/largeSMP/contrib/groff/src/roff/troff/node.cpp	Thu May 19 22:55:37 2011	(r222106)
@@ -2157,7 +2157,7 @@ void glyph_node::debug_node()
   if (c)
     fprintf(stderr, "%c", c);
   else
-    fprintf(stderr, ci->nm.contents());
+    fputs(ci->nm.contents(), stderr);
   if (push_state)
     fprintf(stderr, " <push_state>");
   if (state)

Modified: projects/largeSMP/contrib/groff/src/utils/hpftodit/hpftodit.cpp
==============================================================================
--- projects/largeSMP/contrib/groff/src/utils/hpftodit/hpftodit.cpp	Thu May 19 21:53:25 2011	(r222105)
+++ projects/largeSMP/contrib/groff/src/utils/hpftodit/hpftodit.cpp	Thu May 19 22:55:37 2011	(r222106)
@@ -870,9 +870,9 @@ output_charset(const int tfm_type)
       else if (!all_flag)
 	continue;
       else if (tfm_type == MSL)
-	printf(hp_msl_to_ucode_name(charcode));
+	fputs(hp_msl_to_ucode_name(charcode), stdout);
       else
-	printf(unicode_to_ucode_name(charcode));
+	fputs(unicode_to_ucode_name(charcode), stdout);
 
       printf("\t%d,%d",
 	     scale(char_table[i].width), scale(char_table[i].ascent));

Modified: projects/largeSMP/crypto/heimdal/lib/sl/slc-gram.y
==============================================================================
--- projects/largeSMP/crypto/heimdal/lib/sl/slc-gram.y	Thu May 19 21:53:25 2011	(r222105)
+++ projects/largeSMP/crypto/heimdal/lib/sl/slc-gram.y	Thu May 19 22:55:37 2011	(r222106)
@@ -49,6 +49,7 @@ RCSID("$Id: slc-gram.y 20767 2007-06-01 
 #include "slc.h"
 extern FILE *yyin;
 extern struct assignment *assignment;
+extern int yyparse(void);
 %}
 
 %union {

Modified: projects/largeSMP/gnu/usr.bin/Makefile
==============================================================================
--- projects/largeSMP/gnu/usr.bin/Makefile	Thu May 19 21:53:25 2011	(r222105)
+++ projects/largeSMP/gnu/usr.bin/Makefile	Thu May 19 22:55:37 2011	(r222106)
@@ -47,12 +47,14 @@ _texinfo=	texinfo
 _rcs=		rcs
 .endif
 
-.if ${MK_TOOLCHAIN} != "no"
+.if ${MK_BINUTILS} != "no"
 _binutils=	binutils
+.endif
+.if ${MK_GCC} != "no"
 _cc=		cc
+.endif
 .if ${MK_GDB} != "no"
 _gdb=		gdb
 .endif
-.endif
 
 .include <bsd.subdir.mk>

Modified: projects/largeSMP/release/Makefile
==============================================================================
--- projects/largeSMP/release/Makefile	Thu May 19 21:53:25 2011	(r222105)
+++ projects/largeSMP/release/Makefile	Thu May 19 22:55:37 2011	(r222106)
@@ -25,11 +25,11 @@ PORTSDIR?=	/usr/ports
 DOCDIR?=	/usr/doc
 RELNOTES_LANG?= en_US.ISO8859-1
 
-TARGET_ARCH?=	${MACHINE_ARCH}
-.if ${TARGET_ARCH} == ${MACHINE_ARCH}
 TARGET?=	${MACHINE}
+.if ${TARGET} == ${MACHINE}
+TARGET_ARCH?=	${MACHINE_ARCH}
 .else
-TARGET?=	${TARGET_ARCH}
+TARGET_ARCH?=	${TARGET}
 .endif
 IMAKE=		${MAKE} TARGET_ARCH=${TARGET_ARCH} TARGET=${TARGET}
 DISTDIR=	${.OBJDIR}/dist
@@ -169,7 +169,9 @@ ftp: packagesystem
 	mkdir ftp
 	cp *.txz MANIFEST ftp
 
-release: obj ${RELEASE_TARGETS}
+release:
+	${MAKE} -C ${.CURDIR} ${.MAKEFLAGS} obj
+	${MAKE} -C ${.CURDIR} ${.MAKEFLAGS} ${RELEASE_TARGETS}
 
 clean:
 	chflags -R noschg ${.OBJDIR}

Modified: projects/largeSMP/release/generate-release.sh
==============================================================================
--- projects/largeSMP/release/generate-release.sh	Thu May 19 21:53:25 2011	(r222105)
+++ projects/largeSMP/release/generate-release.sh	Thu May 19 22:55:37 2011	(r222106)
@@ -63,7 +63,6 @@ if [ -d $2/usr/doc ]; then 
 fi
 
 chroot $2 make -C /usr/src $MAKE_FLAGS buildworld buildkernel
-chroot $2 make -C /usr/src/release obj
 chroot $2 make -C /usr/src/release release
 chroot $2 make -C /usr/src/release install DESTDIR=/R
 

Modified: projects/largeSMP/sbin/hastd/pjdlog.c
==============================================================================
--- projects/largeSMP/sbin/hastd/pjdlog.c	Thu May 19 21:53:25 2011	(r222105)
+++ projects/largeSMP/sbin/hastd/pjdlog.c	Thu May 19 22:55:37 2011	(r222106)
@@ -31,8 +31,10 @@
 #include <sys/cdefs.h>
 __FBSDID("$FreeBSD$");
 
+#include <sys/types.h>
 #include <sys/socket.h>
 #include <netinet/in.h>
+#include <arpa/inet.h>
 
 #include <assert.h>
 #include <errno.h>
@@ -103,22 +105,39 @@ pjdlog_printf_render_sockaddr(struct __p
 	switch (ss->ss_family) {
 	case AF_INET:
 	    {
+		char addr[INET_ADDRSTRLEN];
 		const struct sockaddr_in *sin;
-		in_addr_t ip;
 		unsigned int port;
 
 		sin = (const struct sockaddr_in *)ss;
-		ip = ntohl(sin->sin_addr.s_addr);
 		port = ntohs(sin->sin_port);
+		if (inet_ntop(ss->ss_family, &sin->sin_addr, addr,
+		    sizeof(addr)) == NULL) {
+			PJDLOG_ABORT("inet_ntop(AF_INET) failed: %s.",
+			    strerror(errno));
+		}
+		snprintf(buf, sizeof(buf), "%s:%u", addr, port);
+		break;
+	    }
+	case AF_INET6:
+	    {
+		char addr[INET6_ADDRSTRLEN];
+		const struct sockaddr_in6 *sin;
+		unsigned int port;
 
-		snprintf(buf, sizeof(buf), "%u.%u.%u.%u:%u",
-		    ((ip >> 24) & 0xff), ((ip >> 16) & 0xff),
-		    ((ip >> 8) & 0xff), (ip & 0xff), port);
+		sin = (const struct sockaddr_in6 *)ss;
+		port = ntohs(sin->sin6_port);
+		if (inet_ntop(ss->ss_family, &sin->sin6_addr, addr,
+		    sizeof(addr)) == NULL) {
+			PJDLOG_ABORT("inet_ntop(AF_INET6) failed: %s.",
+			    strerror(errno));
+		}
+		snprintf(buf, sizeof(buf), "[%s]:%u", addr, port);
 		break;
 	    }
 	default:
-		snprintf(buf, sizeof(buf), "[unsupported family %u]",
-		    (unsigned int)ss->ss_family);
+		snprintf(buf, sizeof(buf), "[unsupported family %hhu]",
+		    ss->ss_family);
 		break;
 	}
 	ret = __printf_out(io, pi, buf, strlen(buf));

Modified: projects/largeSMP/share/man/man9/sbuf.9
==============================================================================
--- projects/largeSMP/share/man/man9/sbuf.9	Thu May 19 21:53:25 2011	(r222105)
+++ projects/largeSMP/share/man/man9/sbuf.9	Thu May 19 22:55:37 2011	(r222106)
@@ -492,13 +492,13 @@ will return zero for success and \-1 and
 struct sbuf *sb;
 
 sb = sbuf_new_auto();
-sbuf_cat("Customers found:\en");
+sbuf_cat(sb, "Customers found:\en");
 TAILQ_FOREACH(foo, &foolist, list) {
-	sbuf_printf("   %4d %s\en", foo->index, foo->name);
-	sbuf_printf("      Address: %s\en", foo->address);
-	sbuf_printf("      Zip: %s\en", foo->zipcode);
+	sbuf_printf(sb, "   %4d %s\en", foo->index, foo->name);
+	sbuf_printf(sb, "      Address: %s\en", foo->address);
+	sbuf_printf(sb, "      Zip: %s\en", foo->zipcode);
 }
-if (sbuf_finish(sb))
+if (sbuf_finish(sb)) /* Check for any and all errors */
 	err(1,"Could not generate message");
 transmit_msg(sbuf_data(sb), sbuf_len(sb));
 sbuf_delete(sb);

Modified: projects/largeSMP/share/misc/committers-src.dot
==============================================================================
--- projects/largeSMP/share/misc/committers-src.dot	Thu May 19 21:53:25 2011	(r222105)
+++ projects/largeSMP/share/misc/committers-src.dot	Thu May 19 22:55:37 2011	(r222106)
@@ -100,6 +100,7 @@ antoine [label="Antoine Brodin\nantoine@
 ariff [label="Ariff Abdullah\nariff@FreeBSD.org\n2005/11/14"]
 art [label="Artem Belevich\nart@FreeBSD.org\n2011/03/29"]
 avg [label="Andriy Gapon\navg@FreeBSD.org\n2009/02/18"]
+benl [label="Ben Laurie\nbenl@FreeBSD.org\n2011/05/18"]
 benno [label="Benno Rice\nbenno@FreeBSD.org\n2000/11/02"]
 bms [label="Bruce M Simpson\nbms@FreeBSD.org\n2003/08/06"]
 brian [label="Brian Somers\nbrian@FreeBSD.org\n1996/12/16"]
@@ -486,6 +487,7 @@ peter -> asmodai
 peter -> jayanth
 peter -> ps
 
+philip -> benl
 philip -> ed
 philip -> jls
 philip -> matteo
@@ -546,6 +548,8 @@ sheldonh -> iedowse
 
 shin -> ume
 
+simon -> benl
+
 sos -> marcel
 
 thompsa -> weongyo

Modified: projects/largeSMP/share/misc/iso3166
==============================================================================
--- projects/largeSMP/share/misc/iso3166	Thu May 19 21:53:25 2011	(r222105)
+++ projects/largeSMP/share/misc/iso3166	Thu May 19 22:55:37 2011	(r222106)
@@ -176,6 +176,7 @@ NA	NAM	516	Namibia
 NR	NRU	520	Nauru
 NP	NPL	524	Nepal
 NL	NLD	528	Netherlands
+AN	ANT	530	Netherlands Antilles
 NC	NCL	540	New Caledonia
 NZ	NZL	554	New Zealand
 NI	NIC	558	Nicaragua

Modified: projects/largeSMP/share/mk/bsd.own.mk
==============================================================================
--- projects/largeSMP/share/mk/bsd.own.mk	Thu May 19 21:53:25 2011	(r222105)
+++ projects/largeSMP/share/mk/bsd.own.mk	Thu May 19 22:55:37 2011	(r222106)
@@ -297,6 +297,7 @@ __DEFAULT_YES_OPTIONS = \
     BIND_MTREE \
     BIND_NAMED \
     BIND_UTILS \
+    BINUTILS \
     BLUETOOTH \
     BOOT \
     BSD_CPIO \
@@ -317,6 +318,7 @@ __DEFAULT_YES_OPTIONS = \
     FP_LIBC \
     FREEBSD_UPDATE \
     GAMES \
+    GCC \
     GCOV \
     GDB \
     GNU \
@@ -529,7 +531,9 @@ MK_GROFF:=	no
 .endif
 
 .if ${MK_TOOLCHAIN} == "no"
+MK_BINUTILS:=	no
 MK_CLANG:=	no
+MK_GCC:=	no
 MK_GDB:=	no
 .endif
 

Modified: projects/largeSMP/sys/dev/cxgbe/t4_main.c
==============================================================================
--- projects/largeSMP/sys/dev/cxgbe/t4_main.c	Thu May 19 21:53:25 2011	(r222105)
+++ projects/largeSMP/sys/dev/cxgbe/t4_main.c	Thu May 19 22:55:37 2011	(r222106)
@@ -366,7 +366,13 @@ t4_attach(device_t dev)
 	sc->mbox = sc->pf;
 
 	pci_enable_busmaster(dev);
-	pci_set_max_read_req(dev, 4096);
+	if (pci_find_cap(dev, PCIY_EXPRESS, &i) == 0) {
+		pci_set_max_read_req(dev, 4096);
+		v = pci_read_config(dev, i + PCIR_EXPRESS_DEVICE_CTL, 2);
+		v |= PCIM_EXP_CTL_RELAXED_ORD_ENABLE;
+		pci_write_config(dev, i + PCIR_EXPRESS_DEVICE_CTL, v, 2);
+	}
+
 	snprintf(sc->lockname, sizeof(sc->lockname), "%s",
 	    device_get_nameunit(dev));
 	mtx_init(&sc->sc_lock, sc->lockname, 0, MTX_DEF);
@@ -3209,41 +3215,9 @@ filter_rpl(struct adapter *sc, const str
 int
 t4_os_find_pci_capability(struct adapter *sc, int cap)
 {
-	device_t dev;
-	struct pci_devinfo *dinfo;
-	pcicfgregs *cfg;
-	uint32_t status;
-	uint8_t ptr;
-
-	dev = sc->dev;
-	dinfo = device_get_ivars(dev);
-	cfg = &dinfo->cfg;
-
-	status = pci_read_config(dev, PCIR_STATUS, 2);
-	if (!(status & PCIM_STATUS_CAPPRESENT))
-		return (0);
-
-	switch (cfg->hdrtype & PCIM_HDRTYPE) {
-	case 0:
-	case 1:
-		ptr = PCIR_CAP_PTR;
-		break;
-	case 2:
-		ptr = PCIR_CAP_PTR_2;
-		break;
-	default:
-		return (0);
-		break;
-	}
-	ptr = pci_read_config(dev, ptr, 1);
-
-	while (ptr != 0) {
-		if (pci_read_config(dev, ptr + PCICAP_ID, 1) == cap)
-			return (ptr);
-		ptr = pci_read_config(dev, ptr + PCICAP_NEXTPTR, 1);
-	}
+	int i;
 
-	return (0);
+	return (pci_find_cap(sc->dev, cap, &i) == 0 ? i : 0);
 }
 
 int

Modified: projects/largeSMP/sys/dev/cxgbe/t4_sge.c
==============================================================================
--- projects/largeSMP/sys/dev/cxgbe/t4_sge.c	Thu May 19 21:53:25 2011	(r222105)
+++ projects/largeSMP/sys/dev/cxgbe/t4_sge.c	Thu May 19 22:55:37 2011	(r222106)
@@ -100,7 +100,7 @@ static int alloc_ring(struct adapter *, 
 static int free_ring(struct adapter *, bus_dma_tag_t, bus_dmamap_t, bus_addr_t,
     void *);
 static int alloc_iq_fl(struct port_info *, struct sge_iq *, struct sge_fl *,
-    int);
+    int, int);
 static int free_iq_fl(struct port_info *, struct sge_iq *, struct sge_fl *);
 static int alloc_iq(struct sge_iq *, int);
 static int free_iq(struct sge_iq *);
@@ -1104,7 +1104,7 @@ free_ring(struct adapter *sc, bus_dma_ta
  */
 static int
 alloc_iq_fl(struct port_info *pi, struct sge_iq *iq, struct sge_fl *fl,
-    int intr_idx)
+    int intr_idx, int cong)
 {
 	int rc, i, cntxt_id;
 	size_t len;
@@ -1155,6 +1155,8 @@ alloc_iq_fl(struct port_info *pi, struct
 	    V_FW_IQ_CMD_IQESIZE(ilog2(iq->esize) - 4));
 	c.iqsize = htobe16(iq->qsize);
 	c.iqaddr = htobe64(iq->ba);
+	if (cong >= 0)
+		c.iqns_to_fl0congen = htobe32(F_FW_IQ_CMD_IQFLINTCONGEN);
 
 	if (fl) {
 		mtx_init(&fl->fl_lock, fl->lockname, NULL, MTX_DEF);
@@ -1198,7 +1200,15 @@ alloc_iq_fl(struct port_info *pi, struct
 		fl->needed = fl->cap;
 
 		c.iqns_to_fl0congen =
-		    htobe32(V_FW_IQ_CMD_FL0HOSTFCMODE(X_HOSTFCMODE_NONE));
+		    htobe32(V_FW_IQ_CMD_FL0HOSTFCMODE(X_HOSTFCMODE_NONE) |
+			F_FW_IQ_CMD_FL0FETCHRO | F_FW_IQ_CMD_FL0DATARO |
+			F_FW_IQ_CMD_FL0PADEN);
+		if (cong >= 0) {
+			c.iqns_to_fl0congen |=
+				htobe32(V_FW_IQ_CMD_FL0CNGCHMAP(cong) |
+				    F_FW_IQ_CMD_FL0CONGCIF |
+				    F_FW_IQ_CMD_FL0CONGEN);
+		}
 		c.fl0dcaen_to_fl0cidxfthresh =
 		    htobe16(V_FW_IQ_CMD_FL0FBMIN(X_FETCHBURSTMIN_64B) |
 			V_FW_IQ_CMD_FL0FBMAX(X_FETCHBURSTMAX_512B));
@@ -1325,7 +1335,7 @@ free_iq_fl(struct port_info *pi, struct 
 static int
 alloc_iq(struct sge_iq *iq, int intr_idx)
 {
-	return alloc_iq_fl(NULL, iq, NULL, intr_idx);
+	return alloc_iq_fl(NULL, iq, NULL, intr_idx, -1);
 }
 
 static int
@@ -1342,7 +1352,7 @@ alloc_rxq(struct port_info *pi, struct s
 	struct sysctl_oid_list *children;
 	char name[16];
 
-	rc = alloc_iq_fl(pi, &rxq->iq, &rxq->fl, intr_idx);
+	rc = alloc_iq_fl(pi, &rxq->iq, &rxq->fl, intr_idx, 1 << pi->tx_chan);
 	if (rc != 0)
 		return (rc);
 
@@ -1436,7 +1446,7 @@ alloc_ctrlq(struct adapter *sc, struct s
 	c.physeqid_pkd = htobe32(0);
 	c.fetchszm_to_iqid =
 	    htobe32(V_FW_EQ_CTRL_CMD_HOSTFCMODE(X_HOSTFCMODE_STATUS_PAGE) |
-		V_FW_EQ_CTRL_CMD_PCIECHN(idx) |
+		V_FW_EQ_CTRL_CMD_PCIECHN(idx) | F_FW_EQ_CTRL_CMD_FETCHRO |
 		V_FW_EQ_CTRL_CMD_IQID(eq->iqid));
 	c.dcaen_to_eqsize =
 	    htobe32(V_FW_EQ_CTRL_CMD_FBMIN(X_FETCHBURSTMIN_64B) |
@@ -1561,7 +1571,7 @@ alloc_txq(struct port_info *pi, struct s
 	c.viid_pkd = htobe32(V_FW_EQ_ETH_CMD_VIID(pi->viid));
 	c.fetchszm_to_iqid =
 	    htobe32(V_FW_EQ_ETH_CMD_HOSTFCMODE(X_HOSTFCMODE_STATUS_PAGE) |
-		V_FW_EQ_ETH_CMD_PCIECHN(pi->tx_chan) |
+		V_FW_EQ_ETH_CMD_PCIECHN(pi->tx_chan) | F_FW_EQ_ETH_CMD_FETCHRO |
 		V_FW_EQ_ETH_CMD_IQID(eq->iqid));
 	c.dcaen_to_eqsize = htobe32(V_FW_EQ_ETH_CMD_FBMIN(X_FETCHBURSTMIN_64B) |
 		      V_FW_EQ_ETH_CMD_FBMAX(X_FETCHBURSTMAX_512B) |

Modified: projects/largeSMP/sys/dev/puc/pucdata.c
==============================================================================
--- projects/largeSMP/sys/dev/puc/pucdata.c	Thu May 19 21:53:25 2011	(r222105)
+++ projects/largeSMP/sys/dev/puc/pucdata.c	Thu May 19 22:55:37 2011	(r222106)
@@ -656,6 +656,12 @@ const struct puc_cfg puc_pci_devices[] =
 	    PUC_PORT_4S, 0x10, 0, 8,
 	},
 
+	{   0x1415, 0x950a, 0x131f, 0x2030,
+	    "SIIG Cyber 2S PCIe",
+	    DEFAULT_RCLK * 10,
+	    PUC_PORT_2S, 0x10, 0, 8,
+	},
+
 	{   0x1415, 0x950a, 0xffff, 0,
 	    "Oxford Semiconductor OX16PCI954 UARTs",
 	    DEFAULT_RCLK,

Modified: projects/largeSMP/sys/fs/nfsclient/nfs_clvfsops.c
==============================================================================
--- projects/largeSMP/sys/fs/nfsclient/nfs_clvfsops.c	Thu May 19 21:53:25 2011	(r222105)
+++ projects/largeSMP/sys/fs/nfsclient/nfs_clvfsops.c	Thu May 19 22:55:37 2011	(r222106)
@@ -1079,15 +1079,21 @@ nfs_mount(struct mount *mp)
 		dirpath[0] = '\0';
 	dirlen = strlen(dirpath);
 
-	if (has_nfs_args_opt == 0 && vfs_getopt(mp->mnt_optnew, "addr",
-	    (void **)&args.addr, &args.addrlen) == 0) {
-		if (args.addrlen > SOCK_MAXADDRLEN) {
-			error = ENAMETOOLONG;
+	if (has_nfs_args_opt == 0) {
+		if (vfs_getopt(mp->mnt_optnew, "addr",
+		    (void **)&args.addr, &args.addrlen) == 0) {
+			if (args.addrlen > SOCK_MAXADDRLEN) {
+				error = ENAMETOOLONG;
+				goto out;
+			}
+			nam = malloc(args.addrlen, M_SONAME, M_WAITOK);
+			bcopy(args.addr, nam, args.addrlen);
+			nam->sa_len = args.addrlen;
+		} else {
+			vfs_mount_error(mp, "No server address");
+			error = EINVAL;
 			goto out;
 		}
-		nam = malloc(args.addrlen, M_SONAME, M_WAITOK);
-		bcopy(args.addr, nam, args.addrlen);
-		nam->sa_len = args.addrlen;
 	}
 
 	args.fh = nfh;

Modified: projects/largeSMP/sys/kern/kern_conf.c
==============================================================================
--- projects/largeSMP/sys/kern/kern_conf.c	Thu May 19 21:53:25 2011	(r222105)
+++ projects/largeSMP/sys/kern/kern_conf.c	Thu May 19 22:55:37 2011	(r222106)
@@ -981,6 +981,8 @@ destroy_devl(struct cdev *dev)
 	/* Remove name marking */
 	dev->si_flags &= ~SI_NAMED;
 
+	dev->si_refcount++;	/* Avoid race with dev_rel() */
+
 	/* If we are a child, remove us from the parents list */
 	if (dev->si_flags & SI_CHILD) {
 		LIST_REMOVE(dev, si_siblings);
@@ -997,7 +999,6 @@ destroy_devl(struct cdev *dev)
 		dev->si_flags &= ~SI_CLONELIST;
 	}
 
-	dev->si_refcount++;	/* Avoid race with dev_rel() */
 	csw = dev->si_devsw;
 	dev->si_devsw = NULL;	/* already NULL for SI_ALIAS */
 	while (csw != NULL && csw->d_purge != NULL && dev->si_threadcount) {

Modified: projects/largeSMP/sys/netinet/sctp_output.c
==============================================================================
--- projects/largeSMP/sys/netinet/sctp_output.c	Thu May 19 21:53:25 2011	(r222105)
+++ projects/largeSMP/sys/netinet/sctp_output.c	Thu May 19 22:55:37 2011	(r222106)
@@ -3129,8 +3129,8 @@ plan_d:
 	}
 #endif
 out:
-	if (sifa) {
 #ifdef INET
+	if (sifa) {
 		if (retried == 1) {
 			LIST_FOREACH(sctp_ifn, &vrf->ifnlist, next_ifn) {
 				if (dest_is_loop == 0 && SCTP_IFN_IS_IFT_LOOP(sctp_ifn)) {

Modified: projects/largeSMP/sys/nfsclient/nfs_vfsops.c
==============================================================================
--- projects/largeSMP/sys/nfsclient/nfs_vfsops.c	Thu May 19 21:53:25 2011	(r222105)
+++ projects/largeSMP/sys/nfsclient/nfs_vfsops.c	Thu May 19 22:55:37 2011	(r222106)
@@ -1149,6 +1149,10 @@ nfs_mount(struct mount *mp)
 				goto out;
 			}
 		}
+	} else if (has_addr_opt == 0) {
+		vfs_mount_error(mp, "No server address");
+		error = EINVAL;
+		goto out;
 	}
 	error = mountnfs(&args, mp, nam, args.hostname, &vp,
 	    curthread->td_ucred, negnametimeo);

Modified: projects/largeSMP/sys/sys/proc.h
==============================================================================
--- projects/largeSMP/sys/sys/proc.h	Thu May 19 21:53:25 2011	(r222105)
+++ projects/largeSMP/sys/sys/proc.h	Thu May 19 22:55:37 2011	(r222106)
@@ -157,21 +157,21 @@ struct pargs {
  * either lock is sufficient for read access, but both locks must be held
  * for write access.
  */
-struct racct;
+struct cpuset;
+struct kaioinfo;
 struct kaudit_record;
-struct td_sched;
+struct kdtrace_proc;
+struct kdtrace_thread;
+struct mqueue_notifier;
 struct nlminfo;
-struct kaioinfo;
 struct p_sched;
 struct proc;
+struct racct;
 struct sleepqueue;
+struct td_sched;
 struct thread;
 struct trapframe;
 struct turnstile;
-struct mqueue_notifier;
-struct kdtrace_proc;
-struct kdtrace_thread;
-struct cpuset;
 
 /*
  * XXX: Does this belong in resource.h or resourcevar.h instead?
@@ -185,13 +185,13 @@ struct cpuset;
  * Locking for td_rux: (t) for all fields.
  */
 struct rusage_ext {
-	u_int64_t	rux_runtime;    /* (cj) Real time. */
-	u_int64_t	rux_uticks;     /* (cj) Statclock hits in user mode. */
-	u_int64_t	rux_sticks;     /* (cj) Statclock hits in sys mode. */
-	u_int64_t	rux_iticks;     /* (cj) Statclock hits in intr mode. */
-	u_int64_t	rux_uu;         /* (c) Previous user time in usec. */
-	u_int64_t	rux_su;         /* (c) Previous sys time in usec. */
-	u_int64_t	rux_tu;         /* (c) Previous total time in usec. */
+	uint64_t	rux_runtime;    /* (cj) Real time. */
+	uint64_t	rux_uticks;     /* (cj) Statclock hits in user mode. */
+	uint64_t	rux_sticks;     /* (cj) Statclock hits in sys mode. */
+	uint64_t	rux_iticks;     /* (cj) Statclock hits in intr mode. */
+	uint64_t	rux_uu;         /* (c) Previous user time in usec. */
+	uint64_t	rux_su;         /* (c) Previous sys time in usec. */
+	uint64_t	rux_tu;         /* (c) Previous total time in usec. */
 };
 
 /*

Copied: projects/largeSMP/tools/build/options/WITHOUT_BINUTILS (from r222105, head/tools/build/options/WITHOUT_BINUTILS)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ projects/largeSMP/tools/build/options/WITHOUT_BINUTILS	Thu May 19 22:55:37 2011	(r222106, copy of r222105, head/tools/build/options/WITHOUT_BINUTILS)
@@ -0,0 +1,7 @@
+.\" $FreeBSD$
+Set to not install binutils (as, c++-filt, gconv, gnu-ar, gnu-randlib,
+ld, nm, objcopy, objdump, readelf, size and strip)
+.Bf -symbolic
+The option does not generally work for build targets, unless some alternative
+toolchain is enabled.
+.Ef

Copied: projects/largeSMP/tools/build/options/WITHOUT_GCC (from r222105, head/tools/build/options/WITHOUT_GCC)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ projects/largeSMP/tools/build/options/WITHOUT_GCC	Thu May 19 22:55:37 2011	(r222106, copy of r222105, head/tools/build/options/WITHOUT_GCC)
@@ -0,0 +1,6 @@
+.\" $FreeBSD$
+Set to not install gcc and g++.
+.Bf -symbolic
+The option does not generally work for build targets, unless some alternative
+toolchain is enabled.
+.Ef

Modified: projects/largeSMP/usr.bin/rpcgen/rpc_hout.c
==============================================================================
--- projects/largeSMP/usr.bin/rpcgen/rpc_hout.c	Thu May 19 21:53:25 2011	(r222105)
+++ projects/largeSMP/usr.bin/rpcgen/rpc_hout.c	Thu May 19 22:55:37 2011	(r222106)
@@ -500,7 +500,7 @@ pdeclaration(const char *name, declarati
 			break;
 		}
 	}
-	f_print(fout, separator);
+	fputs(separator, fout);
 }
 
 static int

Modified: projects/largeSMP/usr.bin/rpcgen/rpc_svcout.c
==============================================================================
--- projects/largeSMP/usr.bin/rpcgen/rpc_svcout.c	Thu May 19 21:53:25 2011	(r222105)
+++ projects/largeSMP/usr.bin/rpcgen/rpc_svcout.c	Thu May 19 22:55:37 2011	(r222106)
@@ -349,7 +349,7 @@ write_real_program(definition *def)
 			f_print(fout, "(");
 			/* arg name */
 			if (proc->arg_num > 1)
-				f_print(fout, proc->args.argname);
+				fputs(proc->args.argname, fout);
 			else
 				ptype(proc->args.decls->decl.prefix,
 				      proc->args.decls->decl.type, 0);

Modified: projects/largeSMP/usr.bin/rpcgen/rpc_tblout.c
==============================================================================
--- projects/largeSMP/usr.bin/rpcgen/rpc_tblout.c	Thu May 19 21:53:25 2011	(r222105)
+++ projects/largeSMP/usr.bin/rpcgen/rpc_tblout.c	Thu May 19 22:55:37 2011	(r222106)
@@ -103,7 +103,7 @@ write_table(definition *def)
 			expected = 0;
 		} else {
 			expected = 1;
-			f_print(fout, null_entry);
+			fputs(null_entry, fout);
 		}
 		for (proc = vp->procs; proc != NULL; proc = proc->next) {
 			current = atoi(proc->proc_num);
@@ -141,7 +141,7 @@ write_table(definition *def)
 		}
 
 		/* print the table trailer */
-		f_print(fout, tbl_end);
+		fputs(tbl_end, fout);
 		f_print(fout, tbl_nproc, progvers, progvers, progvers);
 	}
 }

Modified: projects/largeSMP/usr.bin/truss/amd64-fbsd.c
==============================================================================
--- projects/largeSMP/usr.bin/truss/amd64-fbsd.c	Thu May 19 21:53:25 2011	(r222105)
+++ projects/largeSMP/usr.bin/truss/amd64-fbsd.c	Thu May 19 22:55:37 2011	(r222106)
@@ -128,7 +128,7 @@ amd64_syscall_entry(struct trussinfo *tr
   /*
    * FreeBSD has two special kinds of system call redirctions --
    * SYS_syscall, and SYS___syscall.  The former is the old syscall()
-   * routine, basicly; the latter is for quad-aligned arguments.
+   * routine, basically; the latter is for quad-aligned arguments.
    */
   reg = 0;
   syscall_num = regs.r_rax;

Modified: projects/largeSMP/usr.bin/truss/amd64-fbsd32.c
==============================================================================
--- projects/largeSMP/usr.bin/truss/amd64-fbsd32.c	Thu May 19 21:53:25 2011	(r222105)
+++ projects/largeSMP/usr.bin/truss/amd64-fbsd32.c	Thu May 19 22:55:37 2011	(r222106)
@@ -136,7 +136,7 @@ amd64_fbsd32_syscall_entry(struct trussi
   /*
    * FreeBSD has two special kinds of system call redirctions --
    * SYS_syscall, and SYS___syscall.  The former is the old syscall()
-   * routine, basicly; the latter is for quad-aligned arguments.
+   * routine, basically; the latter is for quad-aligned arguments.
    */
   syscall_num = regs.r_rax;
   switch (syscall_num) {

Modified: projects/largeSMP/usr.bin/truss/i386-fbsd.c
==============================================================================
--- projects/largeSMP/usr.bin/truss/i386-fbsd.c	Thu May 19 21:53:25 2011	(r222105)
+++ projects/largeSMP/usr.bin/truss/i386-fbsd.c	Thu May 19 22:55:37 2011	(r222106)
@@ -131,7 +131,7 @@ i386_syscall_entry(struct trussinfo *tru
   /*
    * FreeBSD has two special kinds of system call redirctions --
    * SYS_syscall, and SYS___syscall.  The former is the old syscall()
-   * routine, basicly; the latter is for quad-aligned arguments.
+   * routine, basically; the latter is for quad-aligned arguments.
    */
   syscall_num = regs.r_eax;
   switch (syscall_num) {

Modified: projects/largeSMP/usr.bin/truss/ia64-fbsd.c
==============================================================================
--- projects/largeSMP/usr.bin/truss/ia64-fbsd.c	Thu May 19 21:53:25 2011	(r222105)
+++ projects/largeSMP/usr.bin/truss/ia64-fbsd.c	Thu May 19 22:55:37 2011	(r222106)
@@ -128,7 +128,7 @@ ia64_syscall_entry(struct trussinfo *tru
   /*
    * FreeBSD has two special kinds of system call redirctions --
    * SYS_syscall, and SYS___syscall.  The former is the old syscall()
-   * routine, basicly; the latter is for quad-aligned arguments.
+   * routine, basically; the latter is for quad-aligned arguments.
    */
   syscall_num = regs.r_scratch.gr15;		/* XXX double-check. */
   if (syscall_num == SYS_syscall || syscall_num == SYS___syscall)

Modified: projects/largeSMP/usr.bin/truss/main.c
==============================================================================
--- projects/largeSMP/usr.bin/truss/main.c	Thu May 19 21:53:25 2011	(r222105)
+++ projects/largeSMP/usr.bin/truss/main.c	Thu May 19 22:55:37 2011	(r222106)
@@ -33,7 +33,7 @@
 __FBSDID("$FreeBSD$");
 
 /*
- * The main module for truss.  Suprisingly simple, but, then, the other
+ * The main module for truss.  Surprisingly simple, but, then, the other
  * files handle the bulk of the work.  And, of course, the kernel has to
  * do a lot of the work :).
  */

Modified: projects/largeSMP/usr.bin/truss/powerpc-fbsd.c
==============================================================================
--- projects/largeSMP/usr.bin/truss/powerpc-fbsd.c	Thu May 19 21:53:25 2011	(r222105)
+++ projects/largeSMP/usr.bin/truss/powerpc-fbsd.c	Thu May 19 22:55:37 2011	(r222106)
@@ -137,7 +137,7 @@ powerpc_syscall_entry(struct trussinfo *
   /*
    * FreeBSD has two special kinds of system call redirctions --
    * SYS_syscall, and SYS___syscall.  The former is the old syscall()
-   * routine, basicly; the latter is for quad-aligned arguments.
+   * routine, basically; the latter is for quad-aligned arguments.
    */
   regargs = NARGREG;
   syscall_num = regs.fixreg[0];

Modified: projects/largeSMP/usr.bin/truss/powerpc64-fbsd.c
==============================================================================
--- projects/largeSMP/usr.bin/truss/powerpc64-fbsd.c	Thu May 19 21:53:25 2011	(r222105)
+++ projects/largeSMP/usr.bin/truss/powerpc64-fbsd.c	Thu May 19 22:55:37 2011	(r222106)
@@ -129,7 +129,7 @@ powerpc64_syscall_entry(struct trussinfo
   /*
    * FreeBSD has two special kinds of system call redirctions --
    * SYS_syscall, and SYS___syscall.  The former is the old syscall()
-   * routine, basicly; the latter is for quad-aligned arguments.
+   * routine, basically; the latter is for quad-aligned arguments.
    */
   regargs = NARGREG;
   syscall_num = regs.fixreg[0];

Modified: projects/largeSMP/usr.bin/truss/sparc64-fbsd.c
==============================================================================
--- projects/largeSMP/usr.bin/truss/sparc64-fbsd.c	Thu May 19 21:53:25 2011	(r222105)
+++ projects/largeSMP/usr.bin/truss/sparc64-fbsd.c	Thu May 19 22:55:37 2011	(r222106)
@@ -135,7 +135,7 @@ sparc64_syscall_entry(struct trussinfo *
   /*
    * FreeBSD has two special kinds of system call redirctions --
    * SYS_syscall, and SYS___syscall.  The former is the old syscall()
-   * routine, basicly; the latter is for quad-aligned arguments.
+   * routine, basically; the latter is for quad-aligned arguments.
    */
   syscall_num = regs.r_global[1];
   if (syscall_num == SYS_syscall || syscall_num == SYS___syscall) {

Modified: projects/largeSMP/usr.sbin/pc-sysinstall/backend/functions-disk.sh
==============================================================================
--- projects/largeSMP/usr.sbin/pc-sysinstall/backend/functions-disk.sh	Thu May 19 21:53:25 2011	(r222105)
+++ projects/largeSMP/usr.sbin/pc-sysinstall/backend/functions-disk.sh	Thu May 19 22:55:37 2011	(r222106)
@@ -582,17 +582,9 @@ stop_gjournal()
 # Function to wipe the potential backup gpt table from a disk
 clear_backup_gpt_table()
 {
-  # Get the disk block size
-  local dSize="`gpart show $1 | grep $1 | tr -s ' ' | cut -d ' ' -f 3`"
-
-  # Make sure this is a valid number
-  is_num "${dSize}" >/dev/null 2>/dev/null
-  [ $? -ne 0 ] && return

*** DIFF OUTPUT TRUNCATED AT 1000 LINES ***



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201105192255.p4JMtbvE056541>