This is the mail archive of the libc-ports@sources.redhat.com mailing list for the libc-ports project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH roland/arm-avoid-pc] ARM: Support avoiding pc as destination register.


On Mon, 11 Mar 2013, Roland McGrath wrote:

> 	* sysdeps/arm/arm-features.h: Add comment about ARM_ALWAYS_BX.

That's OK.

> +#else
> +		beq	7f
> +		push	{r10}
> +		cfi_adjust_cfa_offset (4)

This should also have cfi_rel_offset (r10, 0) to record the save itself in 
CFI debug information.

> +#ifdef ARM_ALWAYS_BX
> +		pop	{r10}
> +		cfi_adjust_cfa_offset (-4)
> +#endif

Likewise, record the restore of r10.

> +#else
> +		beq	7f
> +		push	{r10}
> +		cfi_adjust_cfa_offset (4)

Likewise, in memmove.

> +#ifdef ARM_ALWAYS_BX
> +		pop	{r10}
> +		cfi_adjust_cfa_offset (-4)

Likewise.

-- 
Joseph S. Myers
joseph@codesourcery.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]