From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate.crashing.org (gate.crashing.org [63.228.1.57]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTP id 06793DDDFA for ; Wed, 1 Aug 2007 02:38:18 +1000 (EST) In-Reply-To: <46AA3FB8.8030301@nortel.com> References: <46A8F22E.6010701@nortel.com> <46AA3FB8.8030301@nortel.com> Mime-Version: 1.0 (Apple Message framework v623) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: From: Segher Boessenkool Subject: Re: help with ppc sections? Date: Tue, 31 Jul 2007 18:38:11 +0200 To: "Chris Friesen" Cc: linuxppc-dev@ozlabs.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , > 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