* dw2gencfi.c (cfi_finish): Deal with md_fix_up_eh_frame.
[binutils-gdb.git] / gas / config / tc-i386.c
index 539ea795122c6fcdfad68bc2356fded75f101e53..df76ae93800d6a7b209491d62472ef60c9873d12 100644 (file)
@@ -10105,6 +10105,15 @@ i386_elf_section_type (const char *str, size_t len)
   return -1;
 }
 
+#ifdef TE_SOLARIS
+void
+i386_solaris_fix_up_eh_frame (segT sec)
+{
+  if (flag_code == CODE_64BIT)
+    elf_section_type (sec) = SHT_X86_64_UNWIND;
+}
+#endif
+
 #ifdef TE_PE
 void
 tc_pe_dwarf2_emit_offset (symbolS *symbol, unsigned int size)