From d071918cd5748e5a2d656533acfd55a64a7bbe20 Mon Sep 17 00:00:00 2001 From: nickc Date: Wed, 3 Sep 2008 15:44:33 +0000 Subject: [PATCH] Make new functions static. Rearrange wording of documentation. --- gas/config/tc-i386.c | 6 +++--- gas/doc/c-i386.texi | 9 ++++----- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c index 7744b16f51..539ea79512 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 731bda2d72..98c97e46d6 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. -- 2.11.0