From 088827831af835a7935ab4cce91f511eadaf43e4 Mon Sep 17 00:00:00 2001
From: David Edelsohn <dje@gcc.gnu.org>
Date: Thu, 17 Jan 2002 17:45:21 -0500
Subject: [PATCH] - Add more information about interposing functions using
 runtime-linking.

From-SVN: r48970
---
 gcc/doc/trouble.texi | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/gcc/doc/trouble.texi b/gcc/doc/trouble.texi
index fb6e9832653a..09026fe57f02 100644
--- a/gcc/doc/trouble.texi
+++ b/gcc/doc/trouble.texi
@@ -312,6 +312,13 @@ application. Applications are not required to use the
 @file{libstdc++.a} library which is not dependent on the symbol
 merging semantics will continue to function correctly.
 
+@item
+An application can interpose its own definition of functions for
+functions invoked by @file{libstdc++.a} with ``runtime-linking''
+enabled on AIX.  To accomplish this the application must be linked
+with ``runtime-linking'' option and the functions explicitly must be
+exported by the application (@option{-Wl,-brtl,-bE:exportfile}).
+
 @item
 AIX on the RS/6000 provides support (NLS) for environments outside of
 the United States.  Compilers and assemblers use NLS to support
-- 
GitLab