Skip to content
Snippets Groups Projects
Commit 6550d4a1 authored by Jonathan Wilkes's avatar Jonathan Wilkes
Browse files

ported commit "*backported support for l_arm extensions (needs testig for

  regressions)"
336cbc5e105eade8da97918d9f7687448e789392
parent d811ec62
No related branches found
No related tags found
No related merge requests found
...@@ -38,23 +38,27 @@ a fat binary or an indication of the instruction set. */ ...@@ -38,23 +38,27 @@ a fat binary or an indication of the instruction set. */
#ifdef __FreeBSD__ #ifdef __FreeBSD__
static char sys_dllextent[] = ".b_i386", sys_dllextent2[] = ".pd_freebsd"; static char sys_dllextent[] = ".b_i386", sys_dllextent2[] = ".pd_freebsd";
#endif #elif defined(__linux__) || defined(__FreeBSD_kernel__) || defined(__GNU__)
#ifdef __linux__ static char sys_dllextent2[] = ".pd_linux";
#ifdef __x86_64__ # ifdef __x86_64__
static char sys_dllextent[] = ".l_ia64", sys_dllextent2[] = ".pd_linux"; static char sys_dllextent[] = ".l_ia64"; // this should be .l_x86_64 or .l_amd64
#else # elif defined(__i386__) || defined(_M_IX86)
static char sys_dllextent[] = ".l_i386", sys_dllextent2[] = ".pd_linux"; static char sys_dllextent[] = ".l_i386";
#endif # elif defined(__arm__)
#endif static char sys_dllextent[] = ".l_arm";
#ifdef __APPLE__ # else
#ifndef MACOSX3 static char sys_dllextent[] = ".so";
# endif
#elif defined(__APPLE__)
# ifndef MACOSX3
static char sys_dllextent[] = ".d_fat", sys_dllextent2[] = ".pd_darwin"; static char sys_dllextent[] = ".d_fat", sys_dllextent2[] = ".pd_darwin";
#else # else
static char sys_dllextent[] = ".d_ppc", sys_dllextent2[] = ".pd_darwin"; static char sys_dllextent[] = ".d_ppc", sys_dllextent2[] = ".pd_darwin";
#endif # endif
#endif #elif defined(_WIN32) || defined(__CYGWIN__)
#ifdef MSW
static char sys_dllextent[] = ".m_i386", sys_dllextent2[] = ".dll"; static char sys_dllextent[] = ".m_i386", sys_dllextent2[] = ".dll";
#else
static char sys_dllextent[] = ".so", sys_dllextent2[] = ".so";
#endif #endif
/* maintain list of loaded modules to avoid repeating loads */ /* maintain list of loaded modules to avoid repeating loads */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment