Re: [U-Boot] [PATCH] PowerPC: Move -fPIC flag to common place

2011-04-22 Thread Joakim Tjernlund
Wolfgang Denk w...@denx.de wrote on 2011/04/20 22:13:35: Dear Joakim Tjernlund, In message of8b32e14f.150b51b9-onc1257878.0044927e-c1257878.00452...@transmode.se you wrote: OK, I managed to script the change, patch last in mail. Thanks. However

Re: [U-Boot] [PATCH] PowerPC: Move -fPIC flag to common place

2011-04-20 Thread Joakim Tjernlund
Wolfgang Denk w...@denx.de wrote on 2011/04/20 00:41:01: Dear Joakim Tjernlund, In message ofbc9c03bc.436c27c7-onc1257877.00797190-c1257877.007a0...@transmode.se you wrote: Yes, but you yorself pointed out that commit 337f5f5 missed a large number of boards, leaving the tree in a

Re: [U-Boot] [PATCH] PowerPC: Move -fPIC flag to common place

2011-04-20 Thread Wolfgang Denk
Dear Joakim Tjernlund, In message of8b32e14f.150b51b9-onc1257878.0044927e-c1257878.00452...@transmode.se you wrote: OK, I managed to script the change, patch last in mail. Thanks. However CROSS_COMPILE=powerpc-softfloat-linux-gnu- ./MAKEALL TQM862L TQM855L TQM860L does not build for

Re: [U-Boot] [PATCH] PowerPC: Move -fPIC flag to common place

2011-04-19 Thread Wolfgang Denk
Dear Joakim Tjernlund, In message of484eff4d.45d9734b-onc1257870.002e25b2-c1257870.002f0...@transmode.se you wrote: It seems this change increases the code size somehow - which I would not expect from your comment above. Please have a look. Very strange, I had a quick look(that is all

Re: [U-Boot] [PATCH] PowerPC: Move -fPIC flag to common place

2011-04-19 Thread Joakim Tjernlund
Wolfgang Denk w...@denx.de wrote on 2011/04/19 22:25:25: Dear Joakim Tjernlund, In message of484eff4d.45d9734b-onc1257870.002e25b2-c1257870.002f0...@transmode.se you wrote: It seems this change increases the code size somehow - which I would not expect from your comment above.

Re: [U-Boot] [PATCH] PowerPC: Move -fPIC flag to common place

2011-04-19 Thread Wolfgang Denk
Dear Joakim Tjernlund, In message ofc3d6185b.85dce339-onc1257877.007406b0-c1257877.00746...@transmode.se you wrote: Can you please provide a fix? I'd like to get rid of this build error ASAP. We could, of course, simply revert these commits. Grepping shows a boat load of u-boot.lds

Re: [U-Boot] [PATCH] PowerPC: Move -fPIC flag to common place

2011-04-19 Thread Joakim Tjernlund
Wolfgang Denk w...@denx.de wrote on 2011/04/19 23:35:40: Dear Joakim Tjernlund, In message ofc3d6185b.85dce339-onc1257877.007406b0-c1257877.00746...@transmode.se you wrote: Can you please provide a fix? I'd like to get rid of this build error ASAP. We could, of course, simply

Re: [U-Boot] [PATCH] PowerPC: Move -fPIC flag to common place

2011-04-19 Thread Wolfgang Denk
Dear Joakim Tjernlund, In message ofc5a52df3.355573b0-onc1257877.0078430f-c1257877.00789...@transmode.se you wrote: That means I will revert the two commits? One, you only claimed that: The -fPIC flag belongs with -mrelocatable, move it there. Also change -fPIC to -fpic as this

Re: [U-Boot] [PATCH] PowerPC: Move -fPIC flag to common place

2011-04-19 Thread Joakim Tjernlund
Wolfgang Denk w...@denx.de wrote on 2011/04/20 00:05:27: From: Wolfgang Denk w...@denx.de To: Joakim Tjernlund joakim.tjernl...@transmode.se Cc: u-boot@lists.denx.de Date: 2011/04/20 00:05 Subject: Re: [U-Boot] [PATCH] PowerPC: Move -fPIC flag to common place Dear Joakim Tjernlund

Re: [U-Boot] [PATCH] PowerPC: Move -fPIC flag to common place

2011-04-19 Thread Wolfgang Denk
Dear Joakim Tjernlund, In message ofbc9c03bc.436c27c7-onc1257877.00797190-c1257877.007a0...@transmode.se you wrote: Yes, but you yorself pointed out that commit 337f5f5 missed a large number of boards, leaving the tree in a inconsistent state. Should we not revert that one as well?

Re: [U-Boot] [PATCH] PowerPC: Move -fPIC flag to common place

2011-04-19 Thread Joakim Tjernlund
Wolfgang Denk w...@denx.de wrote on 2011/04/20 00:41:01: Dear Joakim Tjernlund, In message ofbc9c03bc.436c27c7-onc1257877.00797190-c1257877.007a0...@transmode.se you wrote: Yes, but you yorself pointed out that commit 337f5f5 missed a large number of boards, leaving the tree in a

Re: [U-Boot] [PATCH] PowerPC: Move -fPIC flag to common place

2011-04-12 Thread Wolfgang Denk
Dear Joakim Tjernlund, In message 1291642606-4290-1-git-send-email-joakim.tjernl...@transmode.se you wrote: The -fPIC flag belongs with -mrelocatable, move it there. Also change -fPIC to -fpic as this produces smaller binaries. However, currently -mrelocatable promotes -fpic to -fPIC, a fix

Re: [U-Boot] [PATCH] PowerPC: Move -fPIC flag to common place

2011-04-12 Thread Joakim Tjernlund
Dear Joakim Tjernlund, In message 1291642606-4290-1-git-send-email-joakim.tjernl...@transmode.se you wrote: The -fPIC flag belongs with -mrelocatable, move it there. Also change -fPIC to -fpic as this produces smaller binaries. However, currently -mrelocatable promotes -fpic to

Re: [U-Boot] [PATCH] PowerPC: Move -fPIC flag to common place

2011-04-11 Thread Wolfgang Denk
Dear Joakim Tjernlund, In message 1291642606-4290-1-git-send-email-joakim.tjernl...@transmode.se you wrote: The -fPIC flag belongs with -mrelocatable, move it there. Also change -fPIC to -fpic as this produces smaller binaries. However, currently -mrelocatable promotes -fpic to -fPIC, a fix

[U-Boot] [PATCH] PowerPC: Move -fPIC flag to common place

2010-12-06 Thread Joakim Tjernlund
The -fPIC flag belongs with -mrelocatable, move it there. Also change -fPIC to -fpic as this produces smaller binaries. However, currently -mrelocatable promotes -fpic to -fPIC, a fix for this is in upcoming gcc 4.6 or you can apply this small patch to gcc: diff --git a/gcc/config/rs6000/sysv4.h