source: rtems/testsuites/libtests/dl07/dl-o5.h @ 03139d5b

5
Last change on this file since 03139d5b was 03139d5b, checked in by Chris Johns <chrisj@…>, on 11/20/18 at 03:56:11

libdl: Add object file dependencies to track references

Tracking references lets us manage when an object file can be
unloaded. If an object file has references to it, it cannot be
unloaded.

Modules that depend on each other cannot be unloaded.

Updates #3605

  • Property mode set to 100644
File size: 759 bytes
Line 
1/*
2 * Copyright (c) 2018 Chris Johns <chrisj@rtems.org>.
3 * All rights reserved.
4 *
5 * The license and distribution terms for this file may be
6 * found in the file LICENSE in this distribution or at
7 * http://www.rtems.org/license/LICENSE.
8 */
9
10#include <stdint.h>
11
12#if !defined(DL05_H)
13#define DL05_H
14
15/*
16 * A set of variables in dl-o5 referenced by dl-03 and unresolved when dl-o3 is
17 * loaded. They are all uninitialised variables with various sizes in a mixed
18 * order to get various alignments. These and dl-o4 variables are designed to
19 * force the dependent tables to grow.
20 */
21
22extern uint64_t dl05_unresolv_1;
23extern uint16_t dl05_unresolv_2;
24extern uint32_t dl05_unresolv_3;
25extern uint8_t  dl05_unresolv_4;
26extern int64_t  dl05_unresolv_5;
27
28#endif
Note: See TracBrowser for help on using the repository browser.