diff --git a/gas/config/tc-ppc.c b/gas/config/tc-ppc.c index 095dd8a6a6..31bf3f8a6e 100644 --- a/gas/config/tc-ppc.c +++ b/gas/config/tc-ppc.c @@ -1753,6 +1753,8 @@ ppc_csect (ignore) sym->sy_tc.align = get_absolute_expression (); } + ppc_current_csect = sym; + demand_empty_rest_of_line (); } @@ -2267,6 +2269,8 @@ ppc_toc (ignore) symbol_append (sym, list->sy_tc.within, &symbol_rootP, &symbol_lastP); } + ppc_current_csect = ppc_toc_csect; + demand_empty_rest_of_line (); }