All of lore.kernel.org
 help / color / mirror / Atom feed
From: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
To: linux-mips@linux-mips.org, binutils@sources.redhat.com
Subject: Re: Huge dynamically linked program does not run on mips-linux
Date: Wed, 29 Oct 2003 16:32:01 +0900 (JST)	[thread overview]
Message-ID: <20031029.163201.39178653.nemoto@toshiba-tops.co.jp> (raw)
In-Reply-To: <20031022.171118.88468465.nemoto@toshiba-tops.co.jp>

>>>>> 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

---
Atsushi Nemoto

  reply	other threads:[~2003-10-29  7:29 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 [this message]
2003-10-29 18:14   ` Jun Sun
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=20031029.163201.39178653.nemoto@toshiba-tops.co.jp \
    --to=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 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.