forked from Imagelibrary/rtems
- Trampolines or fixups for veneers provide long jump support for instruciton sets that implement short relative address branches. The linker provides trampolines when creating a static image. This patch adds trampoline support to libdl and the ARM architecture. - The dl09 test requires enough memory so modules are outside the relative branch instruction ranges for the architecture. Updates #3685
22 lines
468 B
C
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
|