Add an arm-tls feature which includes the tpidruro register from CP15.
This commit is contained in:
parent
40c23d8803
commit
92d48a1e4e
12 changed files with 66 additions and 17 deletions
|
@ -346,13 +346,13 @@ arm_netbsd_nat_target::read_description ()
|
|||
|
||||
if (sysctlbyname("machdep.fpu_present", &flag, &len, NULL, 0) != 0
|
||||
|| !flag)
|
||||
return arm_read_description (ARM_FP_TYPE_NONE);
|
||||
return arm_read_description (ARM_FP_TYPE_NONE, false);
|
||||
|
||||
len = sizeof(flag);
|
||||
if (sysctlbyname("machdep.neon_present", &flag, &len, NULL, 0) == 0 && flag)
|
||||
return aarch32_read_description ();
|
||||
|
||||
return arm_read_description (ARM_FP_TYPE_VFPV3);
|
||||
return arm_read_description (ARM_FP_TYPE_VFPV3, false);
|
||||
}
|
||||
|
||||
void _initialize_arm_netbsd_nat ();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue