Re: [U-Boot] Relocation size penalty calculation

2009-10-17 Thread Joakim Tjernlund
Graeme Russ graeme.r...@gmail.com 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

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 jwilliamcampb...@comcast.net wrote: Joakim Tjernlund wrote: megasnip 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

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 jwilliamcampb...@comcast.net wrote: Joakim Tjernlund wrote: Graeme Russ graeme.r...@gmail.com wrote on 14/10/2009 13:48:27: On Wed, Oct 14, 2009 at 6:25 PM, Joakim Tjernlund joakim.tjernl...@transmode.se wrote: J. William Campbell

Re: [U-Boot] Relocation size penalty calculation

2009-10-14 Thread Joakim Tjernlund
J. William Campbell jwilliamcampb...@comcast.net wrote on 14/10/2009 01:48:52: Joakim Tjernlund wrote: Graeme Russ graeme.r...@gmail.com wrote on 13/10/2009 22:06:56: On Tue, Oct 13, 2009 at 10:53 PM, Joakim Tjernlund joakim.tjernl...@transmode.se wrote: Graeme Russ

Re: [U-Boot] Relocation size penalty calculation

2009-10-14 Thread Graeme Russ
On Wed, Oct 14, 2009 at 6:25 PM, Joakim Tjernlund joakim.tjernl...@transmode.se wrote: J. William Campbell jwilliamcampb...@comcast.net wrote on 14/10/2009 01:48:52: Joakim Tjernlund wrote: Graeme Russ graeme.r...@gmail.com wrote on 13/10/2009 22:06:56: On Tue, Oct 13, 2009 at 10:53

Re: [U-Boot] Relocation size penalty calculation

2009-10-14 Thread Joakim Tjernlund
Graeme Russ graeme.r...@gmail.com wrote on 14/10/2009 13:48:27: On Wed, Oct 14, 2009 at 6:25 PM, Joakim Tjernlund joakim.tjernl...@transmode.se wrote: J. William Campbell jwilliamcampb...@comcast.net wrote on 14/10/2009 01:48:52: Joakim Tjernlund wrote: Graeme Russ

Re: [U-Boot] Relocation size penalty calculation

2009-10-14 Thread J. William Campbell
Joakim Tjernlund wrote: J. William Campbell jwilliamcampb...@comcast.net wrote on 14/10/2009 01:48:52: Joakim Tjernlund wrote: Graeme Russ graeme.r...@gmail.com wrote on 13/10/2009 22:06:56: On Tue, Oct 13, 2009 at 10:53 PM, Joakim Tjernlund joakim.tjernl...@transmode.se

Re: [U-Boot] Relocation size penalty calculation

2009-10-14 Thread Joakim Tjernlund
J. William Campbell jwilliamcampb...@comcast.net wrote on 14/10/2009 17:35:44: Joakim Tjernlund wrote: J. William Campbell jwilliamcampb...@comcast.net wrote on 14/10/2009 01:48:52: Joakim Tjernlund wrote: Graeme Russ graeme.r...@gmail.com wrote on 13/10/2009 22:06:56: On

Re: [U-Boot] Relocation size penalty calculation

2009-10-14 Thread J. William Campbell
Joakim Tjernlund wrote: Graeme Russ graeme.r...@gmail.com wrote on 14/10/2009 13:48:27: On Wed, Oct 14, 2009 at 6:25 PM, Joakim Tjernlund joakim.tjernl...@transmode.se wrote: J. William Campbell jwilliamcampb...@comcast.net wrote on 14/10/2009 01:48:52: Joakim Tjernlund

Re: [U-Boot] Relocation size penalty calculation

2009-10-14 Thread J. William Campbell
Joakim Tjernlund wrote: J. William Campbell jwilliamcampb...@comcast.net wrote on 14/10/2009 17:35:44: Joakim Tjernlund wrote: J. William Campbell jwilliamcampb...@comcast.net wrote on 14/10/2009 01:48:52: Joakim Tjernlund wrote: Graeme Russ

Re: [U-Boot] Relocation size penalty calculation

2009-10-13 Thread Graeme Russ
On Sun, Oct 11, 2009 at 11:51 PM, Joakim Tjernlund joakim.tjernl...@transmode.se wrote: Graeme Russ graeme.r...@gmail.com 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) -

Re: [U-Boot] Relocation size penalty calculation

2009-10-13 Thread Joakim Tjernlund
Graeme Russ graeme.r...@gmail.com wrote on 13/10/2009 13:21:05: On Sun, Oct 11, 2009 at 11:51 PM, Joakim Tjernlund joakim.tjernl...@transmode.se wrote: Graeme Russ graeme.r...@gmail.com 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 J. William Campbell
Joakim Tjernlund wrote: Graeme Russ graeme.r...@gmail.com wrote on 13/10/2009 13:21:05: On Sun, Oct 11, 2009 at 11:51 PM, Joakim Tjernlund joakim.tjernl...@transmode.se wrote: Graeme Russ graeme.r...@gmail.com wrote on 11/10/2009 12:47:19: [Massive Snip :)] So, all

Re: [U-Boot] Relocation size penalty calculation

2009-10-13 Thread Joakim Tjernlund
J. William Campbell jwilliamcampb...@comcast.net wrote on 13/10/2009 18:30:43: Joakim Tjernlund wrote: Graeme Russ graeme.r...@gmail.com wrote on 13/10/2009 13:21:05: On Sun, Oct 11, 2009 at 11:51 PM, Joakim Tjernlund joakim.tjernl...@transmode.se wrote: Graeme Russ

Re: [U-Boot] Relocation size penalty calculation

2009-10-13 Thread Graeme Russ
On Tue, Oct 13, 2009 at 10:53 PM, Joakim Tjernlund joakim.tjernl...@transmode.se wrote: Graeme Russ graeme.r...@gmail.com wrote on 13/10/2009 13:21:05: On Sun, Oct 11, 2009 at 11:51 PM, Joakim Tjernlund joakim.tjernl...@transmode.se wrote: Graeme Russ graeme.r...@gmail.com wrote on 11/10/2009

Re: [U-Boot] Relocation size penalty calculation

2009-10-13 Thread Joakim Tjernlund
Graeme Russ graeme.r...@gmail.com wrote on 13/10/2009 22:06:56: On Tue, Oct 13, 2009 at 10:53 PM, Joakim Tjernlund joakim.tjernl...@transmode.se wrote: Graeme Russ graeme.r...@gmail.com wrote on 13/10/2009 13:21:05: On Sun, Oct 11, 2009 at 11:51 PM, Joakim Tjernlund

Re: [U-Boot] Relocation size penalty calculation

2009-10-13 Thread J. William Campbell
Joakim Tjernlund wrote: Graeme Russ graeme.r...@gmail.com wrote on 13/10/2009 22:06:56: On Tue, Oct 13, 2009 at 10:53 PM, Joakim Tjernlund joakim.tjernl...@transmode.se wrote: Graeme Russ graeme.r...@gmail.com wrote on 13/10/2009 13:21:05: On Sun, Oct 11, 2009 at 11:51 PM,

Re: [U-Boot] Relocation size penalty calculation

2009-10-11 Thread Graeme Russ
On Sun, Oct 11, 2009 at 2:38 AM, Joakim Tjernlund joakim.tjernl...@transmode.se wrote: Graeme Russ graeme.r...@gmail.com wrote on 10/10/2009 13:21:10: On Sat, Oct 10, 2009 at 9:47 PM, Joakim Tjernlund joakim.tjernl...@transmode.se wrote: Graeme Russ graeme.r...@gmail.com wrote on

Re: [U-Boot] Relocation size penalty calculation

2009-10-10 Thread Joakim Tjernlund
Graeme Russ graeme.r...@gmail.com wrote on 10/10/2009 06:43:52: On Fri, Oct 9, 2009 at 10:12 AM, Joakim Tjernlund joakim.tjernl...@transmode.se wrote: On Fri, Oct 9, 2009 at 9:27 AM, J. William Campbell jwilliamcampb...@comcast.net wrote: Graeme Russ wrote: On Fri, Oct 9, 2009 at

Re: [U-Boot] Relocation size penalty calculation

2009-10-10 Thread Graeme Russ
On Sat, Oct 10, 2009 at 7:07 PM, Joakim Tjernlund joakim.tjernl...@transmode.se wrote: Graeme Russ graeme.r...@gmail.com wrote on 10/10/2009 06:43:52: On Fri, Oct 9, 2009 at 10:12 AM, Joakim Tjernlund joakim.tjernl...@transmode.se wrote: On Fri, Oct 9, 2009 at 9:27 AM, J. William Campbell

Re: [U-Boot] Relocation size penalty calculation

2009-10-10 Thread Joakim Tjernlund
Graeme Russ graeme.r...@gmail.com wrote on 10/10/2009 10:46:52: On Sat, Oct 10, 2009 at 7:07 PM, Joakim Tjernlund joakim.tjernl...@transmode.se wrote: Graeme Russ graeme.r...@gmail.com wrote on 10/10/2009 06:43:52: On Fri, Oct 9, 2009 at 10:12 AM, Joakim Tjernlund

Re: [U-Boot] Relocation size penalty calculation

2009-10-10 Thread Graeme Russ
On Sat, Oct 10, 2009 at 8:27 PM, Joakim Tjernlund joakim.tjernl...@transmode.se wrote: Graeme Russ graeme.r...@gmail.com wrote on 10/10/2009 10:46:52: On Sat, Oct 10, 2009 at 7:07 PM, Joakim Tjernlund joakim.tjernl...@transmode.se wrote: Graeme Russ graeme.r...@gmail.com wrote on

Re: [U-Boot] Relocation size penalty calculation

2009-10-10 Thread Joakim Tjernlund
Graeme Russ graeme.r...@gmail.com wrote on 10/10/2009 12:38:19: On Sat, Oct 10, 2009 at 8:27 PM, Joakim Tjernlund joakim.tjernl...@transmode.se wrote: Graeme Russ graeme.r...@gmail.com 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 Graeme Russ
On Sat, Oct 10, 2009 at 9:47 PM, Joakim Tjernlund joakim.tjernl...@transmode.se wrote: Graeme Russ graeme.r...@gmail.com wrote on 10/10/2009 12:38:19: On Sat, Oct 10, 2009 at 8:27 PM, Joakim Tjernlund joakim.tjernl...@transmode.se wrote: Graeme Russ graeme.r...@gmail.com wrote on

Re: [U-Boot] Relocation size penalty calculation

2009-10-10 Thread Joakim Tjernlund
Graeme Russ graeme.r...@gmail.com wrote on 10/10/2009 13:21:10: On Sat, Oct 10, 2009 at 9:47 PM, Joakim Tjernlund joakim.tjernl...@transmode.se wrote: Graeme Russ graeme.r...@gmail.com wrote on 10/10/2009 12:38:19: On Sat, Oct 10, 2009 at 8:27 PM, Joakim Tjernlund

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 graeme.r...@gmail.com 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

Re: [U-Boot] Relocation size penalty calculation

2009-10-10 Thread Joakim Tjernlund
Mike Frysinger vap...@gentoo.org wrote on 10/10/2009 18:52:29: On Saturday 10 October 2009 06:47:42 Joakim Tjernlund wrote: Graeme Russ graeme.r...@gmail.com 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

Re: [U-Boot] Relocation size penalty calculation

2009-10-10 Thread Graeme Russ
On Sun, Oct 11, 2009 at 4:45 AM, Joakim Tjernlund joakim.tjernl...@transmode.se wrote: Mike Frysinger vap...@gentoo.org wrote on 10/10/2009 18:52:29: On Saturday 10 October 2009 06:47:42 Joakim Tjernlund wrote: Graeme Russ graeme.r...@gmail.com wrote on 10/10/2009 12:38:19: -fpic / -pic

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 jwilliamcampb...@comcast.net wrote: Graeme Russ wrote: On Sat, Oct 10, 2009 at 9:47 PM, Joakim Tjernlund joakim.tjernl...@transmode.se wrote: Graeme Russ graeme.r...@gmail.com wrote on 10/10/2009 12:38:19: On Sat, Oct 10, 2009 at 8:27

Re: [U-Boot] Relocation size penalty calculation

2009-10-09 Thread Graeme Russ
On Fri, Oct 9, 2009 at 10:12 AM, Joakim Tjernlund joakim.tjernl...@transmode.se wrote: On Fri, Oct 9, 2009 at 9:27 AM, J. William Campbell jwilliamcampb...@comcast.net wrote: Graeme Russ wrote: On Fri, Oct 9, 2009 at 2:58 AM, J. William Campbell jwilliamcampb...@comcast.net wrote:

[U-Boot] Relocation size penalty calculation

2009-10-08 Thread Graeme Russ
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 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

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, formatted):

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 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 are the

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 -fpic / ld -pic on my

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 jwilliamcampb...@comcast.net 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 -

Re: [U-Boot] Relocation size penalty calculation

2009-10-08 Thread Wolfgang Denk
Dear Graeme Russ, In message d66caabb0910081358h5b013922tf7f9dce4cce41...@mail.gmail.com 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:

Re: [U-Boot] Relocation size penalty calculation

2009-10-08 Thread Graeme Russ
On Fri, Oct 9, 2009 at 8:23 AM, Wolfgang Denk w...@denx.de wrote: Dear Graeme Russ, In message d66caabb0910081358h5b013922tf7f9dce4cce41...@mail.gmail.com you wrote: Once the reloc branch has been merged, how many arches are left which do not support relocation? All but PPC ? Hmm, so

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 w...@denx.de wrote: Dear Graeme Russ, In message d66caabb0910081358h5b013922tf7f9dce4cce41...@mail.gmail.com you wrote: Once the reloc branch has been merged, how many arches are

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 jwilliamcampb...@comcast.net 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

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 jwilliamcampb...@comcast.net wrote: Graeme Russ wrote: On Fri, Oct 9, 2009 at 2:58 AM, J. William Campbell jwilliamcampb...@comcast.net wrote: Graeme Russ wrote: Out of curiosity, I wanted to see just how much of a size penalty I am

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 jwilliamcampb...@comcast.net wrote: Graeme Russ wrote: On Fri, Oct 9, 2009 at 2:58 AM, J. William Campbell jwilliamcampb...@comcast.net wrote: Graeme Russ wrote: Out of curiosity, I wanted to see just how much of a size

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 jwilliamcampb...@comcast.net wrote: Graeme Russ wrote: On Fri, Oct 9, 2009 at 2:58 AM, J. William Campbell jwilliamcampb...@comcast.net wrote: Graeme Russ wrote: Out of

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 w...@denx.de wrote: Graeme Russ wrote: Once the reloc branch has been merged, how many arches are left which do not support

Re: [U-Boot] Relocation size penalty calculation

2009-10-08 Thread Graeme Russ
On Fri, Oct 9, 2009 at 9:20 AM, Peter Tyser pty...@xes-inc.com wrote: On Fri, 2009-10-09 at 09:02 +1100, Graeme Russ wrote: On Fri, Oct 9, 2009 at 8:23 AM, Wolfgang Denk w...@denx.de wrote: Dear Graeme Russ, In message d66caabb0910081358h5b013922tf7f9dce4cce41...@mail.gmail.com you