diff options
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. |