This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Generating data at link time
- From: "YU Chenkan" <cyuaa at ust dot hk>
- To: gcc at gcc dot gnu dot org
- Date: Sun, 2 Jun 2013 08:59:44 +0800 (HKT)
- Subject: Generating data at link time
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 started?
Also if I want to generate data, is there any tool lighter than and
compatible with GCC can be used to deal with the platform dependent
stuff?