public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* [patch gas]: Set correct dwarf2 return column value for x64 windows target
@ 2011-01-21 16:07 Kai Tietz
  2011-01-26  9:41 ` Kai Tietz
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Kai Tietz @ 2011-01-21 16:07 UTC (permalink / raw)
  To: Binutils; +Cc: Nick Clifton

[-- 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

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2014-01-09 16:50 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-21 16:07 [patch gas]: Set correct dwarf2 return column value for x64 windows target Kai Tietz
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

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).