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

Adding Position Independent Code support



I'm not familiar with GCC internals at all, so I maybe I proposing
something drastic, but it would be a great feature to have libgccjit
be able to generate Position Independent Code.

In my language project, I often compile and cache code, re-load parts
of the program from a different address (it's a long story ...) and
have to re-generate old code to get fixups, it would be nice to be
able to ask GCC to generate PIC for me, which I can manage myself.

What do others think? A great feature? Or no-one will ever use it?

Mukul