aboutsummaryrefslogtreecommitdiff
path: root/gas/doc
diff options
context:
space:
mode:
authorPaul Brook <paul@codesourcery.com>2004-09-08 20:52:49 +0000
committerPaul Brook <paul@codesourcery.com>2004-09-08 20:52:49 +0000
commit10b016c223f165a06dbd20e46307c9a0bfbf0ee2 (patch)
treeea3895ea85fd89f144817cb51868ffd997141e03 /gas/doc
parentb26a6851b5c525e74539c85ac34a5e1e417f18e0 (diff)
downloadgdb-10b016c223f165a06dbd20e46307c9a0bfbf0ee2.zip
gdb-10b016c223f165a06dbd20e46307c9a0bfbf0ee2.tar.gz
gdb-10b016c223f165a06dbd20e46307c9a0bfbf0ee2.tar.bz2
* config/obj-elf.c (obj_elf_section_type): Handle init_array,
fini_array and preinit_array section types. * config/tc-ia64.c (ia64_elf_section_type): Remove init_array and fini_array. * doc/as.texinfo: Document extra section types.
Diffstat (limited to 'gas/doc')
-rw-r--r--gas/doc/as.texinfo8
1 files changed, 8 insertions, 0 deletions
diff --git a/gas/doc/as.texinfo b/gas/doc/as.texinfo
index 89868c2..23de55f 100644
--- a/gas/doc/as.texinfo
+++ b/gas/doc/as.texinfo
@@ -5291,8 +5291,16 @@ section contains data
section does not contain data (i.e., section only occupies space)
@item @@note
section contains data which is used by things other than the program
+@item @@init_array
+section contains an array of pointers to init functions
+@item @@fini_array
+section contains an array of pointers to finish functions
+@item @@preinit_array
+section contains an array of pointers to pre-init functions
@end table
+Many targets only support the first three section types.
+
Note on targets where the @code{@@} character is the start of a comment (eg
ARM) then another character is used instead. For example the ARM port uses the
@code{%} character.