aboutsummaryrefslogtreecommitdiff
path: root/gas/subsegs.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2014-11-04 15:31:09 +1030
committerAlan Modra <amodra@gmail.com>2014-11-04 22:40:45 +1030
commited9e98c214dde25cc9ff54bac7191c3824be3ffa (patch)
tree3980c3988814ee71c381b4c7abb879bce7b8325b /gas/subsegs.c
parent127a8db1ed4fc7903007dc23c6b11f613933f9ef (diff)
downloadgdb-ed9e98c214dde25cc9ff54bac7191c3824be3ffa.zip
gdb-ed9e98c214dde25cc9ff54bac7191c3824be3ffa.tar.gz
gdb-ed9e98c214dde25cc9ff54bac7191c3824be3ffa.tar.bz2
Don't use register keyword
* expr.c (expr_symbol_where): Don't use register keyword. * app.c (app_push, app_pop, do_scrub_chars): Likewise. * ecoff.c (add_string, add_ecoff_symbol, add_aux_sym_symint, add_aux_sym_rndx, add_aux_sym_tir, add_procedure, add_file, ecoff_build_lineno, ecoff_setup_ext, allocate_cluster. allocate_scope, allocate_vlinks, allocate_shash, allocate_thash, allocate_tag, allocate_forward, allocate_thead, allocate_lineno_list): Likewise. * frags.c (frag_more, frag_var, frag_variant, frag_wane): Likewise. * input-file.c (input_file_push, input_file_pop): Likewise. * input-scrub.c (input_scrub_push, input_scrub_next_buffer): Likewise. * subsegs.c (subseg_change): Likewise. * symbols.c (colon, symbol_table_insert, symbol_find_or_make) (dollar_label_name, fb_label_name): Likewise. * write.c (relax_align): Likewise. * config/tc-alpha.c (s_alpha_pdesc): Likewise. * config/tc-bfin.c (bfin_s_bss): Likewise. * config/tc-i860.c (md_estimate_size_before_relax): Likewise. * config/tc-m68hc11.c (md_convert_frag): Likewise. * config/tc-m68k.c (m68k_ip, crack_operand): Likewise. (md_convert_frag_1, s_even): Likewise. * config/tc-mips.c (mips_clear_insn_labels): Likewise. * config/tc-mn10200.c (md_begin): Likewise. * config/tc-s390.c (s390_setup_opcodes, md_begin): Likewise. * config/tc-sh.c (sh_elf_cons): Likewise. * config/tc-tic4x.c (tic4x_cons, tic4x_stringer): Likewise. * config/m68k-parse.y (m68k_reg_parse): Likewise. Convert from K&R. (yylex, m68k_ip_op, yyerror): Convert from K&R.
Diffstat (limited to 'gas/subsegs.c')
-rw-r--r--gas/subsegs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/subsegs.c b/gas/subsegs.c
index eb79195..0e0a755 100644
--- a/gas/subsegs.c
+++ b/gas/subsegs.c
@@ -55,7 +55,7 @@ subsegs_begin (void)
* segment context correct.
*/
void
-subseg_change (register segT seg, register int subseg)
+subseg_change (segT seg, int subseg)
{
segment_info_type *seginfo = seg_info (seg);
now_seg = seg;