| To: | Atsushi Nemoto <anemo@mba.ocn.ne.jp> |
|---|---|
| Subject: | Re: Huge dynamically linked program does not run on mips-linux |
| From: | Jun Sun <jsun@mvista.com> |
| Date: | Wed, 29 Oct 2003 10:14:00 -0800 |
| Cc: | linux-mips@linux-mips.org, binutils@sources.redhat.com, jsun@mvista.com |
| 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 |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| References: | <20031022.171118.88468465.nemoto@toshiba-tops.co.jp> <20031029.163201.39178653.nemoto@toshiba-tops.co.jp> |
| Sender: | linux-mips-bounce@linux-mips.org |
| User-agent: | Mutt/1.2.5i |
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 |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: LK201 keyboard, Maciej W. Rozycki |
|---|---|
| Next by Date: | Re: Huge dynamically linked program does not run on mips-linux, Daniel Jacobowitz |
| Previous by Thread: | Re: Huge dynamically linked program does not run on mips-linux, Atsushi Nemoto |
| Next by Thread: | Re: Huge dynamically linked program does not run on mips-linux, Daniel Jacobowitz |
| Indexes: | [Date] [Thread] [Top] [All Lists] |