diff options
author | Tristan Gingold <gingold@adacore.com> | 2011-08-26 13:16:36 +0000 |
---|---|---|
committer | Tristan Gingold <gingold@adacore.com> | 2011-08-26 13:16:36 +0000 |
commit | 0189c2eba712589d7a99478e92467b9db8d7afe9 (patch) | |
tree | f523010cbdf3c66f78b3cdaa27d08cae2b16b6d8 /gas | |
parent | d064f206008571b2be0f6f7d2bf071a34c33dff4 (diff) | |
download | gdb-0189c2eba712589d7a99478e92467b9db8d7afe9.zip gdb-0189c2eba712589d7a99478e92467b9db8d7afe9.tar.gz gdb-0189c2eba712589d7a99478e92467b9db8d7afe9.tar.bz2 |
2011-08-26 Tristan Gingold <gingold@adacore.com>
* config/tc-alpha.c (add_to_link_pool): Improve comment.
(s_alpha_fp_save): Fix indentation.
Diffstat (limited to 'gas')
-rw-r--r-- | gas/config/tc-alpha.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gas/config/tc-alpha.c b/gas/config/tc-alpha.c index db3f8b4..e9dd0fe 100644 --- a/gas/config/tc-alpha.c +++ b/gas/config/tc-alpha.c @@ -3412,19 +3412,22 @@ add_to_link_pool (symbolS *sym, offsetT addend) p = frag_more (8); memset (p, 0, 8); - /* Create the basesym - linksym expression (offset of the added entry). */ + /* 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,7 +4759,6 @@ s_alpha_code_address (int ignore ATTRIBUTE_UNUSED) static void s_alpha_fp_save (int ignore ATTRIBUTE_UNUSED) { - alpha_evax_proc->fp_save = tc_get_register (1); demand_empty_rest_of_line (); |