diff options
Diffstat (limited to 'gas/doc')
-rw-r--r-- | gas/doc/as.texi | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/gas/doc/as.texi b/gas/doc/as.texi index b88c1f9..c0baa94 100644 --- a/gas/doc/as.texi +++ b/gas/doc/as.texi @@ -4362,6 +4362,7 @@ Some machine configurations provide additional directives. * Altmacro:: @code{.altmacro} * Ascii:: @code{.ascii "@var{string}"}@dots{} * Asciz:: @code{.asciz "@var{string}"}@dots{} +* Attach_to_group:: @code{.attach_to_group @var{name}} * Balign:: @code{.balign [@var{abs-expr}[, @var{abs-expr}]]} * Bundle directives:: @code{.bundle_align_mode @var{abs-expr}}, etc * Byte:: @code{.byte @var{expressions}} @@ -4663,6 +4664,13 @@ trailing zero byte) into consecutive addresses. @code{.asciz} is just like @code{.ascii}, but each string is followed by a zero byte. The ``z'' in @samp{.asciz} stands for ``zero''. +@node Attach_to_group +@section @code{.attach_to_group @var{name}} +Attaches the current section to the named group. This is like declaring +the section with the @code{G} attribute, but can be done after the section +has been created. Note if the group section does not exist at the point that +this directive is used then it will be created. + @node Balign @section @code{.balign[wl] [@var{abs-expr}[, @var{abs-expr}[, @var{abs-expr}]]]} @@ -6663,7 +6671,9 @@ a few exceptions to this rule however. Processor and application specific flags can be added to an already defined section. The @code{.interp}, @code{.strtab} and @code{.symtab} sections can have the allocate flag (@code{a}) set after they are initially defined, and the @code{.note-GNU-stack} -section may have the executable (@code{x}) flag added. +section may have the executable (@code{x}) flag added. Also note that the +@code{.attach_to_group} directive can be used to add a section to a group even +if the section was not originally declared to be part of that group. The optional @var{type} argument may contain one of the following constants: |