Make new functions static.
authorNick Clifton <nickc@redhat.com>
Wed, 3 Sep 2008 15:44:33 +0000 (15:44 +0000)
committerNick Clifton <nickc@redhat.com>
Wed, 3 Sep 2008 15:44:33 +0000 (15:44 +0000)
Rearrange wording of documentation.

gas/config/tc-i386.c
gas/doc/c-i386.texi

index 7744b16..539ea79 100644 (file)
@@ -684,6 +684,7 @@ static const arch_entry cpu_arch[] =
     CPU_SSE5_FLAGS },
 };
 
+#ifdef I386COFF
 /* Like s_lcomm_internal in gas/read.c but the alignment string
    is allowed to be optional.  */
 
@@ -718,13 +719,12 @@ pe_lcomm_internal (int needs_align, symbolS *symbolP, addressT size)
   return symbolP;
 }
 
-void pe_lcomm (int);
-
-void
+static void
 pe_lcomm (int needs_align)
 {
   s_comm_internal (needs_align * 2, pe_lcomm_internal);
 }
+#endif
 
 const pseudo_typeS md_pseudo_table[] =
 {
index 731bda2..98c97e4 100644 (file)
@@ -206,11 +206,10 @@ The @code{.att_syntax} and @code{.intel_syntax} directives will take precedent.
 Reserve @var{length} (an absolute expression) bytes for a local common
 denoted by @var{symbol}.  The section and value of @var{symbol} are
 those of the new local common.  The addresses are allocated in the bss
-section, so that at run-time the bytes start off zeroed.  @var{Symbol}
-is not declared global (@pxref{Global,,@code{.global}}), so is normally
-not visible to @code{@value{LD}}.  The optional third parameter,
-@var{alignment}, specifies the desired alignment of the symbol in the
-bss section.
+section, so that at run-time the bytes start off zeroed.  Since
+@var{symbol} is not declared global, it is normally not visible to
+@code{@value{LD}}.  The optional third parameter, @var{alignment},
+specifies the desired alignment of the symbol in the bss section.
 
 This directive is only available for COFF based x86 targets.