aboutsummaryrefslogtreecommitdiff
path: root/gas/dw2gencfi.c
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@libertysurf.fr>2008-10-09 17:31:43 +0000
committerEric Botcazou <ebotcazou@libertysurf.fr>2008-10-09 17:31:43 +0000
commitad5fec3b3a1e529a7056e15f271851bd0dfb10fa (patch)
tree291496f36be6171335bae736003855fdece60068 /gas/dw2gencfi.c
parentdcb1a1e279928080fb42b2270f5a3180f81e4133 (diff)
downloadgdb-ad5fec3b3a1e529a7056e15f271851bd0dfb10fa.zip
gdb-ad5fec3b3a1e529a7056e15f271851bd0dfb10fa.tar.gz
gdb-ad5fec3b3a1e529a7056e15f271851bd0dfb10fa.tar.bz2
* dw2gencfi.c (cfi_finish): Deal with md_fix_up_eh_frame.
* config/tc-i386.h (md_fix_up_eh_frame): Define on Solaris. (i386_solaris_fix_up_eh_frame): Declare. * config/tc-i386.c (i386_solaris_fix_up_eh_frame): New function.
Diffstat (limited to 'gas/dw2gencfi.c')
-rw-r--r--gas/dw2gencfi.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gas/dw2gencfi.c b/gas/dw2gencfi.c
index 12a656f..4adfeab 100644
--- a/gas/dw2gencfi.c
+++ b/gas/dw2gencfi.c
@@ -1496,6 +1496,10 @@ cfi_finish (void)
subseg_set (cfi_seg, 0);
record_alignment (cfi_seg, EH_FRAME_ALIGNMENT);
+#ifdef md_fix_up_eh_frame
+ md_fix_up_eh_frame (cfi_seg);
+#endif
+
/* Make sure check_eh_frame doesn't do anything with our output. */
save_flag_traditional_format = flag_traditional_format;
flag_traditional_format = 1;