From 8a73acb71305c58c6ea58aa0da84d4adb4c125cc Mon Sep 17 00:00:00 2001 From: Chris Johns Date: Fri, 15 Feb 2019 16:03:59 +1100 Subject: user: Add a Dynamic Loader section. --- images/user/libdl.ditaa | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 images/user/libdl.ditaa (limited to 'images/user/libdl.ditaa') diff --git a/images/user/libdl.ditaa b/images/user/libdl.ditaa new file mode 100644 index 0000000..c317dd1 --- /dev/null +++ b/images/user/libdl.ditaa @@ -0,0 +1,42 @@ +' +' Executable debugging : QEMU +' +' Copyright (c) 2018 Chris Johns +' All rights reserved. +' +@startditaa + + +----------------------------------------+ + /--------------------------\ | RTL (libdl) | + | RTEMS File System | | | + | | | +----------+ /---------------\ | + | | /------->| archives |<--->| lib symbols | | + | +---------------------+ | | | +----------+ \---------------/ | + | | /etc/libdl.conf |-----+ | ^ | + | +---------------------+ | | | | | + | | | | | | + | +---------------------+ | | | V | + | | /lib/librtemscpu.a | | | | +-------------+ /-------------\ | + | | /lib/librtemsbsp.a |-----/ /----->| link editor |<--->| symbols | | + | | /lib/libc.a | | | | +-------------+ \-------------/ | + | | /lib/libm.a | | | | ^ ^ | + | | /lib/libgcc.a | | | | | | | + | +---------------------+ | | | | V | + | | | | | /---------------\ | + | +---------------------+ | | | +----->| objects | | + | | /app/foo.o |-------/ | | \---------------/ | + | +---------------------+ | | | ^ | + \--------------------------/ | | | | + | | | | + | | /------+--------\ | + | +----->| unresolved | | + | | | symbols | | + | | \---------------/ | + | | | + +---------|------------------------------+ + | + V + /----------------------------------\ + | target memory | + \----------------------------------/ +@endditaa -- cgit v1.2.3