From: Wolfgang Denk <wd@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] [PATCH v2][for 1.3.4] mpc85xx: workaround old binutils bug
Date: Sun, 10 Aug 2008 22:41:28 +0200 [thread overview]
Message-ID: <20080810204129.063C5248AC@gemini.denx.de> (raw)
In-Reply-To: <Pine.LNX.4.64.0808070927530.26243@blarg.am.freescale.net>
Dear Kumar Gala,
In message <Pine.LNX.4.64.0808070927530.26243@blarg.am.freescale.net> you wrote:
> The recent change to move the .bss outside of the image gives older
> binutils (ld from eldk4.1/binutils-2.16) some headache:
>
> ppc_85xx-ld: u-boot: Not enough room for program headers (allocated 3, need 4)
> ppc_85xx-ld: final link failed: Bad value
>
> We workaround it by being explicit about the program headers and not
> assigning the .bss to a program header.
>
> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
> ---
>
> Fixes warning with older binutils
>
> board/freescale/mpc8540ads/u-boot.lds | 16 +++++++++++-----
> board/freescale/mpc8541cds/u-boot.lds | 16 +++++++++++-----
> board/freescale/mpc8544ds/u-boot.lds | 16 +++++++++++-----
> board/freescale/mpc8548cds/u-boot.lds | 16 +++++++++++-----
> board/freescale/mpc8555cds/u-boot.lds | 16 +++++++++++-----
> board/freescale/mpc8560ads/u-boot.lds | 16 +++++++++++-----
> board/freescale/mpc8568mds/u-boot.lds | 16 +++++++++++-----
> 7 files changed, 77 insertions(+), 35 deletions(-)
Applied, thanks.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
I can't understand it. I can't even understand the people who can
understand it. - Queen Juliana of the Netherlands.
prev parent reply other threads:[~2008-08-10 20:41 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-07 14:28 [U-Boot-Users] [PATCH v2][for 1.3.4] mpc85xx: workaround old binutils bug Kumar Gala
2008-08-07 14:40 ` [U-Boot-Users] [PATCH v2][for 1.3.4] mpc85xx: workaround oldbinutils bug Zang Roy
2008-08-07 15:00 ` [U-Boot-Users] [PATCH v2][for 1.3.4] mpc85xx: workaround old binutils bug Rafal Jaworowski
2008-08-10 20:41 ` Wolfgang Denk [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080810204129.063C5248AC@gemini.denx.de \
--to=wd@denx.de \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox