X-Mozilla-Status2: 00000000
Return-Path: <gdb-patches-return-25903-cagney=gnu.org@sources.redhat.com>
Delivered-To: cagney@localhost.redhat.com
Received: from localhost (localhost [127.0.0.1])
	by localhost.redhat.com (Postfix) with ESMTP id D240D2B7B
	for <cagney@localhost>; Tue, 15 Jul 2003 11:36:36 -0400 (EDT)
Envelope-to: cagney@gnu.org
Delivery-date: Sun, 13 Jul 2003 05:13:22 -0400
Received: from fencepost.gnu.org
	by localhost with IMAP (fetchmail-6.2.1)
	for cagney@localhost (single-drop); Tue, 15 Jul 2003 11:36:36 -0400 (EDT)
Received: from monty-python.gnu.org ([199.232.76.173])
	by fencepost.gnu.org with esmtp (Exim 4.20)
	id 19bcv4-0007VH-LD
	for cagney@gnu.org; Sun, 13 Jul 2003 05:13:22 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19bcv3-0004iX-77
	for cagney@gnu.org; Sun, 13 Jul 2003 05:13:21 -0400
Received: from sources.redhat.com ([67.72.78.213])
	by monty-python.gnu.org with smtp (Exim 4.20)
	id 19bcuw-0004SM-W0
	for cagney@gnu.org; Sun, 13 Jul 2003 05:13:16 -0400
Received: (qmail 17118 invoked by alias); 13 Jul 2003 09:13:13 -0000
Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm
Precedence: bulk
List-Unsubscribe: <mailto:gdb-patches-unsubscribe-cagney=gnu.org@sources.redhat.com>
List-Subscribe: <mailto:gdb-patches-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/gdb-patches/>
List-Post: <mailto:gdb-patches@sources.redhat.com>
List-Help: <mailto:gdb-patches-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: gdb-patches-owner@sources.redhat.com
Delivered-To: mailing list gdb-patches@sources.redhat.com
Received: (qmail 17107 invoked from network); 13 Jul 2003 09:13:11 -0000
Received: from unknown (HELO lisa.goe.net) (134.76.166.209)
  by sources.redhat.com with SMTP; 13 Jul 2003 09:13:11 -0000
Received: from mutter.goe.net (mutter-lisa0.a11.local [192.168.31.26])
	by lisa.goe.net (8.12.6/8.12.6) with ESMTP id h6D9DAqI005050
	for <gdb-patches@sources.redhat.com>; Sun, 13 Jul 2003 11:13:10 +0200
Received: from whitebox.a11.local ([192.168.31.90] helo=whitebox.as.local)
	by mutter.goe.net with esmtp (Exim 4.20)
	id 19bcur-0008Oy-Il
	for gdb-patches@sources.redhat.com; Sun, 13 Jul 2003 11:13:09 +0200
Received: from whitebox.as.local (localhost [127.0.0.1])
	by whitebox.as.local (8.12.7/8.12.7/SuSE Linux 0.6) with ESMTP id h6D9D8OQ014284
	for <gdb-patches@sources.redhat.com>; Sun, 13 Jul 2003 11:13:10 +0200
Received: (from andreas@localhost)
	by whitebox.as.local (8.12.7/8.12.7/Submit) id h6D9D8u4014283;
	Sun, 13 Jul 2003 11:13:08 +0200
X-Authentication-Warning: whitebox.as.local: andreas set sender to schwab@suse.de using -f
To: gdb-patches@sources.redhat.com
Subject: [RFA] Fix asm-source.exp for ppc
From: Andreas Schwab <schwab@suse.de>
X-Yow: What GOOD is a CARDBOARD suitcase ANYWAY?
Date: Sun, 13 Jul 2003 11:13:08 +0200
Message-ID: <m3y8z2yel7.fsf@whitebox.as.local>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Spam-Status: No, hits=-0.9 required=5.0
	tests=PATCH_UNIFIED_DIFF,SPAM_PHRASE_00_01,X_AUTH_WARNING
	version=2.41
X-Spam-Level: 
Content-length: 610

There is no implicit alignment of the text section on ppc, so without
an explicit alignment it may end up on a unaligned address (due to a
preceding unaligned .dynstr section).

OK for mainline and 6.0 branch?

Andreas.

2003-07-13  Andreas Schwab  <schwab@suse.de>

	* gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.

--- gdb/testsuite/gdb.asm/powerpc.inc.~1.1.~	2002-04-05 04:48:33.000000000 +0200
+++ gdb/testsuite/gdb.asm/powerpc.inc	2003-07-13 11:00:08.000000000 +0200
@@ -36,6 +36,7 @@
 
 	comment "crt0 startup"
 	.macro gdbasm_startup
+	.p2align 2
 	.endm
 
 	comment "Declare a data variable"

