summaryrefslogtreecommitdiffstats
path: root/contrib/binutils/bfd/doc/linker.texi
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/binutils/bfd/doc/linker.texi')
-rw-r--r--contrib/binutils/bfd/doc/linker.texi17
1 files changed, 16 insertions, 1 deletions
diff --git a/contrib/binutils/bfd/doc/linker.texi b/contrib/binutils/bfd/doc/linker.texi
index f2e2bc1..8a55006 100644
--- a/contrib/binutils/bfd/doc/linker.texi
+++ b/contrib/binutils/bfd/doc/linker.texi
@@ -258,7 +258,7 @@ link. These files are linked through the @code{link_next} field
of the @code{bfd} structure.
Each section in the output file will have a list of
-@code{link_order} structures attached to the @code{link_order_head}
+@code{link_order} structures attached to the @code{map_head.link_order}
field (the @code{link_order} structure is defined in
@code{bfdlink.h}). These structures describe how to create the
contents of the output section in terms of the contents of
@@ -363,3 +363,18 @@ reloceatable or final link.
@end example
+@findex bfd_section_already_linked
+@subsubsection @code{bfd_section_already_linked}
+@strong{Synopsis}
+@example
+void bfd_section_already_linked (bfd *abfd, asection *sec);
+@end example
+@strong{Description}@*
+Check if @var{sec} has been already linked during a reloceatable
+or final link.
+@example
+#define bfd_section_already_linked(abfd, sec) \
+ BFD_SEND (abfd, _section_already_linked, (abfd, sec))
+
+@end example
+
OpenPOWER on IntegriCloud