]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Fix "psb CSYNC" and "bti C".
authorAndrew Pinski <apinski@marvell.com>
Thu, 21 Nov 2019 20:53:02 +0000 (12:53 -0800)
committerAndrew Pinski <apinski@marvell.com>
Mon, 25 Nov 2019 18:27:26 +0000 (18:27 +0000)
commit0a821c4f6de9b902fd663fb23ee187b9adf4f7c4
treef2e6d1ed192c7d6773cc443585237dd42d0bd8d1
parent6cc8564b9a2f3aa133ceaf9ab6e71ed68129a8f8
Fix "psb CSYNC" and "bti C".

psb CYSNC was not finding that CSYNC was a correct spelling.
The problem was upper case version was being put in the
wrong hashtable.  This fixes the problem by using the
correct hashtable.
Also adds testcases for the upper case versions.

        * config/tc-aarch64.c (md_begin): Use correct
        hash table for uppercase version of hint.
        * testsuite/gas/aarch64/system-2.s: Extend psb case to uppercase.
        * testsuite/gas/aarch64/system-2.d: Update.

Change-Id: If43f8b85cacd24840d596c3092b0345e5f212766
gas/ChangeLog
gas/config/tc-aarch64.c
gas/testsuite/gas/aarch64/bti.d
gas/testsuite/gas/aarch64/bti.s
gas/testsuite/gas/aarch64/illegal-bti.l
gas/testsuite/gas/aarch64/system-2.d
gas/testsuite/gas/aarch64/system-2.s