From: Jun Sun <jsun@mvista.com>
To: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Cc: linux-mips@linux-mips.org, binutils@sources.redhat.com, jsun@mvista.com
Subject: Re: Huge dynamically linked program does not run on mips-linux
Date: Wed, 29 Oct 2003 10:14:00 -0800 [thread overview]
Message-ID: <20031029101400.J30683@mvista.com> (raw)
In-Reply-To: <20031029.163201.39178653.nemoto@toshiba-tops.co.jp>; from anemo@mba.ocn.ne.jp on Wed, Oct 29, 2003 at 04:32:01PM +0900
On Wed, Oct 29, 2003 at 04:32:01PM +0900, Atsushi Nemoto wrote:
> >>>>> On Wed, 22 Oct 2003 17:11:18 +0900 (JST), Atsushi Nemoto <anemo@mba.ocn.ne.jp> said:
> anemo> I have a problem that my huge dynamically linked program cause
> anemo> SIGSEGV or SIGBUS immediately after running from main() on
> anemo> mips-linux.
>
> anemo> Digging into this problem, I found that GOT entries are
> anemo> corrupted.
> ...
> anemo> My program is huge enough so that older binutils causes
> anemo> "relocation truncated to fit" error.
>
> More information. My program's .got size exceeds 64K. It seems the
> corruption does not happen if .got size is smaller then 64K.
>
> $ mips-linux-readelf -e myapp
> ...
> Section Headers:
> [Nr] Name Type Addr Off Size ES Flg Lk Inf Al
> ...
> [21] .got PROGBITS 100b15d0 a075d0 013a04 04 WAp 0 0 16
>
Isn't this a known problem in binutils? IIRC, someone is working or has
added "--big-got" support.
Jun
next prev parent reply other threads:[~2003-10-29 18:14 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-10-22 8:11 Huge dynamically linked program does not run on mips-linux Atsushi Nemoto
2003-10-29 7:32 ` Atsushi Nemoto
2003-10-29 18:14 ` Jun Sun [this message]
2003-10-29 18:15 ` Daniel Jacobowitz
2003-10-30 1:53 ` Thiemo Seufer
2003-10-30 2:25 ` Eric Christopher
2003-11-04 5:21 ` Atsushi Nemoto
2003-11-04 8:05 ` Eric Christopher
2003-11-04 11:02 ` Atsushi Nemoto
2003-11-04 17:53 ` Eric Christopher
2003-11-06 16:54 ` Atsushi Nemoto
2003-12-01 5:07 ` Atsushi Nemoto
2003-11-07 16:40 ` Thiemo Seufer
2003-11-07 20:51 ` Eric Christopher
2003-10-30 12:54 ` Atsushi Nemoto
2003-11-04 16:17 ` Daniel Jacobowitz
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=20031029101400.J30683@mvista.com \
--to=jsun@mvista.com \
--cc=anemo@mba.ocn.ne.jp \
--cc=binutils@sources.redhat.com \
--cc=linux-mips@linux-mips.org \
/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