From: "Luck, Tony" <tony.luck@intel.com>
To: linux-ia64@vger.kernel.org
Subject: RE: [Linux-ia64] [patch] Assign __gp to middle of short data sect
Date: Thu, 01 Aug 2002 04:01:32 +0000 [thread overview]
Message-ID: <marc-linux-ia64-105590701905871@msgid-missing> (raw)
In-Reply-To: <marc-linux-ia64-105590701905870@msgid-missing>
From: Keith Owens [mailto:kaos@ocs.com.au]
> I was getting '__gp does not cover short data segment'.
> arch/ia64/vmlinus.lds.S assigns __gp well away from the short data
> sections, for no good reason that I can see. A kernel with more than
> 2^21 bytes between __gp and the end of sbss cannot link.
>
> This patch (against 2.4.18) puts __gp right in the middle of the short
> data sections. The comment 'gp must be 16-byte aligned for exc. table'
> puzzles me, AFAICT the exception tables are not accessed via gp.
Look at include/asm-ia64/uaccess.h ... all the exception table entries
use gp relative addressing.
-Tony
next prev parent reply other threads:[~2002-08-01 4:01 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-08-01 3:17 [Linux-ia64] [patch] Assign __gp to middle of short data sections Keith Owens
2002-08-01 4:01 ` Luck, Tony [this message]
2002-08-01 4:10 ` David Mosberger
2002-08-01 6:00 ` Keith Owens
2002-08-01 6:26 ` David Mosberger
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=marc-linux-ia64-105590701905871@msgid-missing \
--to=tony.luck@intel.com \
--cc=linux-ia64@vger.kernel.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