From: Xiangfu Liu <xiangfu@openmobilefree.net>
To: u-boot@lists.denx.de
Subject: [U-Boot] question about example/standalone/mips.lds
Date: Wed, 21 Jul 2010 18:19:22 +0800 [thread overview]
Message-ID: <4C46C9AA.6010705@openmobilefree.net> (raw)
In-Reply-To: <AANLkTinXfPkk2tqiVcQnc0TBqaxbL4pT58_M5QJnFIpu@mail.gmail.com>
Hi Andrew
thanks for the link. I think we should add $(ENDIANNESS) when link
the hello_world.o.
I will send one patch in next email.
thanks again for the document.
On 07/20/2010 11:29 PM, Andrew Dyer wrote:
> No matter the compiler, I believe the lines in the linker scripts are
> wrong (this is repeated all through the mips linker files in u-boot).
> OUTPUT_FORMAT for mips is supposed to tell the linker what bfd output
> format to generate given a link command of unspecifed(default), big,
> and little endian formats.
>
> The lines in the linker script say for a little endian command line
> the output format is big endian, so I think the OP's toolchain did
> what is expected - it made a big endian object file.
>
> http://sources.redhat.com/binutils/docs-2.12/ld.info/Format-Commands.html
--
Best Regards
Xiangfu Liu
http://www.openmobilefree.net
prev parent reply other threads:[~2010-07-21 10:19 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-19 3:47 [U-Boot] question about example/standalone/mips.lds "Xiangfu Liu(刘向富)"
2010-07-19 17:51 ` Wolfgang Denk
2010-07-20 5:24 ` Xiangfu Liu
2010-07-20 9:37 ` Wolfgang Denk
2010-07-20 14:28 ` Xiangfu Liu
2010-07-20 15:29 ` Andrew Dyer
2010-07-21 10:19 ` Xiangfu Liu [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=4C46C9AA.6010705@openmobilefree.net \
--to=xiangfu@openmobilefree.net \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.