Branch: Tag:

2001-07-19

2001-07-19 16:20:27 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Added support for relocation of bytecode to be able to support pc-relative addressing.
Now uses CALL on sparc (--with-machine-code).

Rev: src/las.c:1.258
Rev: src/peep.c:1.61
Rev: src/program.c:1.357
Rev: src/program_areas.h:1.9

1: - /* $Id: program_areas.h,v 1.8 2001/07/08 20:47:07 grubba Exp $ */ + /* $Id: program_areas.h,v 1.9 2001/07/19 16:20:27 grubba Exp $ */   /* Who needs templates anyway? / Hubbe */      /* Program *must* be first! */
11:   FOO(unsigned INT16,struct inherit,inherits)   FOO(unsigned INT16,struct identifier,identifiers)   FOO(unsigned INT16,struct program_constant, constants) + #ifdef PIKE_USE_MACHINE_CODE + FOO(size_t,size_t,relocations) + #endif /* PIKE_USE_MACHINE_CODE */   #undef FOO