Fixes a bug building the ARM Linux kernel with a toolchain compiled with CPU_DEFAULT set.
PR gas/17852 * config/tc-arm.c (md_begin): Ensure that selected_cpu is initialised when CPU_DEFAULT is defined.
This commit is contained in:
parent
6defcd57e9
commit
73f43896e3
2 changed files with 8 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
|||
2015-03-10 Nick Clifton <nickc@redhat.com>
|
||||
|
||||
PR gas/17852
|
||||
* config/tc-arm.c (md_begin): Ensure that selected_cpu is
|
||||
initialised when CPU_DEFAULT is defined.
|
||||
|
||||
2015-03-05 Nick Clifton <nickc@redhat.com>
|
||||
|
||||
* config/tc-v850.c (md_parse_option): Fix code to set or clear
|
||||
|
|
|
@ -23951,6 +23951,8 @@ md_begin (void)
|
|||
mcpu_cpu_opt = &cpu_default;
|
||||
selected_cpu = cpu_default;
|
||||
}
|
||||
else if (no_cpu_selected ())
|
||||
selected_cpu = cpu_default;
|
||||
#else
|
||||
if (mcpu_cpu_opt)
|
||||
selected_cpu = *mcpu_cpu_opt;
|
||||
|
|
Loading…
Reference in a new issue