From: "Maciej W. Rozycki" <macro@linux-mips.org>
To: Dave Korn <dave.korn@artimi.com>
Cc: "'Thiemo Seufer'" <ths@networkno.de>, binutils@sourceware.org
Subject: RE: Any MIPS experts?
Date: Fri, 23 Sep 2005 16:51:00 -0000 [thread overview]
Message-ID: <Pine.LNX.4.61L.0509231622380.16824@blysk.ds.pg.gda.pl> (raw)
In-Reply-To: <SERRANOexdDAO2Rpy9t000001e2@SERRANO.CAM.ARTIMI.COM>
On Thu, 22 Sep 2005, Dave Korn wrote:
> > This removes the weird separate .data for "traditional" (linux-like)
> > mips. Also, in some cases ld -N may be acceptable as a workaround for
> > the problem.
>
>
> Brilliant. Thanks a load Thiemo!
Note that the increased alignment shouldn't actually affect the size of
files generated, as trailing padding for segments is supported for ELF
without occupying file space (cf "file size" vs "memory size" for
segments). Thus if that's what happens, then there is a problem with that
particular toolchain.
$ cat main.c
int main(void)
{
return 0;
}
$ mipsel-linux-gcc -o main main.c
$ ls -la main
-rwxr-xr-x 1 macro macro 7378 Sep 23 16:21 main
Maciej
next prev parent reply other threads:[~2005-09-23 15:29 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-09-22 15:50 Dave Korn
2005-09-22 17:47 ` Mike Frysinger
2005-09-22 19:51 ` Thiemo Seufer
2005-09-22 22:23 ` Dave Korn
2005-09-23 16:51 ` Maciej W. Rozycki [this message]
2005-09-23 18:28 ` Dave Korn
2005-09-23 19:40 ` Maciej W. Rozycki
2005-09-23 20:24 ` Dave Korn
2005-09-26 12:53 ` Maciej W. Rozycki
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=Pine.LNX.4.61L.0509231622380.16824@blysk.ds.pg.gda.pl \
--to=macro@linux-mips.org \
--cc=binutils@sourceware.org \
--cc=dave.korn@artimi.com \
--cc=ths@networkno.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).