mirror of
https://gitlab.com/embeddable-common-lisp/ecl.git
synced 2026-01-15 05:43:19 -08:00
Avoid using the dispatch table in the interpreter when compiling with GCC on Solaris, so that no spurious relocation tables are created.
This commit is contained in:
parent
1cca2ccf06
commit
ab72d1285d
1 changed files with 4 additions and 1 deletions
|
|
@ -146,8 +146,11 @@ typedef int16_t cl_oparg;
|
|||
* saves a range check on the opcode size and (ii) each opcode has a
|
||||
* dispatch instruction at the end, so that the processor may better
|
||||
* predict jumps.
|
||||
*
|
||||
* NOTE: We cannot use this in Solaris because GCC erroneously produces
|
||||
* relocation tables.
|
||||
*/
|
||||
#if (defined(__GNUC__) && !defined(__STRICT_ANSI__))
|
||||
#if (defined(__GNUC__) && !defined(__STRICT_ANSI__) && !defined(__sun__))
|
||||
#define ECL_THREADED_INTERPRETER
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue