summaryrefslogtreecommitdiffstats
path: root/images/user/libdl.ditaa
blob: c317dd17cba747037ebf214a4134a9e1272e6f4e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
'
' Executable debugging : QEMU
'
' Copyright (c) 2018 Chris Johns <chrisj@rtems.org>
' 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