<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/arch/powerpc/cpu/mpc824x, branch v2011.06</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=v2011.06</id>
<link rel='self' href='http://cgit.235523.xyz/u-boot.git/atom/arch/powerpc/cpu/mpc824x?h=v2011.06'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<updated>2011-04-20T20:11:21Z</updated>
<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>
<entry>
<title>PowerPC: Don't destroy fixup table while doing fixups</title>
<updated>2010-11-14T22:25:33Z</updated>
<author>
<name>Joakim Tjernlund</name>
<email>Joakim.Tjernlund@transmode.se</email>
</author>
<published>2010-11-04T18:02:00Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=34bbf618600fb6961d8359e42fb87e59fbd788d9'/>
<id>urn:sha1:34bbf618600fb6961d8359e42fb87e59fbd788d9</id>
<content type='text'>
The fixup procedure just stored a constant value in the
fixup table rather than just adjusting the table.
Although that doesn't seem to do any harm, it prevents
relocation more that once.

Signed-off-by: Joakim Tjernlund &lt;Joakim.Tjernlund@transmode.se&gt;
</content>
</entry>
<entry>
<title>Replace CONFIG_SYS_GBL_DATA_SIZE by auto-generated value</title>
<updated>2010-10-26T19:05:30Z</updated>
<author>
<name>Wolfgang Denk</name>
<email>wd@denx.de</email>
</author>
<published>2010-10-26T12:34:52Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=25ddd1fb0a2281b182529afbc8fda5de2dc16d96'/>
<id>urn:sha1:25ddd1fb0a2281b182529afbc8fda5de2dc16d96</id>
<content type='text'>
CONFIG_SYS_GBL_DATA_SIZE has always been just a bad workarond for not
being able to use "sizeof(struct global_data)" in assembler files.
Recent experience has shown that manual synchronization is not
reliable enough.  This patch renames CONFIG_SYS_GBL_DATA_SIZE into
GENERATED_GBL_DATA_SIZE which gets automatically generated by the
asm-offsets tool.  In the result, all definitions of this value can be
deleted from the board config files.  We have to make sure that all
files that reference such data include the new &lt;asm-offsets.h&gt; file.

No other changes have been done yet, but it is obvious that similar
changes / simplifications can be done for other, related macro
definitions as well.

Signed-off-by: Wolfgang Denk &lt;wd@denx.de&gt;
Acked-by: Kumar Gala &lt;galak@kernel.crashing.org&gt;
</content>
</entry>
</feed>
