All of lore.kernel.org
 help / color / mirror / Atom feed
* linux kernel for ppc as elf relocatable
@ 2008-07-28 18:34 mihaela elena grigore
  2008-07-29 10:17 ` Wolfgang Denk
  0 siblings, 1 reply; 3+ messages in thread
From: mihaela elena grigore @ 2008-07-28 18:34 UTC (permalink / raw)
  To: linuxppc-dev

Can somebody help me with a few indications regarding how to obtain a 
relocatable vmlinux when compiling the linux kernel for ppc32 ?

For powerpc, by default, the building process results in an ELF 32-bit 
MSB executable statically linked. I saw that for other architectures it 
builds, by default, a relocatable elf file.

Why is it statically linked for some architectures and relocatable for 
others ? How to make it relocatable for ppc32? I assume that changing 
LDFLAGS_vmlinux to '-r' in the Makefile for ppc is not enough... (i'm 
using 2.6.11)

p.s. any comments/answers to my posting, please add me in CC, as i 
didn't subscribe, thank you.

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

* Re: linux kernel for ppc as elf relocatable
  2008-07-28 18:34 linux kernel for ppc as elf relocatable mihaela elena grigore
@ 2008-07-29 10:17 ` Wolfgang Denk
  2008-07-29 13:30   ` Kumar Gala
  0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Denk @ 2008-07-29 10:17 UTC (permalink / raw)
  To: mihaela elena grigore; +Cc: linuxppc-dev

In message <488E1134.6010109@criticalsoftware.com> you wrote:
> Can somebody help me with a few indications regarding how to obtain a 
> relocatable vmlinux when compiling the linux kernel for ppc32 ?

Why exactly would you want to do that?

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
Success in marriage is not so much finding the right person as it  is
being the right person.

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

* Re: linux kernel for ppc as elf relocatable
  2008-07-29 10:17 ` Wolfgang Denk
@ 2008-07-29 13:30   ` Kumar Gala
  0 siblings, 0 replies; 3+ messages in thread
From: Kumar Gala @ 2008-07-29 13:30 UTC (permalink / raw)
  To: Wolfgang Denk; +Cc: linuxppc-dev, mihaela elena grigore


On Jul 29, 2008, at 5:17 AM, Wolfgang Denk wrote:

> In message <488E1134.6010109@criticalsoftware.com> you wrote:
>> Can somebody help me with a few indications regarding how to obtain a
>> relocatable vmlinux when compiling the linux kernel for ppc32 ?
>
> Why exactly would you want to do that?

Any for what specific ppc32 sub-arch do you want to do this for?

- k

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

end of thread, other threads:[~2008-07-29 13:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-28 18:34 linux kernel for ppc as elf relocatable mihaela elena grigore
2008-07-29 10:17 ` Wolfgang Denk
2008-07-29 13:30   ` Kumar Gala

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.