aboutsummaryrefslogtreecommitdiff
path: root/ld/ld.texinfo
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2005-01-23 07:43:52 +0000
committerAlan Modra <amodra@gmail.com>2005-01-23 07:43:52 +0000
commit7e69709c9e7e256d7ae3da3fd7c06c97b3fa41c9 (patch)
tree5b3c833ab9227c3ad0b1423d81c476fa1167f6e2 /ld/ld.texinfo
parentb5666f2f09f4ae51777c3705202b25f325df0702 (diff)
downloadgdb-7e69709c9e7e256d7ae3da3fd7c06c97b3fa41c9.zip
gdb-7e69709c9e7e256d7ae3da3fd7c06c97b3fa41c9.tar.gz
gdb-7e69709c9e7e256d7ae3da3fd7c06c97b3fa41c9.tar.bz2
* ld.texinfo (Output Section Keywords <CONSTRUCTORS>): Correct
__DTOR_LIST__ description.
Diffstat (limited to 'ld/ld.texinfo')
-rw-r--r--ld/ld.texinfo4
1 files changed, 3 insertions, 1 deletions
diff --git a/ld/ld.texinfo b/ld/ld.texinfo
index 9897530..5452fe9 100644
--- a/ld/ld.texinfo
+++ b/ld/ld.texinfo
@@ -3396,7 +3396,9 @@ linker to place constructor information in the output section where the
ignored for other object file formats.
The symbol @w{@code{__CTOR_LIST__}} marks the start of the global
-constructors, and the symbol @w{@code{__DTOR_LIST}} marks the end. The
+constructors, and the symbol @w{@code{__CTOR_END__}} marks the end.
+Similarly, @w{@code{__DTOR_LIST__}} and @w{@code{__DTOR_END__}} mark
+the start and end of the global destructors. The
first word in the list is the number of entries, followed by the address
of each constructor or destructor, followed by a zero word. The
compiler must arrange to actually run the code. For these object file