]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gas/config/tc-arm.c
* gas/config/tc-arm.c (arm_cpu_option_table): Add name_len field.
authorMatthew Gretton-Dann <matthew.gretton-dann@arm.com>
Mon, 5 Dec 2011 14:51:54 +0000 (14:51 +0000)
committerMatthew Gretton-Dann <matthew.gretton-dann@arm.com>
Mon, 5 Dec 2011 14:51:54 +0000 (14:51 +0000)
commitf3bad4690f3241cc461dc911f6a99f39e9218778
tree670f139a022ba44e5f553824ffde7f2da3cc2d09
parent0596a831a2e79bd9880d65c48a1c2c57a57e950a
* gas/config/tc-arm.c (arm_cpu_option_table): Add name_len field.
(arm_arch_option_table): Likewise.
(arm_option_extension_value_table): Likewise.
(ARM_CPU_OPT): New define.
(ARM_ARCH_OPT): Likewise.
(ARM_EXT_OPT): Likewise.
(arm_cpus): Use ARM_CPU_OPT to initialize.
(arm_archs): Use ARM_ARCH_OPT to initialize.
(arm_extensions): Use ARM_EXT_OPT to initialize.
(arm_parse_extension): Ensure option string matching matches
the whole string.
(arm_parse_cpu): Likewise.
(arm_parse_arch): Likewise.
* gas/testsuite/gas/arm/cmdline-bad-arch.d: New test case.
* gas/testsuite/gas/arm/cmdline-bad-cpu.d: Likewise.
gas/ChangeLog
gas/config/tc-arm.c
gas/testsuite/ChangeLog
gas/testsuite/gas/arm/cmdline-bad-arch.d [new file with mode: 0644]
gas/testsuite/gas/arm/cmdline-bad-cpu.d [new file with mode: 0644]