public inbox for linux-kbuild@vger.kernel.org
 help / color / mirror / Atom feed
* rela sections in vmlinux
@ 2016-03-06 21:04 Ruslan Kuprieiev
  2016-03-15  0:10 ` Ruslan Kuprieiev
  0 siblings, 1 reply; 2+ messages in thread
From: Ruslan Kuprieiev @ 2016-03-06 21:04 UTC (permalink / raw)
  To: linux-kbuild

Hi!

I'm trying to figure out how CONFIG_RELOCATABLE works and one of the things
that I've noticed is that vmlinux itself doesn't have any rela sections, 
which is
confusing for me considering the name of the option. I did read the 
patches that
introduced this option but it is still not clear to me how exactly it 
works and why
there are no relocations left in the vmlinux. Could you please give me a 
hint on
why it happens and point me where to read more?

I also see that vmlinux.o has all the rela sections I'm looking for(as 
an object file
should =)), so it raises another question: Is it possible to make 
vmlinux keep that
rela sections? I also went through makefiles but couldn't figure out 
where to
make a proper change to achieve that.

I'm using default 3.10.0-229.20.1.el7.x86_64 centos7 kernel with 
CONFIG_RELOCATABLE
enabled.

Thanks,
Ruslan

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-03-15  0:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-06 21:04 rela sections in vmlinux Ruslan Kuprieiev
2016-03-15  0:10 ` Ruslan Kuprieiev

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox