From ad5fec3b3a1e529a7056e15f271851bd0dfb10fa Mon Sep 17 00:00:00 2001 From: Eric Botcazou Date: Thu, 9 Oct 2008 17:31:43 +0000 Subject: * 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. --- gas/dw2gencfi.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'gas/dw2gencfi.c') 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; -- cgit v1.1