Commit 1ff62510 by Richard Earnshaw Committed by Richard Earnshaw

[arm] Fix warning in parsecpu.awk

    
In awk, single quotes within a quoted string do not need escaping.
The existing code causes awk to grumble in the build logs.
    
	* config/arm/parsecpu.awk (gen_comm_data): Do not escape single quotes
	in quoted strings.

(really commit it this time)...

From-SVN: r250092
parent 92383fee
2017-07-10 Richard Earnshaw <rearnsha@arm.com>
* config/arm/parsecpu.awk (gen_comm_data): Do not escape single quotes
in quoted strings.
2017-07-10 Georg-Johann Lay <avr@gjlay.de> 2017-07-10 Georg-Johann Lay <avr@gjlay.de>
Move jump-tables out of .text again. Move jump-tables out of .text again.
...@@ -567,11 +572,6 @@ ...@@ -567,11 +572,6 @@
2017-07-06 Richard Earnshaw <rearnsha@arm.com> 2017-07-06 Richard Earnshaw <rearnsha@arm.com>
* config/arm/parsecpu.awk (gen_comm_data): Do not escape single quotes
in quoted strings.
2017-07-06 Richard Earnshaw <rearnsha@arm.com>
* config/arm/t-arm (GTM_H): Add arm-cpu.h. * config/arm/t-arm (GTM_H): Add arm-cpu.h.
2017-07-06 Christophe Lyon <christophe.lyon@linaro.org> 2017-07-06 Christophe Lyon <christophe.lyon@linaro.org>
......
...@@ -301,7 +301,7 @@ function gen_comm_data () { ...@@ -301,7 +301,7 @@ function gen_comm_data () {
arch_base[archs[n]] "," arch_base[archs[n]] ","
# profile letter code, or zero if none. # profile letter code, or zero if none.
if (archs[n] in arch_prof) { if (archs[n] in arch_prof) {
print " \'" arch_prof[archs[n]] "\'," print " '" arch_prof[archs[n]] "',"
} else { } else {
print " 0," print " 0,"
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment