source: rtems/testsuites/libtests/dl07/dl-o4.h @ 95c1921

5
Last change on this file since 95c1921 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: 789 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#if !defined(DL04_H)
11#define DL04_H
12
13/*
14 * A set of variables in dl-o4 referenced by dl-03 and unresolved when dl-o3 is
15 * loaded. They are all uninitialised variables with various sizes in a mixed
16 * order to get various alignments. These and dl-o5 variables are designed to
17 * force the dependent tables to grow.
18 */
19
20extern int         dl04_unresolv_1;
21extern float       dl04_unresolv_2;
22extern char        dl04_unresolv_3;
23extern char*       dl04_unresolv_4;
24extern const int   dl04_unresolv_5;
25extern const char* dl04_unresolv_6;
26
27#endif
Note: See TracBrowser for help on using the repository browser.