All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jerry Van Baren <gerald.vanbaren@comcast.net>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] .section .bootpg, "ax"
Date: Sun, 18 Mar 2007 17:08:52 -0400	[thread overview]
Message-ID: <45FDAA64.4020707@comcast.net> (raw)
In-Reply-To: <9F3F0A752CAEBE4FA7E906CC2FBFF57C069B4D@MERCURY.inside.istor.com>

Charles Krinke wrote:
> I am puzzled by a statement in various init.S files in ppc near the end of the file. The statement is
> 
> .section .bootpg, "ax"
> 
> I understand ".section" & ".bootpg" as they are describing sections
> for the lds linker file to collect all the .bootpg segments together
> at linker time up near the reset vector.
> 
> But, ... What does the "ax" mean?
> 
> I thank the group in advance for helping me understand.
> 
> Charles

Hi Charles,

The assembler (gas) is hidden in binutils.  Quoting from:
<http://www.gnu.org/software/binutils/manual/gas-2.9.1/html_chapter/as_7.html#SEC119>

For ELF targets, the .section directive is used like this:

.section name[, "flags"[, @type]]

The optional flags argument is a quoted string which may contain any 
combintion of the following characters:

a
     section is allocatable
w
     section is writable
x
     section is executable

HTH,
gvb

  parent reply	other threads:[~2007-03-18 21:08 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <27d85ee10703181034l7c29aac4hb699e939d5da2354@mail.gmail.com>
2007-03-18 17:37 ` [U-Boot-Users] [GIT-PULL][Blackfin] Please pull http://www.denx.de/git/u-boot-blackfin.git Aubrey Li
2007-03-18 20:46   ` [U-Boot-Users] .section .bootpg, "ax" Charles Krinke
2007-03-18 20:49     ` Mike Frysinger
2007-03-18 21:08     ` Jerry Van Baren [this message]
2007-03-18 21:46       ` Charles Krinke
2007-03-19 13:38   ` [U-Boot-Users] [GIT-PULL][Blackfin] Please pull http://www.denx.de/git/u-boot-blackfin.git Wolfgang Denk
2007-03-19 15:06     ` Aubrey Li

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=45FDAA64.4020707@comcast.net \
    --to=gerald.vanbaren@comcast.net \
    --cc=u-boot@lists.denx.de \
    /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.