History log of /u-boot/arch/microblaze/cpu/u-boot.lds
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# c316ee67 27-Jun-2022 Tom Rini <trini@konsulko.com>

Merge tag 'xilinx-for-v2022.10' of https://source.denx.de/u-boot/custodians/u-boot-microblaze into next

Xilinx changes for v2022.10

cpu:
- Add driver for microblaze cpu

net:
- Add support for DM_ETH_PHY to AXI emac and emaclite

xilinx:
- Switch platforms to DM_ETH_PHY
- DT chagnes in ZynqMP and Zynq
- Enable support for SquashFS

zynqmp:
- Add support for KR260 boards
- Move BSS from address 0
- Move platform identification from board code to soc driver
- Improve zynqmp_psu_init_minimize

versal:
- Enable loading app at EL1

serial:
- Setup default address and clock rates for DEBUG uarts

pinctrl:
- Add support for tri state and output enable properties

relocate-rela:
- Clean relocate-rela implementation for ARM64
- Add support for Microblaze

microblaze:
- Add support for runtime relocation
- Rework cache handling (wiring, Kconfig) based on cpuinfo
- Remove interrupt support

timer:
- Extract axi timer driver from Microblaze to generic location


# d58c0074 24-Jun-2022 Michal Simek <michal.simek@amd.com>

microblaze: Add support for run time relocation

Microblaze is using NEEDS_MANUAL_RELOC from the beginnging. This is causing
issues with function pointer arrays which need to be updated manually after
relocation. Building code with -fPIC and linking with -pic will remove this
limitation and there is no longer need to run manual update.

By default still old option is enabled but by disabling NEEDS_MANUAL_RELOC
code will be compiled for full relocation.

The patch does couple of things which are connected to each other.
- Define STATIC_RELA dependency to call relocate-rela to fill sections.
- REMAKE_ELF was already enabled but u-boot file can't be used because
sections are empty. relocate-rela will fill them and output file is
u-boot.elf which should be used.
- Add support for full relocation (u-boot.elf)
- Add support for early relocation when u-boot.bin is loaded to different
address then CONFIG_SYS_TEXT_BASE
- Add rela.dyn and dynsym sections

Disabling NEEDS_MANUAL_RELOC U-Boot size increased by 10% of it's original
size (550kB to 608kB).

Signed-off-by: Michal Simek <michal.simek@amd.com>
Link: https://lore.kernel.org/r/a845670b34925859b2e321875f7588a29f6655f9.1655299267.git.michal.simek@amd.com

# 99e2fbcb 30-May-2022 Andrew Scull <ascull@google.com>

linker_lists: Rename sections to remove . prefix

Rename the sections used to implement linker lists so they begin with
'__u_boot_list' rather than '.u_boot_list'. The double underscore at the
start is still distinct from the single underscore used by the symbol
names.

Having a '.' in the section names conflicts with clang's ASAN
instrumentation which tries to add redzones between the linker list
elements, causing expected accesses to fail. However, clang doesn't try
to add redzones to user sections, which are names with all alphanumeric
and underscore characters.

Signed-off-by: Andrew Scull <ascull@google.com>
Reviewed-by: Simon Glass <sjg@chromium.org>

# edf0f9b1 30-Nov-2021 Ovidiu Panait <ovidiu.panait@windriver.com>

microblaze: u-boot.lds: replace __end symbol with _end

board_fdt_blob_setup() uses the _end symbol to find the dtb in the non-spl
case. In order to allow microblaze builds to compile successfully with
CONFIG_OF_SEPARATE, the _end symbol must be defined. Align microblaze with
the other architectures and use _end symbol rather than __end to mark the
end of the u-boot binary.

Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
Link: https://lore.kernel.org/r/20211130163358.2531677-2-ovidiu.panait@windriver.com
Signed-off-by: Michal Simek <michal.simek@xilinx.com>

# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@amd.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>

# 83d290c5 06-May-2018 Tom Rini <trini@konsulko.com>

SPDX: Convert all of our single license tags to Linux Kernel style

When U-Boot started using SPDX tags we were among the early adopters and
there weren't a lot of other examples to borrow from. So we picked the
area of the file that usually had a full license text and replaced it
with an appropriate SPDX-License-Identifier: entry. Since then, the
Linux Kernel has adopted SPDX tags and they place it as the very first
line in a file (except where shebangs are used, then it's second line)
and with slightly different comment styles than us.

In part due to community overlap, in part due to better tag visibility
and in part for other minor reasons, switch over to that style.

This commit changes all instances where we have a single declared
license in the tag as both the before and after are identical in tag
contents. There's also a few places where I found we did not have a tag
and have introduced one.

Signed-off-by: Tom Rini <trini@konsulko.com>

# e945f6dc 08-May-2014 Michal Simek <michal.simek@amd.com>

microblaze: Move architecture to use generic board init

Compile code with -fPIC to get GOT. Do not build SPL
with fPIC because it increasing SPL size for nothing.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>

# 7c6814f1 26-Jan-2015 Michal Simek <michal.simek@amd.com>

microblaze: Remove unneeded data section adding from DTB

DTB is added to rodata section:
[ 2] .rodata PROGBITS 84c5b60c 05c60c 00c618 00 A
0 0 4
[ 3] .dtb.init.rodata PROGBITS 84c67c30 068c30 003c80 00 A
0 0 16
[ 4] .rela.dyn RELA 84c6b8b0 06c8b0 000534 0c A
0 0 4
[ 5] .data PROGBITS 84c6bde4 06cde4 001536 00 WA
0 0 16

Signed-off-by: Michal Simek <michal.simek@xilinx.com>

# e2906a59 10-Nov-2013 Masahiro Yamada <yamada.masahiro@socionext.com>

Makefile: rename all libraries to built-in.o

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>

# 1a459660 08-Jul-2013 Wolfgang Denk <wd@denx.de>

Add GPL-2.0+ SPDX-License-Identifier to source files

Signed-off-by: Wolfgang Denk <wd@denx.de>
[trini: Fixup common/cmd_io.c]
Signed-off-by: Tom Rini <trini@ti.com>

# ef123c52 24-Feb-2013 Albert ARIBAUD <albert.u.boot@aribaud.net>

Refactor linker-generated arrays

Refactor linker-generated array code so that symbols
which were previously linker-generated are now compiler-
generated. This causes relocation records of type
R_ARM_ABS32 to become R_ARM_RELATIVE, which makes
code which uses LGA able to run before relocation as
well as after.

Note: this affects more than ARM targets, as linker-
lists span possibly all target architectures, notably
PowerPC.

Conflicts:
arch/arm/cpu/arm926ejs/mxs/u-boot-spl.lds
arch/arm/cpu/arm926ejs/spear/u-boot-spl.lds
arch/arm/cpu/armv7/omap-common/u-boot-spl.lds
board/ait/cam_enc_4xx/u-boot-spl.lds
board/davinci/da8xxevm/u-boot-spl-da850evm.lds
board/davinci/da8xxevm/u-boot-spl-hawk.lds
board/vpac270/u-boot-spl.lds

Signed-off-by: Albert ARIBAUD <albert.u.boot@aribaud.net>

# b3e5cd17 26-Sep-2012 Michal Simek <michal.simek@xilinx.com>

microblaze: Fix compilation failure because of missing libdts

Microblaze platform can use CONFIG_OF_EMBED option
but also it is necessary to support boards
which don't want to use this option.
U-Boot doesn't compile dts/libdts.o for #undef CONFIG_OF_EMBED
case that's why it should be guarded by ifdef.

Signed-off-by: Michal Simek <monstr@monstr.eu>

# 8b493a52 16-Oct-2012 Marek Vasut <marex@denx.de>

common: Discard the __u_boot_cmd section

The command declaration now uses the new LG-array method to generate
list of commands. Thus the __u_boot_cmd section is now superseded and
redundant and therefore can be removed. Also, remove externed symbols
associated with this section from include/command.h .

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Joe Hershberger <joe.hershberger@gmail.com>
Cc: Mike Frysinger <vapier@gentoo.org>

# 55675142 12-Oct-2012 Marek Vasut <marex@denx.de>

common: Add .u_boot_list into all linker files

Add section for the linker-generated lists into all possible linker
files, so that everyone can easily use these lists. This is mostly
a mechanical adjustment.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Joe Hershberger <joe.hershberger@gmail.com>
Cc: Mike Frysinger <vapier@gentoo.org>

# b710d9d6 28-Jun-2012 Michal Simek <michal.simek@xilinx.com>

microblaze: Add support for device tree driven board configuration

This is minimum code required to be able to use device-tree
for u-boot initialization.
Currently only for device driver initialization.

Linker script change ensures DTB to be aligned
for both options CONFIG_OF_EMBED and CONFIG_OF_SEPARATE.

Signed-off-by: Michal Simek <monstr@monstr.eu>
Acked-by: Stephan Linz <linz@li-pro.net>
CC: Simon Glass <sjg@chromium.org>

# 2e65b44c 28-Jun-2012 Michal Simek <michal.simek@xilinx.com>

microblaze: Move individual board linker scripts to common script in cpu tree.

Unification for all microblaze boards.

Signed-off-by: Michal Simek <monstr@monstr.eu>

# edf0f9b1 30-Nov-2021 Ovidiu Panait <ovidiu.panait@windriver.com>

microblaze: u-boot.lds: replace __end symbol with _end

board_fdt_blob_setup() uses the _end symbol to find the dtb in the non-spl
case. In order to allow microblaze builds to compile successfully with
CONFIG_OF_SEPARATE, the _end symbol must be defined. Align microblaze with
the other architectures and use _end symbol rather than __end to mark the
end of the u-boot binary.

Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
Link: https://lore.kernel.org/r/20211130163358.2531677-2-ovidiu.panait@windriver.com
Signed-off-by: Michal Simek <michal.simek@xilinx.com>

# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>

# 83d290c5 06-May-2018 Tom Rini <trini@konsulko.com>

SPDX: Convert all of our single license tags to Linux Kernel style

When U-Boot started using SPDX tags we were among the early adopters and
there weren't a lot of other examples to borrow from. So we picked the
area of the file that usually had a full license text and replaced it
with an appropriate SPDX-License-Identifier: entry. Since then, the
Linux Kernel has adopted SPDX tags and they place it as the very first
line in a file (except where shebangs are used, then it's second line)
and with slightly different comment styles than us.

In part due to community overlap, in part due to better tag visibility
and in part for other minor reasons, switch over to that style.

This commit changes all instances where we have a single declared
license in the tag as both the before and after are identical in tag
contents. There's also a few places where I found we did not have a tag
and have introduced one.

Signed-off-by: Tom Rini <trini@konsulko.com>

# e945f6dc 08-May-2014 Michal Simek <michal.simek@xilinx.com>

microblaze: Move architecture to use generic board init

Compile code with -fPIC to get GOT. Do not build SPL
with fPIC because it increasing SPL size for nothing.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>

# 7c6814f1 26-Jan-2015 Michal Simek <michal.simek@xilinx.com>

microblaze: Remove unneeded data section adding from DTB

DTB is added to rodata section:
[ 2] .rodata PROGBITS 84c5b60c 05c60c 00c618 00 A
0 0 4
[ 3] .dtb.init.rodata PROGBITS 84c67c30 068c30 003c80 00 A
0 0 16
[ 4] .rela.dyn RELA 84c6b8b0 06c8b0 000534 0c A
0 0 4
[ 5] .data PROGBITS 84c6bde4 06cde4 001536 00 WA
0 0 16

Signed-off-by: Michal Simek <michal.simek@xilinx.com>

# e2906a59 10-Nov-2013 Masahiro Yamada <yamada.m@jp.panasonic.com>

Makefile: rename all libraries to built-in.o

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>

# 1a459660 08-Jul-2013 Wolfgang Denk <wd@denx.de>

Add GPL-2.0+ SPDX-License-Identifier to source files

Signed-off-by: Wolfgang Denk <wd@denx.de>
[trini: Fixup common/cmd_io.c]
Signed-off-by: Tom Rini <trini@ti.com>

# ef123c52 24-Feb-2013 Albert ARIBAUD <albert.u.boot@aribaud.net>

Refactor linker-generated arrays

Refactor linker-generated array code so that symbols
which were previously linker-generated are now compiler-
generated. This causes relocation records of type
R_ARM_ABS32 to become R_ARM_RELATIVE, which makes
code which uses LGA able to run before relocation as
well as after.

Note: this affects more than ARM targets, as linker-
lists span possibly all target architectures, notably
PowerPC.

Conflicts:
arch/arm/cpu/arm926ejs/mxs/u-boot-spl.lds
arch/arm/cpu/arm926ejs/spear/u-boot-spl.lds
arch/arm/cpu/armv7/omap-common/u-boot-spl.lds
board/ait/cam_enc_4xx/u-boot-spl.lds
board/davinci/da8xxevm/u-boot-spl-da850evm.lds
board/davinci/da8xxevm/u-boot-spl-hawk.lds
board/vpac270/u-boot-spl.lds

Signed-off-by: Albert ARIBAUD <albert.u.boot@aribaud.net>

# b3e5cd17 26-Sep-2012 Michal Simek <monstr@monstr.eu>

microblaze: Fix compilation failure because of missing libdts

Microblaze platform can use CONFIG_OF_EMBED option
but also it is necessary to support boards
which don't want to use this option.
U-Boot doesn't compile dts/libdts.o for #undef CONFIG_OF_EMBED
case that's why it should be guarded by ifdef.

Signed-off-by: Michal Simek <monstr@monstr.eu>

# 8b493a52 16-Oct-2012 Marek Vasut <marex@denx.de>

common: Discard the __u_boot_cmd section

The command declaration now uses the new LG-array method to generate
list of commands. Thus the __u_boot_cmd section is now superseded and
redundant and therefore can be removed. Also, remove externed symbols
associated with this section from include/command.h .

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Joe Hershberger <joe.hershberger@gmail.com>
Cc: Mike Frysinger <vapier@gentoo.org>

# 55675142 12-Oct-2012 Marek Vasut <marex@denx.de>

common: Add .u_boot_list into all linker files

Add section for the linker-generated lists into all possible linker
files, so that everyone can easily use these lists. This is mostly
a mechanical adjustment.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Joe Hershberger <joe.hershberger@gmail.com>
Cc: Mike Frysinger <vapier@gentoo.org>

# b710d9d6 28-Jun-2012 Michal Simek <monstr@monstr.eu>

microblaze: Add support for device tree driven board configuration

This is minimum code required to be able to use device-tree
for u-boot initialization.
Currently only for device driver initialization.

Linker script change ensures DTB to be aligned
for both options CONFIG_OF_EMBED and CONFIG_OF_SEPARATE.

Signed-off-by: Michal Simek <monstr@monstr.eu>
Acked-by: Stephan Linz <linz@li-pro.net>
CC: Simon Glass <sjg@chromium.org>

# 2e65b44c 28-Jun-2012 Michal Simek <monstr@monstr.eu>

microblaze: Move individual board linker scripts to common script in cpu tree.

Unification for all microblaze boards.

Signed-off-by: Michal Simek <monstr@monstr.eu>

# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 9c2aa7e7 04-Nov-2020 Michal Simek <michal.simek@xilinx.com>

microblaze: Enable GCC garbage collector for full U-Boot

GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").

Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot

After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot

Which saves almost 15% of memory footprint.

Also group symbols/functions to proper section.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 83d290c5 06-May-2018 Tom Rini <trini@konsulko.com>

SPDX: Convert all of our single license tags to Linux Kernel style

When U-Boot started using SPDX tags we were among the early adopters and
there weren't a lot of other examples to borrow from. So we picked the
area of the file that usually had a full license text and replaced it
with an appropriate SPDX-License-Identifier: entry. Since then, the
Linux Kernel has adopted SPDX tags and they place it as the very first
line in a file (except where shebangs are used, then it's second line)
and with slightly different comment styles than us.

In part due to community overlap, in part due to better tag visibility
and in part for other minor reasons, switch over to that style.

This commit changes all instances where we have a single declared
license in the tag as both the before and after are identical in tag
contents. There's also a few places where I found we did not have a tag
and have introduced one.

Signed-off-by: Tom Rini <trini@konsulko.com>


# e945f6dc 08-May-2014 Michal Simek <michal.simek@xilinx.com>

microblaze: Move architecture to use generic board init

Compile code with -fPIC to get GOT. Do not build SPL
with fPIC because it increasing SPL size for nothing.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# 7c6814f1 26-Jan-2015 Michal Simek <michal.simek@xilinx.com>

microblaze: Remove unneeded data section adding from DTB

DTB is added to rodata section:
[ 2] .rodata PROGBITS 84c5b60c 05c60c 00c618 00 A
0 0 4
[ 3] .dtb.init.rodata PROGBITS 84c67c30 068c30 003c80 00 A
0 0 16
[ 4] .rela.dyn RELA 84c6b8b0 06c8b0 000534 0c A
0 0 4
[ 5] .data PROGBITS 84c6bde4 06cde4 001536 00 WA
0 0 16

Signed-off-by: Michal Simek <michal.simek@xilinx.com>


# e2906a59 10-Nov-2013 Masahiro Yamada <yamada.m@jp.panasonic.com>

Makefile: rename all libraries to built-in.o

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>


# 1a459660 08-Jul-2013 Wolfgang Denk <wd@denx.de>

Add GPL-2.0+ SPDX-License-Identifier to source files

Signed-off-by: Wolfgang Denk <wd@denx.de>
[trini: Fixup common/cmd_io.c]
Signed-off-by: Tom Rini <trini@ti.com>


# ef123c52 24-Feb-2013 Albert ARIBAUD <albert.u.boot@aribaud.net>

Refactor linker-generated arrays

Refactor linker-generated array code so that symbols
which were previously linker-generated are now compiler-
generated. This causes relocation records of type
R_ARM_ABS32 to become R_ARM_RELATIVE, which makes
code which uses LGA able to run before relocation as
well as after.

Note: this affects more than ARM targets, as linker-
lists span possibly all target architectures, notably
PowerPC.

Conflicts:
arch/arm/cpu/arm926ejs/mxs/u-boot-spl.lds
arch/arm/cpu/arm926ejs/spear/u-boot-spl.lds
arch/arm/cpu/armv7/omap-common/u-boot-spl.lds
board/ait/cam_enc_4xx/u-boot-spl.lds
board/davinci/da8xxevm/u-boot-spl-da850evm.lds
board/davinci/da8xxevm/u-boot-spl-hawk.lds
board/vpac270/u-boot-spl.lds

Signed-off-by: Albert ARIBAUD <albert.u.boot@aribaud.net>


# b3e5cd17 26-Sep-2012 Michal Simek <monstr@monstr.eu>

microblaze: Fix compilation failure because of missing libdts

Microblaze platform can use CONFIG_OF_EMBED option
but also it is necessary to support boards
which don't want to use this option.
U-Boot doesn't compile dts/libdts.o for #undef CONFIG_OF_EMBED
case that's why it should be guarded by ifdef.

Signed-off-by: Michal Simek <monstr@monstr.eu>


# 8b493a52 16-Oct-2012 Marek Vasut <marex@denx.de>

common: Discard the __u_boot_cmd section

The command declaration now uses the new LG-array method to generate
list of commands. Thus the __u_boot_cmd section is now superseded and
redundant and therefore can be removed. Also, remove externed symbols
associated with this section from include/command.h .

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Joe Hershberger <joe.hershberger@gmail.com>
Cc: Mike Frysinger <vapier@gentoo.org>


# 55675142 12-Oct-2012 Marek Vasut <marex@denx.de>

common: Add .u_boot_list into all linker files

Add section for the linker-generated lists into all possible linker
files, so that everyone can easily use these lists. This is mostly
a mechanical adjustment.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Joe Hershberger <joe.hershberger@gmail.com>
Cc: Mike Frysinger <vapier@gentoo.org>


# b710d9d6 28-Jun-2012 Michal Simek <monstr@monstr.eu>

microblaze: Add support for device tree driven board configuration

This is minimum code required to be able to use device-tree
for u-boot initialization.
Currently only for device driver initialization.

Linker script change ensures DTB to be aligned
for both options CONFIG_OF_EMBED and CONFIG_OF_SEPARATE.

Signed-off-by: Michal Simek <monstr@monstr.eu>
Acked-by: Stephan Linz <linz@li-pro.net>
CC: Simon Glass <sjg@chromium.org>


# 2e65b44c 28-Jun-2012 Michal Simek <monstr@monstr.eu>

microblaze: Move individual board linker scripts to common script in cpu tree.

Unification for all microblaze boards.

Signed-off-by: Michal Simek <monstr@monstr.eu>