This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[committed]: minor comments improvement in gas/config/tc-alpha.c for vms
- From: Tristan Gingold <gingold at adacore dot com>
- To: binutils Development <binutils at sourceware dot org>
- Date: Fri, 26 Aug 2011 15:15:52 +0200
- Subject: [committed]: minor comments improvement in gas/config/tc-alpha.c for vms
Hi,
I am just committing this to improve some comments in tc-alpha.c
Tristan.
gas/
2011-08-26 Tristan Gingold <gingold@adacore.com>
* config/tc-alpha.c (add_to_link_pool): Improve comment.
(s_alpha_fp_save): Fix indentation.
RCS file: /cvs/src/src/gas/config/tc-alpha.c,v
retrieving revision 1.96
diff -c -r1.96 tc-alpha.c
*** tc-alpha.c 7 Aug 2011 16:32:20 -0000 1.96
--- tc-alpha.c 26 Aug 2011 13:11:14 -0000
***************
*** 3412,3430 ****
p = frag_more (8);
memset (p, 0, 8);
! /* Create the basesym - linksym expression (offset of the added entry). */
e.X_op = O_subtract;
e.X_add_symbol = linksym;
e.X_op_symbol = basesym;
e.X_add_number = 0;
expsym = make_expr_symbol (&e);
fixp = fix_new
(frag_now, p - frag_now->fr_literal, 8, sym, addend, 0, BFD_RELOC_64);
fixp->tc_fix_data.info = get_alpha_reloc_tag (next_sequence_num--);
fixp->tc_fix_data.info->sym = expsym;
subseg_set (current_section, current_subsec);
return expsym;
}
#endif /* OBJ_EVAX */
--- 3412,3433 ----
p = frag_more (8);
memset (p, 0, 8);
! /* Create a symbol for 'basesym - linksym' (offset of the added entry). */
e.X_op = O_subtract;
e.X_add_symbol = linksym;
e.X_op_symbol = basesym;
e.X_add_number = 0;
expsym = make_expr_symbol (&e);
+ /* Create a fixup for the entry. */
fixp = fix_new
(frag_now, p - frag_now->fr_literal, 8, sym, addend, 0, BFD_RELOC_64);
fixp->tc_fix_data.info = get_alpha_reloc_tag (next_sequence_num--);
fixp->tc_fix_data.info->sym = expsym;
subseg_set (current_section, current_subsec);
+
+ /* Return the symbol. */
return expsym;
}
#endif /* OBJ_EVAX */
***************
*** 4756,4762 ****
static void
s_alpha_fp_save (int ignore ATTRIBUTE_UNUSED)
{
-
alpha_evax_proc->fp_save = tc_get_register (1);
demand_empty_rest_of_line ();
--- 4759,4764 ----