diff options
author | Nick Clifton <nickc@redhat.com> | 2008-09-03 15:44:33 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2008-09-03 15:44:33 +0000 |
commit | 704209c00fb8c3fdb54c6e30d2793948c0e3547b (patch) | |
tree | 6703d1a1156c6fa88c8b64585268fe074b87a637 | |
parent | a6c24e68b9c0bde0587b9fbf2a50aa09c58c207c (diff) | |
download | gdb-704209c00fb8c3fdb54c6e30d2793948c0e3547b.zip gdb-704209c00fb8c3fdb54c6e30d2793948c0e3547b.tar.gz gdb-704209c00fb8c3fdb54c6e30d2793948c0e3547b.tar.bz2 |
Make new functions static.
Rearrange wording of documentation.
-rw-r--r-- | gas/config/tc-i386.c | 6 | ||||
-rw-r--r-- | 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 7744b16..539ea79 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 731bda2..98c97e4 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. |