[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Initialized exported and internal globals



libgccjit allows to define globals with `gcc_jit_context_new_global'.
How can I create a global that is initialized to some other value than
0, i.e. how can I populate the data segment in the output of a
compilation to a file?

As a workaround, I can initialize data through the code, but this
seems ineffective if there is a lot of data.

Thanks!

-- Marc