Re: Generating data at link time

2013-06-01 Thread Andrew Pinski
On Sat, Jun 1, 2013 at 5:59 PM, YU Chenkan wrote: > Dear all, > > I'm trying to generate a (very simple) special data section at > link-time. It seems that LTO is too heavy, though I'm also not quite > familiar with it. > > I think that what I first need is a new output format which wraps the

Generating data at link time

2013-06-01 Thread YU Chenkan
Dear all, I'm trying to generate a (very simple) special data section at link-time. It seems that LTO is too heavy, though I'm also not quite familiar with it. I think that what I first need is a new output format which wraps the standard ELF, so can anyone help to point out where I can get s