From 7e69709c9e7e256d7ae3da3fd7c06c97b3fa41c9 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Sun, 23 Jan 2005 07:43:52 +0000 Subject: * ld.texinfo (Output Section Keywords ): Correct __DTOR_LIST__ description. --- ld/ChangeLog | 5 +++++ ld/ld.texinfo | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ld/ChangeLog b/ld/ChangeLog index 52c5c3d..31c44b5 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,5 +1,10 @@ 2005-01-23 Alan Modra + * ld.texinfo (Output Section Keywords ): Correct + __DTOR_LIST__ description. + +2005-01-23 Alan Modra + * ld.texinfo (Location Counter ): Document effects of orphan section placement, and ". = ." workaround. * Makefile.in: Regenerate. 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 -- cgit v1.1