From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jerry Van Baren Date: Sun, 18 Mar 2007 17:08:52 -0400 Subject: [U-Boot-Users] .section .bootpg, "ax" In-Reply-To: <9F3F0A752CAEBE4FA7E906CC2FBFF57C069B4D@MERCURY.inside.istor.com> References: <27d85ee10703181034l7c29aac4hb699e939d5da2354@mail.gmail.com> <27d85ee10703181037g1aef42aeg4ce0b919a10dd77a@mail.gmail.com> <9F3F0A752CAEBE4FA7E906CC2FBFF57C069B4D@MERCURY.inside.istor.com> Message-ID: <45FDAA64.4020707@comcast.net> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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: 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