Fix Linux/PPC64 runtime
This fixes an error while loading shared libraries: libardour.so R_PPC64_ADDR32 reloc at 0x... for symbol `' out of range Treating a local as an immediate value in asm code makes the library non-relocatable.
This commit is contained in:
parent
3fd8dad9d6
commit
5273c636ab
@ -70,6 +70,14 @@ static inline cycles_t get_cycles (void)
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#elif defined(__powerpc64__)
|
||||||
|
|
||||||
|
static inline cycles_t get_cycles(void)
|
||||||
|
{
|
||||||
|
#warning You are compiling libardour on a platform for which ardour/cycles.h needs work
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
#elif defined(__powerpc__)
|
#elif defined(__powerpc__)
|
||||||
|
|
||||||
#define CPU_FTR_601 0x00000100
|
#define CPU_FTR_601 0x00000100
|
||||||
|
Loading…
Reference in New Issue
Block a user