This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
PATCH: Fix typo in dw2gencfi.c:output_cfi_insn
- From: Nick Clifton <nickc at redhat dot com>
- To: binutils at sourceware dot org
- Date: Mon, 29 Sep 2008 10:10:34 +0100
- Subject: PATCH: Fix typo in dw2gencfi.c:output_cfi_insn
Hi Guys,
I am checking in the patch below as an obvious fix to the recent
patch to add support for DWARF2 encoded addresses. The problem was
exposed by building sparc targeted ports.
Cheers
Nick
gas/ChangeLog
2008-09-29 Nick Clifton <nickc@redhat.com>
* dw2gencfi.c (output_cfi_insn): Fix typo in invocation of
tc_cfi_emit_pcrel_expr macro.
Index: gas/dw2gencfi.c
===================================================================
RCS file: /cvs/src/src/gas/dw2gencfi.c,v
retrieving revision 1.37
diff -c -3 -p -r1.37 dw2gencfi.c
*** gas/dw2gencfi.c 24 Sep 2008 23:21:04 -0000 1.37
--- gas/dw2gencfi.c 29 Sep 2008 09:08:04 -0000
*************** output_cfi_insn (struct cfi_insn_data *i
*** 1152,1158 ****
insn->u.ea.exp.X_op = O_subtract;
insn->u.ea.exp.X_op_symbol = symbol_temp_new_now ();
#elif defined (tc_cfi_emit_pcrel_expr)
! tc_cfi_emit_pcrel_expr (&insn.u.ea.exp, encoding_size);
break;
#else
abort ();
--- 1152,1158 ----
insn->u.ea.exp.X_op = O_subtract;
insn->u.ea.exp.X_op_symbol = symbol_temp_new_now ();
#elif defined (tc_cfi_emit_pcrel_expr)
! tc_cfi_emit_pcrel_expr (&insn->u.ea.exp, encoding_size);
break;
#else
abort ();