public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Wolfgang Denk <wd@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] commit 22069215 - [MIPS] Fix $gp usage
Date: Sun, 04 May 2008 20:58:33 +0200	[thread overview]
Message-ID: <20080504185834.07AF5247B4@gemini.denx.de> (raw)

Dear Shinya,

I think we need your help with the current MIPS code; it seems that
this commit is causing problems:

	commit 22069215eb7adf5a3888bf7c7784ea9d70a72cd0
	Author: Shinya Kuribayashi <shinya.kuribayashi@necel.com>
	Date:   Sun Oct 21 10:55:36 2007 +0900

	    [MIPS] Fix $gp usage

The issue is with "cpu/mips/start.S"; with older toolchains (like ELDK
3.1.1 which uses binutils 2.14, we get:

	start.S: Assembler messages:
	start.S:348: Error: relocation out of range
	make[1]: *** [start.o] Error 1

With ELDK 4.0 and 4.1 (binutils 2.16.1) we get no erros, but these
warnigns:

	cache.S: Assembler messages:
	cache.S:243: Warning: Pretending global symbol used as branch target is local.
	cache.S:250: Warning: Pretending global symbol used as branch target is local.

Jean-Christophe Plagniol-Villard reports that he sees no problems (no
errors nor warnings) with binutils 2.18


I wonder if it was possible to come up with a version of the code
that builds with somewhat older versions of the toolchains, too?

Thanks in advance.

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
The price of curiosity is a terminal experience.
                         - Terry Pratchett, _The Dark Side of the Sun_

             reply	other threads:[~2008-05-04 18:58 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-04 18:58 Wolfgang Denk [this message]
2008-05-05  5:55 ` [U-Boot-Users] commit 22069215 - [MIPS] Fix $gp usage Shinya Kuribayashi
2008-05-05  6:57   ` Wolfgang Denk
2008-05-05 11:02   ` Vlad Lungu

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=20080504185834.07AF5247B4@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