NAME ^

src/exec.c - Generate an object file

DESCRIPTION ^

Functions ^

Parrot_exec

Call the jit to get the program code. Adds the members of the data section. And emits the executable.

add_data_member

Adds a member to the data section, storing the size of it at obj->data_size[N].

exec_init

Initialize the obj structure.

Parrot_exec_add_symbol

Adds a symbol to the object file.

Parrot_exec_add_text_rellocation

Adds a text rellocation to the object file.

symbol_list_find

Returns the index of symbol in the symbol list. Returns -1 if it is not in the list.

Used by Parrot_exec_add_symbol().

SEE ALSO ^

include/parrot/exec.h, src/exec_cpu.c, src/exec_save.h and src/exec_start.c.

HISTORY ^

Initial version by Daniel Grunblatt on 2003.6.9.


parrot