<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/arch/powerpc/cpu/mpc824x, branch v2012.04</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/u-boot.git/atom/arch/powerpc/cpu/mpc824x?h=v2012.04</id>
<link rel='self' href='http://cgit.235523.xyz/u-boot.git/atom/arch/powerpc/cpu/mpc824x?h=v2012.04'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<updated>2011-11-03T19:44:58Z</updated>
<entry>
<title>Reduce build times</title>
<updated>2011-11-03T19:44:58Z</updated>
<author>
<name>Wolfgang Denk</name>
<email>wd@denx.de</email>
</author>
<published>2011-11-01T20:54:02Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=cca4e4aec1fe52e5ecd15e3cebdbb36e2f254220'/>
<id>urn:sha1:cca4e4aec1fe52e5ecd15e3cebdbb36e2f254220</id>
<content type='text'>
U-Boot Makefiles contain a number of tests for compiler features etc.
which so far are executed again and again.  On some architectures
(especially ARM) this results in a large number of calls to gcc.

This patch makes sure to run such tests only once, thus largely
reducing the number of "execve" system calls.

Example: number of "execve" system calls for building the "P2020DS"
(Power Architecture) and "qong" (ARM) boards, measured as:
	-&gt; strace -f -e trace=execve -o /tmp/foo ./MAKEALL &lt;board&gt;
	-&gt; grep execve /tmp/foo | wc -l

	Before: After:	Reduction:
==================================
P2020DS 20555	15205	-26%
qong	31692	14490	-54%

As a result, built times are significantly reduced, typically by
30...50%.

Signed-off-by: Wolfgang Denk &lt;wd@denx.de&gt;
Cc: Andy Fleming &lt;afleming@gmail.com&gt;
Cc: Kumar Gala &lt;galak@kernel.crashing.org&gt;
Cc: Albert Aribaud &lt;albert.aribaud@free.fr&gt;
cc: Graeme Russ &lt;graeme.russ@gmail.com&gt;
cc: Mike Frysinger &lt;vapier@gentoo.org&gt;
Tested-by: Graeme Russ &lt;graeme.russ@gmail.com&gt;
Tested-by: Matthias Weisser &lt;weisserm@arcor.de&gt;
Tested-by: Sanjeev Premi &lt;premi@ti.com&gt;
Tested-by: Simon Glass &lt;sjg@chromium.org&gt;
Tested-by: Macpaul Lin &lt;macpaul@gmail.com&gt;
Acked-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
</content>
</entry>
<entry>
<title>unify version_string</title>
<updated>2011-07-28T15:22:53Z</updated>
<author>
<name>Andreas BieÃŸmann</name>
<email>andreas.devel@googlemail.com</email>
</author>
<published>2011-07-18T18:24:04Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=09c2e90c110ef99f1203685acd1059114a51b167'/>
<id>urn:sha1:09c2e90c110ef99f1203685acd1059114a51b167</id>
<content type='text'>
This patch removes the architecture specific implementation of
version_string where possible. Some architectures use a special place
and therefore we provide U_BOOT_VERSION_STRING definition and a common
weak symbol version_string.

Signed-off-by: Andreas Bießmann &lt;andreas.devel@googlemail.com&gt;
CC: Mike Frysinger &lt;vapier@gentoo.org&gt;
CC: Peter Pan &lt;pppeterpppan@gmail.com&gt;
Acked-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
</content>
</entry>
<entry>
<title>Revert "PowerPC: Add support for -msingle-pic-base"</title>
<updated>2011-04-20T20:11:21Z</updated>
<author>
<name>Wolfgang Denk</name>
<email>wd@denx.de</email>
</author>
<published>2011-04-20T20:11:21Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=8c4734e9afc0856f297805563e83fb74398b9a16'/>
<id>urn:sha1:8c4734e9afc0856f297805563e83fb74398b9a16</id>
<content type='text'>
This reverts commit 39768f7715ed637ef02f49fc7de664cc1aaf14b3.

Reson: it breaks a number of boards with embedded environment as the
code size grows in some places.
</content>
</entry>
<entry>
<title>PowerPC: Add support for -msingle-pic-base</title>
<updated>2011-04-11T19:38:47Z</updated>
<author>
<name>Joakim Tjernlund</name>
<email>Joakim.Tjernlund@transmode.se</email>
</author>
<published>2010-12-06T17:35:37Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=39768f7715ed637ef02f49fc7de664cc1aaf14b3'/>
<id>urn:sha1:39768f7715ed637ef02f49fc7de664cc1aaf14b3</id>
<content type='text'>
-msingle-pic-base is a new gcc option for ppc and
it reduces the size of my u-boot with 6-8 KB.
While at it, add -fno-jump-tables too to save a
few more bytes.

-msingle-pic-base will be in gcc 4.6, however
backported patches are available at
http://bugs.gentoo.org/show_bug.cgi?id=347281

Signed-off-by: Joakim Tjernlund &lt;Joakim.Tjernlund@transmode.se&gt;
</content>
</entry>
<entry>
<title>PowerPC: Move -fPIC flag to common place</title>
<updated>2011-04-11T19:36:41Z</updated>
<author>
<name>Joakim Tjernlund</name>
<email>Joakim.Tjernlund@transmode.se</email>
</author>
<published>2010-12-06T13:36:46Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=33ee4c92339ee386662c0ee2d221098c5cc8b07e'/>
<id>urn:sha1:33ee4c92339ee386662c0ee2d221098c5cc8b07e</id>
<content type='text'>
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 b/gcc/config/rs6000/sysv4.h
index 8da8410..e4b8280 100644
--- a/gcc/config/rs6000/sysv4.h
+++ b/gcc/config/rs6000/sysv4.h
@@ -227,7 +227,8 @@ do {									\
     }									\
 									\
   else if (TARGET_RELOCATABLE)						\
-    flag_pic = 2;							\
+    if (!flag_pic)							\
+      flag_pic = 2;							\
 } while (0)

 #ifndef RS6000_BI_ARCH
--

Signed-off-by: Joakim Tjernlund &lt;Joakim.Tjernlund@transmode.se&gt;
</content>
</entry>
<entry>
<title>rename _end to __bss_end__</title>
<updated>2011-03-27T17:18:37Z</updated>
<author>
<name>Po-Yu Chuang</name>
<email>ratbert@faraday-tech.com</email>
</author>
<published>2011-03-01T22:59:59Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=44c6e6591cb451ae606f8bde71dd5fb7b4002544'/>
<id>urn:sha1:44c6e6591cb451ae606f8bde71dd5fb7b4002544</id>
<content type='text'>
Currently, _end is used for end of BSS section.  We want _end to mean
end of u-boot image, so we rename _end to __bss_end__ first.

Signed-off-by: Po-Yu Chuang &lt;ratbert@faraday-tech.com&gt;
</content>
</entry>
<entry>
<title>PowerPC: Add relocation support for -fpic</title>
<updated>2010-12-17T19:25:10Z</updated>
<author>
<name>Joakim Tjernlund</name>
<email>Joakim.Tjernlund@transmode.se</email>
</author>
<published>2010-12-03T16:30:37Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=337f5f50f539cc1ea1e0533c096e237228f12cae'/>
<id>urn:sha1:337f5f50f539cc1ea1e0533c096e237228f12cae</id>
<content type='text'>
By rearranging the linker script we get support for
relocation of -fpic for free.

Signed-off-by: Joakim Tjernlund &lt;Joakim.Tjernlund@transmode.se&gt;
Acked-by: Scott Wood &lt;scottwood@freescale.com&gt;
Acked-by: Kim Phillips &lt;kim.phillips@freescale.com&gt;
</content>
</entry>
<entry>
<title>824x: Cleanup for partial linking and --gc-sections</title>
<updated>2010-11-27T22:35:12Z</updated>
<author>
<name>Wolfgang Denk</name>
<email>wd@denx.de</email>
</author>
<published>2010-11-23T22:48:56Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=de550d6b34140f1fa9e4e2f082de5ee7009dceb5'/>
<id>urn:sha1:de550d6b34140f1fa9e4e2f082de5ee7009dceb5</id>
<content type='text'>
Signed-off-by: Wolfgang Denk &lt;wd@denx.de&gt;
Acked-by: Stefan Roese &lt;sr@denx.de&gt;
</content>
</entry>
<entry>
<title>arch/powerpc/*/config.mk: make CONFIG_SYS_LDSCRIPT settings work</title>
<updated>2010-11-26T21:08:19Z</updated>
<author>
<name>Wolfgang Denk</name>
<email>wd@denx.de</email>
</author>
<published>2010-11-21T15:34:05Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=fa11dbe56da5283a56f6ec044a1049645dd2e036'/>
<id>urn:sha1:fa11dbe56da5283a56f6ec044a1049645dd2e036</id>
<content type='text'>
As we try to get rid of board specific config.mk files we must
provide a way for board specific settings of the LDSCRIPT variable
(path to the linker script) where needed.

We now implement the following hierarchy:

- Highest priority has a "#define CONFIG_SYS_LDCONFIG" in the board
  config file.
- If CONFIG_SYS_LDCONFIG is not set, and the system is booting from
  NAND (CONFIG_NAND_SPL is set), then a board specific linker
  script board/$(BOARDDIR)/u-boot-nand.lds gets used.
- If we are not booting from NAND, we test if a processor specific
  linker script arch/powerpc/cpu/$(CPU)/u-boot.lds exists; if so we
  use that.
- As default, arch/powerpc/config.mk gets used.

Signed-off-by: Wolfgang Denk &lt;wd@denx.de&gt;
Cc: Stefan Roese &lt;sr@denx.de&gt;
Cc: Kim Phillips &lt;kim.phillips@freescale.com&gt;
Cc: Kumar Gala &lt;kumar.gala@freescale.com&gt;
Cc: Andy Fleming &lt;afleming@gmail.com&gt;
Acked-by: Stefan Roese &lt;sr@denx.de&gt;
</content>
</entry>
<entry>
<title>Switch from archive libraries to partial linking</title>
<updated>2010-11-17T20:02:18Z</updated>
<author>
<name>Sebastien Carlier</name>
<email>sebastien.carlier@gmail.com</email>
</author>
<published>2010-11-05T14:48:07Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=6d8962e814c15807dd6ac5757904be2a02d187b8'/>
<id>urn:sha1:6d8962e814c15807dd6ac5757904be2a02d187b8</id>
<content type='text'>
Before this commit, weak symbols were not overridden by non-weak symbols
found in archive libraries when linking with recent versions of
binutils.  As stated in the System V ABI, "the link editor does not
extract archive members to resolve undefined weak symbols".

This commit changes all Makefiles to use partial linking (ld -r) instead
of creating library archives, which forces all symbols to participate in
linking, allowing non-weak symbols to override weak symbols as intended.
This approach is also used by Linux, from which the gmake function
cmd_link_o_target (defined in config.mk and used in all Makefiles) is
inspired.

The name of each former library archive is preserved except for
extensions which change from ".a" to ".o".  This commit updates
references accordingly where needed, in particular in some linker
scripts.

This commit reveals board configurations that exclude some features but
include source files that depend these disabled features in the build,
resulting in undefined symbols.  Known such cases include:
- disabling CMD_NET but not CMD_NFS;
- enabling CONFIG_OF_LIBFDT but not CONFIG_QE.

Signed-off-by: Sebastien Carlier &lt;sebastien.carlier@gmail.com&gt;
</content>
</entry>
</feed>
