aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Preud'homme <thomas.preudhomme@arm.com>2016-09-26 11:17:20 +0100
committerThomas Preud'homme <thomas.preudhomme@arm.com>2016-09-26 11:17:20 +0100
commit9dd9f850edab6ea48293ef6b1000ce178e9016f0 (patch)
treeb7f0cb7b2d851c1c451b28540d580c6edb094553
parent0fa7cd5ec7c317690036f27403b116c2654025b5 (diff)
downloadgdb-users/ARM/embedded-binutils-2_26-branch.zip
gdb-users/ARM/embedded-binutils-2_26-branch.tar.gz
gdb-users/ARM/embedded-binutils-2_26-branch.tar.bz2
Backport from mainline 2016-02-16 Nick Clifton <nickc@redhat.com> gas/ * doc/as.texinfo (Section): Fix up texinfo snafus in previous update.
-rw-r--r--gas/ChangeLog.arm8
-rw-r--r--gas/doc/as.texinfo17
2 files changed, 19 insertions, 6 deletions
diff --git a/gas/ChangeLog.arm b/gas/ChangeLog.arm
index 20ece1e..e265535 100644
--- a/gas/ChangeLog.arm
+++ b/gas/ChangeLog.arm
@@ -1,6 +1,14 @@
2016-09-26 Andre Vieira <andre.simoesdiasvieira@arm.com>
Backport from mainline
+ 2016-02-16 Nick Clifton <nickc@redhat.com>
+
+ * doc/as.texinfo (Section): Fix up texinfo snafus in previous
+ update.
+
+2016-09-25 Andre Vieira <andre.simoesdiasvieira@arm.com>
+
+ Backport from mainline
2016-02-15 Nick Clifton <nickc@redhat.com>
* doc/as.texinfo (.section): Document that numeric values can now
diff --git a/gas/doc/as.texinfo b/gas/doc/as.texinfo
index 4542b93..25e85cf 100644
--- a/gas/doc/as.texinfo
+++ b/gas/doc/as.texinfo
@@ -6232,6 +6232,7 @@ ways:
If the optional argument is quoted, it is taken as flags to use for the
section. Each flag is a single character. The following flags are recognized:
+
@table @code
@item b
bss section (uninitialized data)
@@ -6320,6 +6321,7 @@ macros just for that purpose.
The optional @var{flags} argument is a quoted string which may contain any
combination of the following characters:
+
@table @code
@item a
section is allocatable
@@ -6339,13 +6341,13 @@ section is a member of a section group
section is used for thread-local-storage
@item ?
section is a member of the previously-current section's group, if any
-@item @var{number}
+@item @code{<number>}
a numeric value indicating the bits to be set in the ELF section header's flags
field. Note - if one or more of the alphabetic characters described above is
also included in the flags field, their bit values will be ORed into the
resulting value.
-@item @{target specific}
-some targets extend this list with their own types
+@item @code{<target specific>}
+some targets extend this list with their own flag characters
@end table
Note - once a section's flags have been set they cannot be changed. There are
@@ -6353,9 +6355,10 @@ 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.
The optional @var{type} argument may contain one of the following constants:
+
@table @code
@item @@progbits
section contains data
@@ -6369,9 +6372,9 @@ section contains an array of pointers to init functions
section contains an array of pointers to finish functions
@item @@preinit_array
section contains an array of pointers to pre-init functions
-@item @@@var{number}
+@item @@@code{<number>}
a numeric value to be set as the ELF section header's type field.
-@item @@@{target specific}
+@item @@@code{<target specific>}
some targets extend this list with their own types
@end table
@@ -6412,6 +6415,7 @@ be present along with an additional field like this:
The @var{GroupName} field specifies the name of the section group to which this
particular section belongs. The optional linkage field can contain:
+
@table @code
@item comdat
indicates that only one copy of this section should be retained
@@ -6447,6 +6451,7 @@ directive for compatibility with the Solaris assembler:
Note that the section name is quoted. There may be a sequence of comma
separated flags:
+
@table @code
@item #alloc
section is allocatable