From: Vlad Lungu <vlad.lungu@windriver.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] commit 22069215 - [MIPS] Fix $gp usage
Date: Mon, 05 May 2008 14:02:27 +0300 [thread overview]
Message-ID: <481EE943.1000200@windriver.com> (raw)
In-Reply-To: <481EA165.4070209@ruby.dti.ne.jp>
Shinya Kuribayashi wrote:
> Wolfgang Denk wrote:
>
>> start.S: Assembler messages:
>> start.S:348: Error: relocation out of range
>> make[1]: *** [start.o] Error 1
>>
>
>
>> 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.
>>
>
> Confirmed both error and warning. I'll look into them.
>
GNU assembler version 2.14 (mips-linux) using BFD version 2.14 20030612
That is from ELDK 3.1.1 (binutils 2.14-6), I definitely get the error.
GNU assembler version 2.14.90.0.6 (mips-linux) using BFD version
2.14.90.0.6 20030820 uClibc
This works, but the warning is present. There's a 3 months difference here.
>
>> Jean-Christophe Plagniol-Villard reports that he sees no problems (no
>> errors nor warnings) with binutils 2.18
>>
>
> Yes, it seems.
>
>
The warning seems harmless.
>> 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?
>>
>
> I have no idea at the moment.
>
>
We can somewhat revert the changes made, that's the only way it would
work with that particular version.
Apparently, .gpword was supposed to work only on local symbols (this
comes from the MIPSpro tools), but this
was relaxed in later versions of gas. See
http://wwweic.eri.u-tokyo.ac.jp/computer/manual/lx/SGI_Developer/books/MProAsLg_PG/sgi_html/ch08.html
Patch to follow.
Regards,
Vlad
prev parent reply other threads:[~2008-05-05 11:02 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-04 18:58 [U-Boot-Users] commit 22069215 - [MIPS] Fix $gp usage Wolfgang Denk
2008-05-05 5:55 ` Shinya Kuribayashi
2008-05-05 6:57 ` Wolfgang Denk
2008-05-05 11:02 ` Vlad Lungu [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=481EE943.1000200@windriver.com \
--to=vlad.lungu@windriver.com \
--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