13
0

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:
Robin Gareus 2018-11-25 16:57:51 +01:00
parent 3fd8dad9d6
commit 5273c636ab
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -70,6 +70,14 @@ static inline cycles_t get_cycles (void)
}
#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__)
#define CPU_FTR_601 0x00000100