This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH 2/4] gas: sparc: fix collision of registers and pseudo-ops.
- From: jose dot marchesi at oracle dot com (Jose E. Marchesi)
- To: Nick Clifton <nickc at redhat dot com>
- Cc: binutils at sourceware dot org
- Date: Fri, 17 Jun 2016 11:21:30 +0200
- Subject: Re: [PATCH 2/4] gas: sparc: fix collision of registers and pseudo-ops.
- Authentication-results: sourceware.org; auth=none
- References: <1466006453-1022-1-git-send-email-jose dot marchesi at oracle dot com> <1466006453-1022-3-git-send-email-jose dot marchesi at oracle dot com> <31ac7e38-e351-fc09-c686-f74132eb9d12 at redhat dot com>
> gas/ChangeLog:
>
> 2016-06-15 Jose E. Marchesi <jose.marchesi@oracle.com>
>
> * config/tc-sparc.c (priv_reg_table): Use NULL instead of the
> empty string to mark the end of the array.
> (hpriv_reg_table): Likewise.
> (v9a_asr_table): Likewise.
> (cmp_reg_entry): Handle entries with NULL names.
> (F_POP_V9): Define.
> (F_POP_PCREL): Likewise.
> (F_POP_TLS_CALL): Likewise.
> (F_POP_POSTFIX): Likewise.
> (struct pop_entry): New type.
> (pop_table): New variable.
> (enum pop_entry_type): New type.
> (struct perc_entry): Likewise.
> (NUM_PERC_ENTRIES): Define.
> (perc_table): New variable.
> (cmp_perc_entry): New function.
> (md_begin): Sort hpriv_reg_table and v9a_asr_table, and initialize
> perc_table.
> (sparc_ip): Handle entries with NULL names in priv_reg_table,
> hpriv_reg_table and v9a_asr_table. Use perc_table to handle
> %-pseudo-ops.
Approved - please apply.
Applied, thanks.