public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
From: Kai Tietz <ktietz70@googlemail.com>
To: Binutils <binutils@sourceware.org>
Cc: Nick Clifton <nickc@redhat.com>
Subject: [patch gas]: Testsuite patch for cfi
Date: Wed, 09 Feb 2011 18:42:00 -0000	[thread overview]
Message-ID: <AANLkTik0oEtpSc+EW24WwkBngCOyJWbAi5-v=aVnK_T+@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 326 bytes --]

Hello,

as x64 PE+ uses different return address column value (actual 32 due
different callee saved register), the test about cfi for x86_64 needs
to be adjusted.

2011-02-09  Kai Tietz

	* testsuite/gas/cfi/cfi-x86_64.d: Adjust for x64 PE+.

Tested for x86_64-pc-linux-gnu and x86_64-w64-mingw32. Ok for apply?

Regards,
Kai

[-- Attachment #2: tcfi.txt --]
[-- Type: text/plain, Size: 1178 bytes --]

Index: testsuite/gas/cfi/cfi-x86_64.d
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/cfi/cfi-x86_64.d,v
retrieving revision 1.14
diff -u -3 -r1.14 cfi-x86_64.d
--- testsuite/gas/cfi/cfi-x86_64.d	2 Sep 2010 22:43:46 -0000	1.14
+++ testsuite/gas/cfi/cfi-x86_64.d	9 Feb 2011 18:37:03 -0000
@@ -8,11 +8,11 @@
   Augmentation:          "zR"
   Code alignment factor: 1
   Data alignment factor: -8
-  Return address column: 16
+  Return address column: (16|32)
   Augmentation data:     1b
 
   DW_CFA_def_cfa: r7 \(rsp\) ofs 8
-  DW_CFA_offset: r16 \(rip\) at cfa-8
+  DW_CFA_offset: (r16 \(rip\)|r32 \(xmm15\)) at cfa-8
   DW_CFA_nop
   DW_CFA_nop
 
@@ -56,7 +56,7 @@
   Augmentation:          "zR"
   Code alignment factor: 1
   Data alignment factor: -8
-  Return address column: 16
+  Return address column: (16|32)
   Augmentation data:     1b
 
   DW_CFA_def_cfa: r7 \(rsp\) ofs 8
@@ -89,7 +89,7 @@
   Augmentation:          "zR"
   Code alignment factor: 1
   Data alignment factor: -8
-  Return address column: 16
+  Return address column: (16|32)
   Augmentation data:     1b
 
   DW_CFA_undefined: r16 \(rip\)

             reply	other threads:[~2011-02-09 18:42 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-09 18:42 Kai Tietz [this message]
2011-02-10 15:22 ` Nick Clifton
2011-02-10 17:07   ` Kai Tietz

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='AANLkTik0oEtpSc+EW24WwkBngCOyJWbAi5-v=aVnK_T+@mail.gmail.com' \
    --to=ktietz70@googlemail.com \
    --cc=binutils@sourceware.org \
    --cc=nickc@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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).