[patch gas]: Set correct dwarf2 return column value for x64 windows target
Kai Tietz
ktietz70@googlemail.com
Fri Jan 21 16:07:00 GMT 2011
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
-------------- next part --------------
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
More information about the Binutils
mailing list