Make new functions static.

Rearrange wording of documentation.
This commit is contained in:
Nick Clifton
2008-09-03 15:44:33 +00:00
parent a6c24e68b9
commit 704209c00f
2 changed files with 7 additions and 8 deletions

View File

@ -684,6 +684,7 @@ static const arch_entry cpu_arch[] =
CPU_SSE5_FLAGS }, CPU_SSE5_FLAGS },
}; };
#ifdef I386COFF
/* Like s_lcomm_internal in gas/read.c but the alignment string /* Like s_lcomm_internal in gas/read.c but the alignment string
is allowed to be optional. */ is allowed to be optional. */
@ -718,13 +719,12 @@ pe_lcomm_internal (int needs_align, symbolS *symbolP, addressT size)
return symbolP; return symbolP;
} }
void pe_lcomm (int); static void
void
pe_lcomm (int needs_align) pe_lcomm (int needs_align)
{ {
s_comm_internal (needs_align * 2, pe_lcomm_internal); s_comm_internal (needs_align * 2, pe_lcomm_internal);
} }
#endif
const pseudo_typeS md_pseudo_table[] = const pseudo_typeS md_pseudo_table[] =
{ {

View 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 Reserve @var{length} (an absolute expression) bytes for a local common
denoted by @var{symbol}. The section and value of @var{symbol} are 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 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} section, so that at run-time the bytes start off zeroed. Since
is not declared global (@pxref{Global,,@code{.global}}), so is normally @var{symbol} is not declared global, it is normally not visible to
not visible to @code{@value{LD}}. The optional third parameter, @code{@value{LD}}. The optional third parameter, @var{alignment},
@var{alignment}, specifies the desired alignment of the symbol in the specifies the desired alignment of the symbol in the bss section.
bss section.
This directive is only available for COFF based x86 targets. This directive is only available for COFF based x86 targets.