[cfe-users] linker script in Clang?

Grissiom chaos.proton at gmail.com
Tue Sep 3 08:54:49 PDT 2013


Hi all,

I'm trying to use Clang to compile a C project. Unfortunately, it is
heavily depend on the linker script. It has something like:

  . = ALIGN(4);
  FSymTab : {
      __fsymtab_start = .;
      KEEP(*(FSymTab))
      __fsymtab_end = .;
  }
  . = ALIGN(4);

to get the _start and _end address of some section. Is there any
equivalence in Clang? I searched on Google for a while bug failed to have
an idea...

-- 
Cheers,
Grissiom
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-users/attachments/20130903/5990ae92/attachment.html>


More information about the cfe-users mailing list