From: Nick Clifton Date: Wed, 3 Sep 2008 15:44:33 +0000 (+0000) Subject: Make new functions static. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=704209c00fb8c3fdb54c6e30d2793948c0e3547b;p=binutils-gdb.git Make new functions static. Rearrange wording of documentation. --- diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c index 7744b16f513..539ea795122 100644 --- a/gas/config/tc-i386.c +++ b/gas/config/tc-i386.c @@ -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[] = { diff --git a/gas/doc/c-i386.texi b/gas/doc/c-i386.texi index 731bda2d72d..98c97e46d69 100644 --- a/gas/doc/c-i386.texi +++ b/gas/doc/c-i386.texi @@ -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.