From mboxrd@z Thu Jan 1 00:00:00 1970 From: Shinya Kuribayashi Date: Tue, 10 May 2011 00:34:32 +0900 Subject: [U-Boot] [PATCH] MIPS: Introduce --gc-sections for MIPS In-Reply-To: <1302880604-17275-1-git-send-email-daniel.schwierzeck@googlemail.com> References: <1302880604-17275-1-git-send-email-daniel.schwierzeck@googlemail.com> Message-ID: <4DC80988.5040408@pobox.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Daniel, On 04/16/2011 12:16 AM, daniel.schwierzeck at googlemail.com wrote: > All architectures but MIPS are using --gc-sections on final linking. > This patch introduces that feature for MIPS to reduce the memory and > flash footprint. > > Signed-off-by: Daniel Schwierzeck > Cc: Shinya Kuribayashi > Cc: Wolfgang Denk > Cc: Stefan Roese > Cc: Thomas Lange > Cc: Vlad Lungu > --- > Tested with ELDK-4.1 and self-built gcc-4.3.3/binutils-2.19.1 on my > boards. I could not test the other boards so I would appreciate it if > the maintainers in CC could do a quick test on their boards. > > arch/mips/config.mk | 2 ++ > board/dbau1x00/u-boot.lds | 10 +++++----- > board/gth2/u-boot.lds | 10 +++++----- > board/incaip/u-boot.lds | 10 +++++----- > board/micronas/vct/u-boot.lds | 10 +++++----- > board/pb1x00/u-boot.lds | 10 +++++----- > board/qemu-mips/u-boot.lds | 10 +++++----- > board/tb0229/u-boot.lds | 10 +++++----- > examples/standalone/mips.lds | 10 +++++----- > 9 files changed, 42 insertions(+), 40 deletions(-) Thanks for the work, now pushed to u-boot-mips/master. By the way, would you do me a favor. In your mail header, > From: daniel.schwierzeck at googlemail.com Please provide this in the form of, From: Your Name This helps patch maintainer(s) to avoid manually fixing Author: field, which is wrongly set when importing patches from E-mails using git-am. I noticed this when we got patches from you for the first time around this February or March and fixed manually at that time, but forgot to tell about that.