Re: [U-Boot] Relocation size penalty calculation

2009-10-17 Thread Graeme Russ
On Sat, Oct 17, 2009 at 11:59 PM, J. William Campbell wrote: > Graeme Russ wrote: >> >> On Thu, Oct 15, 2009 at 3:45 AM, J. William Campbell >> wrote: >> >>> >>> Joakim Tjernlund wrote: >>> >> >> > > > [Yawn... YAS (Yet Another Snip) ;)] >> >> The relocation fixup is really easy: >> >>

Re: [U-Boot] Relocation size penalty calculation

2009-10-17 Thread J. William Campbell
Graeme Russ wrote: > On Thu, Oct 15, 2009 at 3:45 AM, J. William Campbell > wrote: > >> Joakim Tjernlund wrote: >> > > Apologies if this is getting way off-topic for a simple boot loader, but > this is information I have gathered from far and wide over the net. I am > surprised that t

Re: [U-Boot] Relocation size penalty calculation

2009-10-17 Thread Joakim Tjernlund
Graeme Russ wrote on 17/10/2009 07:17:04: > [SNIP] > > Apologies if this is getting way off-topic for a simple boot loader, but > this is information I have gathered from far and wide over the net. I am > surprised that there isn't a web site out there on 'How to create a > relocatable boot load

Re: [U-Boot] Relocation size penalty calculation

2009-10-16 Thread Graeme Russ
On Thu, Oct 15, 2009 at 3:45 AM, J. William Campbell wrote: > Joakim Tjernlund wrote: >> >> Graeme Russ wrote on 14/10/2009 13:48:27: >> >>> >>> On Wed, Oct 14, 2009 at 6:25 PM, Joakim Tjernlund >>> wrote: >>> "J. William Campbell" wrote on 14/10/2009 01:48:52: > > J

Re: [U-Boot] Relocation size penalty calculation

2009-10-14 Thread J. William Campbell
Joakim Tjernlund wrote: > "J. William Campbell" wrote on 14/10/2009 > 17:35:44: > >> Joakim Tjernlund wrote: >> >>> "J. William Campbell" wrote on 14/10/2009 >>> 01:48:52: >>> >>> Joakim Tjernlund wrote: > Graeme Russ wrote on 13/10/2009 22:06:56: >>>

Re: [U-Boot] Relocation size penalty calculation

2009-10-14 Thread J. William Campbell
Joakim Tjernlund wrote: > Graeme Russ wrote on 14/10/2009 13:48:27: > >> On Wed, Oct 14, 2009 at 6:25 PM, Joakim Tjernlund >> wrote: >> >>> "J. William Campbell" wrote on 14/10/2009 >>> 01:48:52: >>> Joakim Tjernlund wrote: > Graeme Russ wrote on 13/10/200

Re: [U-Boot] Relocation size penalty calculation

2009-10-14 Thread Joakim Tjernlund
"J. William Campbell" wrote on 14/10/2009 17:35:44: > > Joakim Tjernlund wrote: > > "J. William Campbell" wrote on 14/10/2009 > > 01:48:52: > > > >> Joakim Tjernlund wrote: > >> > >>> Graeme Russ wrote on 13/10/2009 22:06:56: > >>> > >>> > >>> > On Tue, Oct 13, 2009 at 10:53 PM, Joakim Tj

Re: [U-Boot] Relocation size penalty calculation

2009-10-14 Thread J. William Campbell
Joakim Tjernlund wrote: > "J. William Campbell" wrote on 14/10/2009 > 01:48:52: > >> Joakim Tjernlund wrote: >> >>> Graeme Russ wrote on 13/10/2009 22:06:56: >>> >>> >>> On Tue, Oct 13, 2009 at 10:53 PM, Joakim Tjernlund wrote: > Graeme Russ wrot

Re: [U-Boot] Relocation size penalty calculation

2009-10-14 Thread Joakim Tjernlund
Graeme Russ wrote on 14/10/2009 13:48:27: > > On Wed, Oct 14, 2009 at 6:25 PM, Joakim Tjernlund > wrote: > > "J. William Campbell" wrote on 14/10/2009 > > 01:48:52: > >> > >> Joakim Tjernlund wrote: > >> > Graeme Russ wrote on 13/10/2009 22:06:56: > >> > > >> > > >> >> On Tue, Oct 13, 2009 at

Re: [U-Boot] Relocation size penalty calculation

2009-10-14 Thread Graeme Russ
On Wed, Oct 14, 2009 at 6:25 PM, Joakim Tjernlund wrote: > "J. William Campbell" wrote on 14/10/2009 > 01:48:52: >> >> Joakim Tjernlund wrote: >> > Graeme Russ wrote on 13/10/2009 22:06:56: >> > >> > >> >> On Tue, Oct 13, 2009 at 10:53 PM, Joakim Tjernlund >> >> wrote: >> >> >> >>> Graeme Russ

Re: [U-Boot] Relocation size penalty calculation

2009-10-14 Thread Joakim Tjernlund
"J. William Campbell" wrote on 14/10/2009 01:48:52: > > Joakim Tjernlund wrote: > > Graeme Russ wrote on 13/10/2009 22:06:56: > > > > > >> On Tue, Oct 13, 2009 at 10:53 PM, Joakim Tjernlund > >> wrote: > >> > >>> Graeme Russ wrote on 13/10/2009 13:21:05: > >>> > On Sun, Oct 11, 2009 at 11

Re: [U-Boot] Relocation size penalty calculation

2009-10-13 Thread J. William Campbell
Joakim Tjernlund wrote: > Graeme Russ wrote on 13/10/2009 22:06:56: > > >> On Tue, Oct 13, 2009 at 10:53 PM, Joakim Tjernlund >> wrote: >> >>> Graeme Russ wrote on 13/10/2009 13:21:05: >>> On Sun, Oct 11, 2009 at 11:51 PM, Joakim Tjernlund wrote: > Gra

Re: [U-Boot] Relocation size penalty calculation

2009-10-13 Thread Joakim Tjernlund
Graeme Russ wrote on 13/10/2009 22:06:56: > > On Tue, Oct 13, 2009 at 10:53 PM, Joakim Tjernlund > wrote: > > Graeme Russ wrote on 13/10/2009 13:21:05: > >> On Sun, Oct 11, 2009 at 11:51 PM, Joakim Tjernlund > >> wrote: > >> > Graeme Russ wrote on 11/10/2009 12:47:19: > >> > >> [Massive Snip

Re: [U-Boot] Relocation size penalty calculation

2009-10-13 Thread Graeme Russ
On Tue, Oct 13, 2009 at 10:53 PM, Joakim Tjernlund wrote: > Graeme Russ wrote on 13/10/2009 13:21:05: >> On Sun, Oct 11, 2009 at 11:51 PM, Joakim Tjernlund >> wrote: >> > Graeme Russ wrote on 11/10/2009 12:47:19: >> >> [Massive Snip :)] >> >> > >> >> >> >> So, all that is left are .dynsym and .

Re: [U-Boot] Relocation size penalty calculation

2009-10-13 Thread Joakim Tjernlund
"J. William Campbell" wrote on 13/10/2009 18:30:43: > > Joakim Tjernlund wrote: > > Graeme Russ wrote on 13/10/2009 13:21:05: > > > >> On Sun, Oct 11, 2009 at 11:51 PM, Joakim Tjernlund > >> wrote: > >> > >>> Graeme Russ wrote on 11/10/2009 12:47:19: > >>> > >> [Massive Snip :)] > >> > >> > >>

Re: [U-Boot] Relocation size penalty calculation

2009-10-13 Thread J. William Campbell
Joakim Tjernlund wrote: > Graeme Russ wrote on 13/10/2009 13:21:05: > >> On Sun, Oct 11, 2009 at 11:51 PM, Joakim Tjernlund >> wrote: >> >>> Graeme Russ wrote on 11/10/2009 12:47:19: >>> >> [Massive Snip :)] >> >> So, all that is left are .dynsym and .dynamic ...

Re: [U-Boot] Relocation size penalty calculation

2009-10-13 Thread Joakim Tjernlund
Graeme Russ wrote on 13/10/2009 13:21:05: > On Sun, Oct 11, 2009 at 11:51 PM, Joakim Tjernlund > wrote: > > Graeme Russ wrote on 11/10/2009 12:47:19: > > [Massive Snip :)] > > > > >> > >> So, all that is left are .dynsym and .dynamic ... > >> .dynsym > >> - Contains 70 entries (16 bytes ea

Re: [U-Boot] Relocation size penalty calculation

2009-10-13 Thread Graeme Russ
On Sun, Oct 11, 2009 at 11:51 PM, Joakim Tjernlund wrote: > Graeme Russ wrote on 11/10/2009 12:47:19: [Massive Snip :)] > >> >> So, all that is left are .dynsym and .dynamic ... >> .dynsym >> - Contains 70 entries (16 bytes each, 1120 bytes) >> - 44 entries mimic those entries in .got

Re: [U-Boot] Relocation size penalty calculation

2009-10-11 Thread Graeme Russ
On Sun, Oct 11, 2009 at 2:38 AM, Joakim Tjernlund wrote: > Graeme Russ wrote on 10/10/2009 13:21:10: >> >> On Sat, Oct 10, 2009 at 9:47 PM, Joakim Tjernlund >> wrote: >> > >> > >> > Graeme Russ wrote on 10/10/2009 12:38:19: >> >> >> >> On Sat, Oct 10, 2009 at 8:27 PM, Joakim Tjernlund >> >> wr

Re: [U-Boot] Relocation size penalty calculation

2009-10-10 Thread Graeme Russ
On Sun, Oct 11, 2009 at 3:18 AM, J. William Campbell wrote: > Graeme Russ wrote: >> >> On Sat, Oct 10, 2009 at 9:47 PM, Joakim Tjernlund >> wrote: >> >>> >>> Graeme Russ wrote on 10/10/2009 12:38:19: >>> On Sat, Oct 10, 2009 at 8:27 PM, Joakim Tjernlund wrote: > > Gr

Re: [U-Boot] Relocation size penalty calculation

2009-10-10 Thread Graeme Russ
On Sun, Oct 11, 2009 at 4:45 AM, Joakim Tjernlund wrote: > Mike Frysinger wrote on 10/10/2009 18:52:29: >> >> On Saturday 10 October 2009 06:47:42 Joakim Tjernlund wrote: >> > Graeme Russ wrote on 10/10/2009 12:38:19: >> > > -fpic / -pic make no difference >> > >> > not on x86, on ppc it is a bi

Re: [U-Boot] Relocation size penalty calculation

2009-10-10 Thread Joakim Tjernlund
Mike Frysinger wrote on 10/10/2009 18:52:29: > > On Saturday 10 October 2009 06:47:42 Joakim Tjernlund wrote: > > Graeme Russ wrote on 10/10/2009 12:38:19: > > > -fpic / -pic make no difference > > > > not on x86, on ppc it is a big difference. > > i think you guys mean -fpic and -fPIC because th

Re: [U-Boot] Relocation size penalty calculation

2009-10-10 Thread Mike Frysinger
On Saturday 10 October 2009 06:47:42 Joakim Tjernlund wrote: > Graeme Russ wrote on 10/10/2009 12:38:19: > > -fpic / -pic make no difference > > not on x86, on ppc it is a big difference. i think you guys mean -fpic and -fPIC because there is no -pic flag ... while the two make a big diff on so

Re: [U-Boot] Relocation size penalty calculation

2009-10-10 Thread Joakim Tjernlund
Graeme Russ wrote on 10/10/2009 13:21:10: > > On Sat, Oct 10, 2009 at 9:47 PM, Joakim Tjernlund > wrote: > > > > > > Graeme Russ wrote on 10/10/2009 12:38:19: > >> > >> On Sat, Oct 10, 2009 at 8:27 PM, Joakim Tjernlund > >> wrote: > >> > > >> > > >> > Graeme Russ wrote on 10/10/2009 10:46:52:

Re: [U-Boot] Relocation size penalty calculation

2009-10-10 Thread Graeme Russ
On Sat, Oct 10, 2009 at 9:47 PM, Joakim Tjernlund wrote: > > > Graeme Russ wrote on 10/10/2009 12:38:19: >> >> On Sat, Oct 10, 2009 at 8:27 PM, Joakim Tjernlund >> wrote: >> > >> > >> > Graeme Russ wrote on 10/10/2009 10:46:52: >> >> >> >> On Sat, Oct 10, 2009 at 7:07 PM, Joakim Tjernlund >> >>

Re: [U-Boot] Relocation size penalty calculation

2009-10-10 Thread Joakim Tjernlund
Graeme Russ wrote on 10/10/2009 12:38:19: > > On Sat, Oct 10, 2009 at 8:27 PM, Joakim Tjernlund > wrote: > > > > > > Graeme Russ wrote on 10/10/2009 10:46:52: > >> > >> On Sat, Oct 10, 2009 at 7:07 PM, Joakim Tjernlund > >> wrote: > >> > Graeme Russ wrote on 10/10/2009 06:43:52: > >> >> > >>

Re: [U-Boot] Relocation size penalty calculation

2009-10-10 Thread Graeme Russ
On Sat, Oct 10, 2009 at 8:27 PM, Joakim Tjernlund wrote: > > > Graeme Russ wrote on 10/10/2009 10:46:52: >> >> On Sat, Oct 10, 2009 at 7:07 PM, Joakim Tjernlund >> wrote: >> > Graeme Russ wrote on 10/10/2009 06:43:52: >> >> >> >> On Fri, Oct 9, 2009 at 10:12 AM, Joakim Tjernlund >> >> wrote: >

Re: [U-Boot] Relocation size penalty calculation

2009-10-10 Thread Joakim Tjernlund
Graeme Russ wrote on 10/10/2009 10:46:52: > > On Sat, Oct 10, 2009 at 7:07 PM, Joakim Tjernlund > wrote: > > Graeme Russ wrote on 10/10/2009 06:43:52: > >> > >> On Fri, Oct 9, 2009 at 10:12 AM, Joakim Tjernlund > >> wrote: > >> >> > >> >> On Fri, Oct 9, 2009 at 9:27 AM, J. William Campbell >

Re: [U-Boot] Relocation size penalty calculation

2009-10-10 Thread Graeme Russ
On Sat, Oct 10, 2009 at 7:07 PM, Joakim Tjernlund wrote: > Graeme Russ wrote on 10/10/2009 06:43:52: >> >> On Fri, Oct 9, 2009 at 10:12 AM, Joakim Tjernlund >> wrote: >> >> >> >> On Fri, Oct 9, 2009 at 9:27 AM, J. William Campbell >> >> wrote: >> >> > Graeme Russ wrote: >> >> >> >> >> >> On Fri

Re: [U-Boot] Relocation size penalty calculation

2009-10-10 Thread Joakim Tjernlund
Graeme Russ wrote on 10/10/2009 06:43:52: > > On Fri, Oct 9, 2009 at 10:12 AM, Joakim Tjernlund > wrote: > >> > >> On Fri, Oct 9, 2009 at 9:27 AM, J. William Campbell > >> wrote: > >> > Graeme Russ wrote: > >> >> > >> >> On Fri, Oct 9, 2009 at 2:58 AM, J. William Campbell > >> >> wrote: > >> >>

Re: [U-Boot] Relocation size penalty calculation

2009-10-09 Thread Graeme Russ
On Fri, Oct 9, 2009 at 10:12 AM, Joakim Tjernlund wrote: >> >> On Fri, Oct 9, 2009 at 9:27 AM, J. William Campbell >> wrote: >> > Graeme Russ wrote: >> >> >> >> On Fri, Oct 9, 2009 at 2:58 AM, J. William Campbell >> >> wrote: >> >> >> >>> >> >>> Graeme Russ wrote: >> >>> >> >> Out of c

Re: [U-Boot] Relocation size penalty calculation

2009-10-08 Thread Graeme Russ
On Fri, Oct 9, 2009 at 9:20 AM, Peter Tyser wrote: > On Fri, 2009-10-09 at 09:02 +1100, Graeme Russ wrote: >> On Fri, Oct 9, 2009 at 8:23 AM, Wolfgang Denk wrote: >> > Dear Graeme Russ, >> > >> > In message >> > you wrote: >> >> >> >> >> >> Once the reloc branch has been merged, how many arches

Re: [U-Boot] Relocation size penalty calculation

2009-10-08 Thread Mike Frysinger
On Thursday 08 October 2009 18:20:18 Peter Tyser wrote: > On Fri, 2009-10-09 at 09:02 +1100, Graeme Russ wrote: > > On Fri, Oct 9, 2009 at 8:23 AM, Wolfgang Denk wrote: > > > Graeme Russ wrote: > > >> Once the reloc branch has been merged, how many arches are left which > > >> do not support reloc

Re: [U-Boot] Relocation size penalty calculation

2009-10-08 Thread J. William Campbell
Joakim Tjernlund wrote: >> On Fri, Oct 9, 2009 at 9:27 AM, J. William Campbell >> wrote: >> >>> Graeme Russ wrote: >>> On Fri, Oct 9, 2009 at 2:58 AM, J. William Campbell wrote: > Graeme Russ wrote: > > >> Out of curiosity, I wan

Re: [U-Boot] Relocation size penalty calculation

2009-10-08 Thread Joakim Tjernlund
> > On Fri, Oct 9, 2009 at 9:27 AM, J. William Campbell > wrote: > > Graeme Russ wrote: > >> > >> On Fri, Oct 9, 2009 at 2:58 AM, J. William Campbell > >> wrote: > >> > >>> > >>> Graeme Russ wrote: > >>> > > Out of curiosity, I wanted to see just how much of a size penalty I am > i

Re: [U-Boot] Relocation size penalty calculation

2009-10-08 Thread Graeme Russ
On Fri, Oct 9, 2009 at 9:27 AM, J. William Campbell wrote: > Graeme Russ wrote: >> >> On Fri, Oct 9, 2009 at 2:58 AM, J. William Campbell >> wrote: >> >>> >>> Graeme Russ wrote: >>> Out of curiosity, I wanted to see just how much of a size penalty I am incurring by using gcc -fpic

Re: [U-Boot] Relocation size penalty calculation

2009-10-08 Thread J. William Campbell
Graeme Russ wrote: > On Fri, Oct 9, 2009 at 2:58 AM, J. William Campbell > wrote: > >> Graeme Russ wrote: >> >>> Out of curiosity, I wanted to see just how much of a size penalty I am >>> incurring by using gcc -fpic / ld -pic on my x86 u-boot build. Here are >>> the results (fixed width f

Re: [U-Boot] Relocation size penalty calculation

2009-10-08 Thread Peter Tyser
On Fri, 2009-10-09 at 09:02 +1100, Graeme Russ wrote: > On Fri, Oct 9, 2009 at 8:23 AM, Wolfgang Denk wrote: > > Dear Graeme Russ, > > > > In message > > you wrote: > >> > >> > >> Once the reloc branch has been merged, how many arches are left which do > >> not support relocation? > > > > All bu

Re: [U-Boot] Relocation size penalty calculation

2009-10-08 Thread Graeme Russ
On Fri, Oct 9, 2009 at 8:23 AM, Wolfgang Denk wrote: > Dear Graeme Russ, > > In message you > wrote: >> >> >> Once the reloc branch has been merged, how many arches are left which do >> not support relocation? > > All but PPC ? Hmm, so commit 0630535e2d062dd73c1ceca5c6125c86d1127a49 is all abou

Re: [U-Boot] Relocation size penalty calculation

2009-10-08 Thread Wolfgang Denk
Dear Graeme Russ, In message you wrote: > > > Once the reloc branch has been merged, how many arches are left which do > not support relocation? All but PPC ? Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kir

Re: [U-Boot] Relocation size penalty calculation

2009-10-08 Thread Graeme Russ
On Fri, Oct 9, 2009 at 2:58 AM, J. William Campbell wrote: > Graeme Russ wrote: >> >> Out of curiosity, I wanted to see just how much of a size penalty I am >> incurring by using gcc -fpic / ld -pic on my x86 u-boot build. Here are >> the results (fixed width font will help - its space, not tab, f

Re: [U-Boot] Relocation size penalty calculation

2009-10-08 Thread J. William Campbell
Peter Tyser wrote: > On Thu, 2009-10-08 at 08:53 -0700, J. William Campbell wrote: > >> Peter Tyser wrote: >> >>> On Thu, 2009-10-08 at 22:54 +1100, Graeme Russ wrote: >>> >>> Out of curiosity, I wanted to see just how much of a size penalty I am incurring by using gcc -

Re: [U-Boot] Relocation size penalty calculation

2009-10-08 Thread Peter Tyser
On Thu, 2009-10-08 at 08:53 -0700, J. William Campbell wrote: > Peter Tyser wrote: > > On Thu, 2009-10-08 at 22:54 +1100, Graeme Russ wrote: > > > >> Out of curiosity, I wanted to see just how much of a size penalty I am > >> incurring by using gcc -fpic / ld -pic on my x86 u-boot build. Here ar

Re: [U-Boot] Relocation size penalty calculation

2009-10-08 Thread J. William Campbell
Graeme Russ wrote: > Out of curiosity, I wanted to see just how much of a size penalty I am > incurring by using gcc -fpic / ld -pic on my x86 u-boot build. Here are > the results (fixed width font will help - its space, not tab, formatted): > > Section non-reloc reloc > ---

Re: [U-Boot] Relocation size penalty calculation

2009-10-08 Thread J. William Campbell
Peter Tyser wrote: > On Thu, 2009-10-08 at 22:54 +1100, Graeme Russ wrote: > >> Out of curiosity, I wanted to see just how much of a size penalty I am >> incurring by using gcc -fpic / ld -pic on my x86 u-boot build. Here are >> the results (fixed width font will help - its space, not tab, forma

Re: [U-Boot] Relocation size penalty calculation

2009-10-08 Thread Peter Tyser
On Thu, 2009-10-08 at 22:54 +1100, Graeme Russ wrote: > Out of curiosity, I wanted to see just how much of a size penalty I am > incurring by using gcc -fpic / ld -pic on my x86 u-boot build. Here are > the results (fixed width font will help - its space, not tab, formatted): > > Section