From: Ian Wienand <ianw@gelato.unsw.edu.au>
To: linux-ia64@vger.kernel.org
Subject: Re: [PATCH] Re: Gate DSO not building properly?
Date: Thu, 23 Oct 2003 01:52:30 +0000 [thread overview]
Message-ID: <marc-linux-ia64-106687401324479@msgid-missing> (raw)
In-Reply-To: <marc-linux-ia64-106679437709356@msgid-missing>
[-- Attachment #1: Type: text/plain, Size: 1412 bytes --]
On Wed, Oct 22, 2003 at 11:08:20AM -0700, David Mosberger wrote:
> Ian> Issuing
> Ian> .section .data.gate, "ax"
> Ian> thus conflicts as it's assumed to be an extension of a .data
> Ian> section.
> I'm not sure why I put "ax" there---it was most likely a left-over
> from earlier experimentation. So I think the fix is to change "ax"
> to "aw" (the data isn't really writable, but to avoid losing more
> memory to page-alignment, it's better to keep the gate page in the
> writeable data section). Do you want to try this?
Yep, this stops the warning and everything looks fine. I'd say you
put it there because it gets lumped with
.section __special_page_section,"ax"
from head.S, so in the end the whole thing ends up with AWX.
[21] .data.page_aligne PROGBITS a000000100610000 00620000
0000000000008d50 0000000000000000 WAX 0 0 1
You're of course right about wasting memory with a separate section, I
didn't think of that.
Maybe just change it and add something like
Even though this is put with __special_page_section which is given
attributes "ax" (head.S), gas will match anything with a prefix
'.data.' as a data special section. Thus to stop unnecessary warning
about changing attributes, we use the .data section standard
attributes "aw" when creating gate-data.o
to the changelog?
-i
ianw@gelato.unsw.edu.au
http://www.gelato.unsw.edu.au
[-- Attachment #2: gate-data-aw.diff --]
[-- Type: text/plain, Size: 259 bytes --]
===== gate-data.S 1.1 vs edited =====
--- 1.1/arch/ia64/kernel/gate-data.S Thu Jun 12 18:09:19 2003
+++ edited/gate-data.S Thu Oct 23 11:51:03 2003
@@ -1,3 +1,3 @@
- .section .data.gate, "ax"
+ .section .data.gate, "aw"
.incbin "arch/ia64/kernel/gate.so"
next prev parent reply other threads:[~2003-10-23 1:52 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-10-22 3:45 [PATCH] Re: Gate DSO not building properly? Ian Wienand
2003-10-22 5:48 ` H. J. Lu
2003-10-22 18:08 ` David Mosberger
2003-10-23 1:52 ` Ian Wienand [this message]
2003-10-23 4:56 ` David Mosberger
2003-10-24 10:07 ` Nick Clifton
2003-10-24 12:06 ` Matthew Wilcox
2003-10-24 12:21 ` Andreas Schwab
2003-10-24 15:15 ` H. J. Lu
2003-10-24 18:27 ` Matthew Wilcox
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-106687401324479@msgid-missing \
--to=ianw@gelato.unsw.edu.au \
--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