Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Andreas Schwab <schwab@suse.de>
To: gdb-patches@sources.redhat.com
Subject: [RFA] Fix asm-source.exp for ppc
Date: Sun, 13 Jul 2003 09:13:00 -0000	[thread overview]
Message-ID: <m3y8z2yel7.fsf@whitebox.as.local> (raw)

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"


             reply	other threads:[~2003-07-13  9:13 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-13  9:13 Andreas Schwab [this message]
2003-07-18 14:10 ` Andrew Cagney
2003-07-21 23:56   ` Kevin Buettner

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=m3y8z2yel7.fsf@whitebox.as.local \
    --to=schwab@suse.de \
    --cc=gdb-patches@sources.redhat.com \
    /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