diff options
author | Arnaud Charlet <charlet@gcc.gnu.org> | 2014-01-23 17:56:32 +0100 |
---|---|---|
committer | Arnaud Charlet <charlet@gcc.gnu.org> | 2014-01-23 17:56:32 +0100 |
commit | 7e97e1742acd7bd89f44af38315ec93004b90207 (patch) | |
tree | c58e15f3f6daffe8f22efdf5298f0508d132a649 /gcc | |
parent | 8bdc02c2379551ab629ab761eb5b916fac70178b (diff) | |
download | gcc-7e97e1742acd7bd89f44af38315ec93004b90207.zip gcc-7e97e1742acd7bd89f44af38315ec93004b90207.tar.gz gcc-7e97e1742acd7bd89f44af38315ec93004b90207.tar.bz2 |
Minor editing.
From-SVN: r206989
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ada/gnat_rm.texi | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/gcc/ada/gnat_rm.texi b/gcc/ada/gnat_rm.texi index adf4ec2..a4b47d9 100644 --- a/gcc/ada/gnat_rm.texi +++ b/gcc/ada/gnat_rm.texi @@ -4249,14 +4249,15 @@ pragma Linker_Section ( @end smallexample @noindent -@var{LOCAL_NAME} must refer to an object that is declared at the library -level. This pragma specifies the name of the linker section for the given -entity. It is equivalent to @code{__attribute__((section))} in GNU C and -causes @var{LOCAL_NAME} to be placed in the @var{static_string_EXPRESSION} -section of the executable (assuming the linker doesn't rename the section). - -The compiler normally places library-level objects in standard sections -depending on their type: procedures and functions generally go in the +@var{LOCAL_NAME} must refer to an object or a subprogram that is +declared at the library level. This pragma specifies the name of the +linker section for the given entity. It is equivalent to +@code{__attribute__((section))} in GNU C and causes @var{LOCAL_NAME} to +be placed in the @var{static_string_EXPRESSION} section of the +executable (assuming the linker doesn't rename the section). + +The compiler normally places library-level entities in standard sections +depending on the class: procedures and functions generally go in the @code{.text} section, initialized variables in the @code{.data} section and uninitialized variables in the @code{.bss} section. |