[LLVMdev] Assign symbol the address of a section

Eli Friedman eli.friedman at gmail.com
Mon May 11 10:21:44 PDT 2009


On Mon, May 11, 2009 at 10:02 AM, Matt Renzelmann <mjr at cs.wisc.edu> wrote:
> These symbols are then available in the corresponding C code using an
> "extern" definition.  But, LLVM doesn't support linker scripts--so what's
> the trick?

There is no "trick"; llvm-gcc and gcc should work in exactly the same
way in this regard.

-Eli




More information about the llvm-dev mailing list