Re: [PATCH] allow passing argument to the JIT linker

2014-12-05 Thread David Malcolm
On Fri, 2014-12-05 at 01:27 -0500, Ulrich Drepper wrote: If you generate code with the JIT which references outside symbols there is currently no way to have a self-contained DSO created. The command line to invoke the linker is fixed. What's the use-case here? Sorry if I'm not getting at

Re: [PATCH] allow passing argument to the JIT linker

2014-12-05 Thread Ulrich Drepper
On Fri, Dec 5, 2014 at 2:24 PM, David Malcolm dmalc...@redhat.com wrote: What's the use-case here? Sorry if I'm not getting at what this is for. The use case is that a program wants to use library functions, something common, not everything is self-contained and linked in automatically (like

[PATCH] allow passing argument to the JIT linker

2014-12-04 Thread Ulrich Drepper
If you generate code with the JIT which references outside symbols there is currently no way to have a self-contained DSO created. The command line to invoke the linker is fixed. The patch below would change that. It builds upon the existing framework to specify options for the compiler. The