diff options
author | dfr <dfr@FreeBSD.org> | 1998-04-30 07:48:02 +0000 |
---|---|---|
committer | dfr <dfr@FreeBSD.org> | 1998-04-30 07:48:02 +0000 |
commit | ff6b56dce1f6bb2a9a2abb85e17615af33850b1e (patch) | |
tree | 9e2c95c6e6c4a487c0a2e99bce1cef5f7b2553e6 /libexec/rtld-elf/rtld.h | |
parent | e2f2fa5616fb3a8268843da4ed303d7397e839ca (diff) | |
download | FreeBSD-src-ff6b56dce1f6bb2a9a2abb85e17615af33850b1e.zip FreeBSD-src-ff6b56dce1f6bb2a9a2abb85e17615af33850b1e.tar.gz |
Add GDB support. The method and some of the code came from NetBSD's elf
runtime linker.
Diffstat (limited to 'libexec/rtld-elf/rtld.h')
-rw-r--r-- | libexec/rtld-elf/rtld.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libexec/rtld-elf/rtld.h b/libexec/rtld-elf/rtld.h index cbd7d8b..c5343a8 100644 --- a/libexec/rtld-elf/rtld.h +++ b/libexec/rtld-elf/rtld.h @@ -22,7 +22,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: rtld.h,v 1.3 1998/03/06 14:00:09 jdp Exp $ + * $Id: rtld.h,v 1.1.1.1 1998/03/07 19:24:35 jdp Exp $ */ #ifndef RTLD_H /* { */ @@ -30,6 +30,7 @@ #include <sys/types.h> +#include <link.h> #include <elf.h> #include <stddef.h> @@ -108,6 +109,8 @@ typedef struct Struct_Obj_Entry { bool rtld; /* True if this is the dynamic linker */ bool textrel; /* True if there are relocations to text seg */ bool symbolic; /* True if generated with "-Bsymbolic" */ + + struct link_map linkmap; /* for GDB */ } Obj_Entry; #define RTLD_MAGIC 0xd550b87a |