<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git, branch v2021.07-rc3</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/u-boot.git/atom/?h=v2021.07-rc3</id>
<link rel='self' href='http://cgit.235523.xyz/u-boot.git/atom/?h=v2021.07-rc3'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<updated>2021-05-25T00:53:13Z</updated>
<entry>
<title>Prepare v2021.07-rc3</title>
<updated>2021-05-25T00:53:13Z</updated>
<author>
<name>Tom Rini</name>
<email>trini@konsulko.com</email>
</author>
<published>2021-05-25T00:53:13Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=e1bf0336a58cfe873a34c36ff53e5e3806f2d263'/>
<id>urn:sha1:e1bf0336a58cfe873a34c36ff53e5e3806f2d263</id>
<content type='text'>
Signed-off-by: Tom Rini &lt;trini@konsulko.com&gt;
</content>
</entry>
<entry>
<title>Merge branch '2021-05-24-add-lto-support'</title>
<updated>2021-05-24T20:12:31Z</updated>
<author>
<name>Tom Rini</name>
<email>trini@konsulko.com</email>
</author>
<published>2021-05-24T20:12:31Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=27c6d9663c3f42059514e47c17652304a1cfcfc9'/>
<id>urn:sha1:27c6d9663c3f42059514e47c17652304a1cfcfc9</id>
<content type='text'>
- Add LTO (link time optimization) support to the build system and
  enable it on a few boards.  This is an alternative to using
  -ffunction-sections/-fdata-sections and --gc-sections at link time to
  remove unused code.  This can result in notable savings, but needs
  testing on each platform before use as it can expose problems by
  optimizing away various functionally necessary calls.
</content>
</entry>
<entry>
<title>stackprot: Make our test a bit more complex</title>
<updated>2021-05-24T18:23:01Z</updated>
<author>
<name>Tom Rini</name>
<email>trini@konsulko.com</email>
</author>
<published>2021-05-24T18:19:05Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=2fc62f2991744dfeec65f8619092c359d8ecbcb0'/>
<id>urn:sha1:2fc62f2991744dfeec65f8619092c359d8ecbcb0</id>
<content type='text'>
With better compiler optimizations available, a compiler may see we do
nothing with our buffer after calling memset and omit the call, thus
causing us to not smash the stack.  Add a comment to explain why we now
also have a printf call, so that the test will pass as the memset will
not be omitted.

Reported-by: Marek Behún &lt;marek.behun@nic.cz&gt;
Signed-off-by: Tom Rini &lt;trini@konsulko.com&gt;
</content>
</entry>
<entry>
<title>ARM: enable LTO for some boards</title>
<updated>2021-05-24T18:21:30Z</updated>
<author>
<name>Marek Behún</name>
<email>marek.behun@nic.cz</email>
</author>
<published>2021-05-20T11:24:25Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=960f110c3781c3d28ca8e75181019a3454ec843a'/>
<id>urn:sha1:960f110c3781c3d28ca8e75181019a3454ec843a</id>
<content type='text'>
Enable LTO for some boards that were tested by people on U-Boot Mailing
List.

Signed-off-by: Marek Behún &lt;marek.behun@nic.cz&gt;
Tested-by: Adam Ford &lt;aford173@gmail.com&gt;
Tested-by: Pali Rohár &lt;pali@kernel.org&gt;
Tested-by: Tim Harvey &lt;tharvey@gateworks.com&gt;
</content>
</entry>
<entry>
<title>ARM: don't use --gc-sections with LTO when using private libgcc</title>
<updated>2021-05-24T18:21:30Z</updated>
<author>
<name>Marek Behún</name>
<email>marek.behun@nic.cz</email>
</author>
<published>2021-05-20T11:24:24Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=34ccadcd3334d695806acb84e4d4e5f4ef322e9e'/>
<id>urn:sha1:34ccadcd3334d695806acb84e4d4e5f4ef322e9e</id>
<content type='text'>
When using LTO, we can throw away the --gc-sections flag, but only if
using private libgcc.

When using system's libgcc, --gc-sections is still needed, otherwise
linking will fail due to undefined references to libc's symbols.

Signed-off-by: Marek Behún &lt;marek.behun@nic.cz&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>ARM: don't use -ffunction-sections/-fdata-sections with LTO build</title>
<updated>2021-05-24T18:21:30Z</updated>
<author>
<name>Marek Behún</name>
<email>marek.behun@nic.cz</email>
</author>
<published>2021-05-20T11:24:23Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=75c7d10c1f61ff509bcbe00284b7424b55c9ed92'/>
<id>urn:sha1:75c7d10c1f61ff509bcbe00284b7424b55c9ed92</id>
<content type='text'>
When building with LTO, using -ffunction-sections/-fdata-sections is not
useful anymore.

Signed-off-by: Marek Behún &lt;marek.behun@nic.cz&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>ARM: make LTO available</title>
<updated>2021-05-24T18:21:30Z</updated>
<author>
<name>Marek Behún</name>
<email>marek.behun@nic.cz</email>
</author>
<published>2021-05-20T11:24:22Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=8f9696510afc2b52ebeba5d1db4883cf3331c206'/>
<id>urn:sha1:8f9696510afc2b52ebeba5d1db4883cf3331c206</id>
<content type='text'>
Make LTO available for ARM architecture.

Signed-off-by: Marek Behún &lt;marek.behun@nic.cz&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>ata: ahci: fix ahci_link_up() type mismatch for LTO</title>
<updated>2021-05-24T18:21:30Z</updated>
<author>
<name>Marek Behún</name>
<email>marek.behun@nic.cz</email>
</author>
<published>2021-05-20T11:24:21Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=2361b5eb5c3e116519518848fe8db9aed4841f4a'/>
<id>urn:sha1:2361b5eb5c3e116519518848fe8db9aed4841f4a</id>
<content type='text'>
When building highbank_defconfig with LTO, the compiler complains about
type mismatch of function ahci_link_up().

The third parameter of this function is of type u8 in
drivers/ata/ahci.c, but of type int in board/highbank/ahci.c.

There is no reason in using u8, and the code using this function
actually passes an int variable into the function (so it is implicitly
converted to u8).

Change the type of this parameter to int in drivers/ata/ahci.c.

Signed-off-by: Marek Behún &lt;marek.behun@nic.cz&gt;
Reviewed-by: Bin Meng &lt;bmeng.cn@gmail.com&gt;
</content>
</entry>
<entry>
<title>armv8: SPL: discard relocation information</title>
<updated>2021-05-24T18:21:30Z</updated>
<author>
<name>Marek Behún</name>
<email>marek.behun@nic.cz</email>
</author>
<published>2021-05-20T11:24:20Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=37de198fa25b4bd31c69d14bad4fa6904685836d'/>
<id>urn:sha1:37de198fa25b4bd31c69d14bad4fa6904685836d</id>
<content type='text'>
For some reason when building SPL for ARMv8 with LTO, the relocation
information is not discarded.

Discard it explicitly in the linker script.

This fixes LTO build for imx8mm_venice_defconfig.

Signed-off-by: Marek Behún &lt;marek.behun@nic.cz&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>ARM: omap3: fix LTO for DM3730 (and possibly other omap3 boards)</title>
<updated>2021-05-24T18:21:30Z</updated>
<author>
<name>Marek Behún</name>
<email>marek.behun@nic.cz</email>
</author>
<published>2021-05-20T11:24:19Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=baa977bd0f63c48ffd57c65f052d5a6c8f6f0fc1'/>
<id>urn:sha1:baa977bd0f63c48ffd57c65f052d5a6c8f6f0fc1</id>
<content type='text'>
Adam Ford says that DM3730 needs board.c compiled without LTO flags.

Signed-off-by: Marek Behún &lt;marek.behun@nic.cz&gt;
Tested-by: Adam Ford &lt;aford173@gmail.com&gt;
</content>
</entry>
</feed>
