From: Rodolfo Giometti <giometti@linux.it>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] [PATCH] notes on cpu/mips/config.mk
Date: Thu, 29 Sep 2005 17:31:05 +0200 [thread overview]
Message-ID: <20050929153105.GS5000@enneenne.com> (raw)
In-Reply-To: <IIEEICKJLNEPBBDJICNGOEHJIMAA.chuck@ThePTRGroup.com>
On Thu, Sep 29, 2005 at 10:56:33AM -0400, Chuck Meade wrote:
> You removed any logical path by which "-EB" would be added to the flags.
> Your addition of the new flag variables is fine if it works, but it should
> not break the big endian code. Why don't you rework your patch to not break
> big endian support?
I don't think I'm breaking big endian support with my patch since if
you have the ld command:
OUTPUT_FORMAT("elf32-tradbigmips", "elf32-tradbigmips", "elf32-tradlittlemips")
you say to the linker that your default endian is "big", please see:
info -f /usr/local/mipsel/info/ld.info -n "Format Commands"
So if you do not specify "-EB" nor "-EL" the linker will use default
(big endian in the above example).
The following patch also fixes examples compilations:
Index: examples/mips.lds
===================================================================
RCS file: /home/develop/cvs_private/uboot-mips-exadron/examples/mips.lds,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -r1.1.1.1 -r1.2
--- a/examples/mips.lds 16 Sep 2005 12:14:21 -0000 1.1.1.1
+++ b/examples/mips.lds 16 Sep 2005 15:05:08 -0000 1.2
@@ -24,7 +24,7 @@
/*
OUTPUT_FORMAT("elf32-bigmips", "elf32-bigmips", "elf32-bigmips")
*/
-OUTPUT_FORMAT("elf32-tradbigmips", "elf32-tradbigmips", "elf32-tradbigmips")
+OUTPUT_FORMAT("elf32-tradbigmips", "elf32-tradbigmips", "elf32-tradlittlemips")
OUTPUT_ARCH(mips)
SECTIONS
{
Ciao,
Rodolfo
--
GNU/Linux Solutions e-mail: giometti at linux.it
Linux Device Driver giometti at enneenne.com
Embedded Systems home page: giometti.enneenne.com
UNIX programming phone: +39 349 2432127
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.denx.de/pipermail/u-boot/attachments/20050929/c382cccb/attachment.pgp
next prev parent reply other threads:[~2005-09-29 15:31 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-09-16 14:53 [U-Boot-Users] [PATCH] notes on cpu/mips/config.mk Rodolfo Giometti
2005-09-19 6:02 ` Matej Kupljen
2005-09-29 14:56 ` Chuck Meade
2005-09-29 15:31 ` Rodolfo Giometti [this message]
2005-09-29 16:26 ` Chuck Meade
2005-09-30 12:37 ` Rodolfo Giometti
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=20050929153105.GS5000@enneenne.com \
--to=giometti@linux.it \
--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