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]: Set correct dwarf2 return column value for x64 windows target
Date: Fri, 21 Jan 2011 16:07:00 -0000	[thread overview]
Message-ID: <AANLkTinDtRSo4e4dNOg1cZ9ptn9ZKv1_mkNJNaaua-OT@mail.gmail.com> (raw)

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

Hello,

this patch corrects the value of dwarf2_return_column in tc-i386 for
x64 windows, which has a different call-clobber set.

ChangeLog

2011-01-21  Kai Tietz

        * config/tc-i386.c (md_begin): Set for x64 windows COFF target
        x86_dwarf2_return_column to 32.

Tested for x86-64-pc-mingw32. Ok for apply?

Regards,
Kai

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

Index: tc-i386.c
===================================================================
RCS file: /cvs/src/src/gas/config/tc-i386.c,v
retrieving revision 1.460
diff -u -3 -r1.460 tc-i386.c
--- tc-i386.c	17 Jan 2011 18:40:29 -0000	1.460
+++ tc-i386.c	21 Jan 2011 16:00:15 -0000
@@ -2371,7 +2371,12 @@
 
   if (flag_code == CODE_64BIT)
     {
+#if defined (OBJ_COFF) && defined (TE_PE)
+      x86_dwarf2_return_column = (OUTPUT_FLAVOR == bfd_target_coff_flavour
+				  ? 32 : 16);
+#else
       x86_dwarf2_return_column = 16;
+#endif
       x86_cie_data_alignment = -8;
     }
   else

             reply	other threads:[~2011-01-21 16:07 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-21 16:07 Kai Tietz [this message]
2011-01-26  9:41 ` Kai Tietz
2011-01-26 10:06   ` Nick Clifton
2011-01-26 10:16     ` Kai Tietz
2013-12-18  0:38 ` Pierre Muller
     [not found] ` <52b0ee91.86f7440a.25e6.54c3SMTPIN_ADDED_BROKEN@mx.google.com>
2013-12-18  7:19   ` Kai Tietz
2013-12-18  7:37     ` Pierre Muller
2014-01-09 16:50       ` [PING: patch " Pierre Muller

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=AANLkTinDtRSo4e4dNOg1cZ9ptn9ZKv1_mkNJNaaua-OT@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).