Files
rtems/testsuites/libtests/dl07/dl-load.h
Chris Johns 03139d5b1c 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
2018-11-22 12:43:31 +11:00

22 lines
468 B
C

/*
* Copyright (c) 2014, 2018 Chris Johns <chrisj@rtems.org>. All rights reserved.
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rtems.org/license/LICENSE.
*/
#include <string.h>
#if !defined(_DL_LOAD_H_)
#define _DL_LOAD_H_
static inline const char* dl_localise_file (const char* file)
{
return (const char*) strstr (file, "testsuites");
}
int dl_load_test(void);
#endif