From: Segher Boessenkool <segher@kernel.crashing.org>
To: "Chris Friesen" <cfriesen@nortel.com>
Cc: linuxppc-dev@ozlabs.org
Subject: Re: help with ppc sections?
Date: Tue, 31 Jul 2007 18:38:11 +0200 [thread overview]
Message-ID: <f0a0de83aafc3614ce0ed3d89c16e00b@kernel.crashing.org> (raw)
In-Reply-To: <46AA3FB8.8030301@nortel.com>
> The ppc64 version appends ',"a"' to the kprobes.text section line. Is
> this needed here as well? Could someone elaborate on exactly what its
> purpose is?
It's the (ELF) section attributes for the section. If this
is executable code, it should be "ax"; if it's writable, it
should be "wa"; if it's not initialised, it should be "".
If the section name followed the normal naming conventions,
(newer) GCC could figure out the section attributes itself;
but then, ".text.kprobes" would imply executable, maybe the
section is really misnamed? Or maybe you need the "ax"
flags :-)
Segher
next prev parent reply other threads:[~2007-07-31 16:38 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-26 19:12 help with ppc sections? Chris Friesen
2007-07-26 19:55 ` Grant Likely
2007-07-27 18:55 ` Chris Friesen
2007-07-31 16:38 ` Segher Boessenkool [this message]
2007-08-08 16:24 ` help with ppc sections -- no luck, any ideas? Chris Friesen
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=f0a0de83aafc3614ce0ed3d89c16e00b@kernel.crashing.org \
--to=segher@kernel.crashing.org \
--cc=cfriesen@nortel.com \
--cc=linuxppc-dev@ozlabs.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;
as well as URLs for NNTP newsgroup(s).