Commit 7e97e174 by Arnaud Charlet

Minor editing.

From-SVN: r206989
parent 8bdc02c2
...@@ -4249,14 +4249,15 @@ pragma Linker_Section ( ...@@ -4249,14 +4249,15 @@ pragma Linker_Section (
@end smallexample @end smallexample
@noindent @noindent
@var{LOCAL_NAME} must refer to an object that is declared at the library @var{LOCAL_NAME} must refer to an object or a subprogram that is
level. This pragma specifies the name of the linker section for the given declared at the library level. This pragma specifies the name of the
entity. It is equivalent to @code{__attribute__((section))} in GNU C and linker section for the given entity. It is equivalent to
causes @var{LOCAL_NAME} to be placed in the @var{static_string_EXPRESSION} @code{__attribute__((section))} in GNU C and causes @var{LOCAL_NAME} to
section of the executable (assuming the linker doesn't rename the section). 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 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 @code{.text} section, initialized variables in the @code{.data} section
and uninitialized variables in the @code{.bss} section. and uninitialized variables in the @code{.bss} section.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment