Support dead-stripping in ELF objects

Robinson, Paul Paul.Robinson at am.sony.com
Tue Mar 26 09:45:46 PDT 2013


Ping...

> -----Original Message-----
> From: llvm-commits-bounces at cs.uiuc.edu [mailto:llvm-commits-
> bounces at cs.uiuc.edu] On Behalf Of Robinson, Paul
> Sent: Thursday, March 21, 2013 11:30 AM
> To: llvm-commits at cs.uiuc.edu commits (llvm-commits at cs.uiuc.edu)
> Subject: RE: Support dead-stripping in ELF objects
> 
> This time with the attachment...
> --paulr
> 
> > -----Original Message-----
> > From: llvm-commits-bounces at cs.uiuc.edu [mailto:llvm-commits-
> > bounces at cs.uiuc.edu] On Behalf Of Robinson, Paul
> > Sent: Thursday, March 21, 2013 11:14 AM
> > To: llvm-commits at cs.uiuc.edu commits (llvm-commits at cs.uiuc.edu)
> > Subject: Support dead-stripping in ELF objects
> >
> > A while back I implemented some private changes to how relocations
> > were handled in the ELF object writer, so that our linker could
> > support dead-stripping.  Apparently MachO has a similar feature, so I
> > leveraged some of what was done for that target, including reusing the
> > assembler flag/directive.
> >
> > I'm told that there may be broader interest in supporting
> > dead-stripping in ELF objects, so here's the patch.
> >
> > There is currently no in-tree ELF-using target that invokes this
> > stuff; I'm putting it out there so anyone who's interested can take
> > advantage of it in their own target/toolchain.
> >
> > Please review, and commit for me if it's okay.
> >
> > Thanks,
> > --paulr
> >
> >
> >
> > _______________________________________________
> > llvm-commits mailing list
> > llvm-commits at cs.uiuc.edu
> > http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: Deadstrip-diff.txt
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130326/bbb35eda/attachment.txt>


More information about the llvm-commits mailing list