Patchwork Enable dwarf2 debug_line for avr

login
register
mail settings
Submitter Tristan Gingold
Date Sept. 24, 2010, 1:08 p.m.
Message ID <EEB591B2-A167-4DE7-8AD4-70825377E8BB@adacore.com>
Download mbox | patch
Permalink /patch/65650/
State New
Headers show

Comments

Tristan Gingold - Sept. 24, 2010, 1:08 p.m.
Hi,

as there currently no nop insn defined for avr in configure.ac and therefore many of the dwarf2 tests are disabled.
This one line patch just add avr in the list for the standard 'nop' insn.

Ok for mainline ?

Tristan.

2010-09-24  Tristan Gingold  <gingold@adacore.com>

	* configure.ac: Define the nop insn for avr*-*-*
	* configure: Regenerate.
Tristan Gingold - Sept. 29, 2010, 8:53 a.m.
Hi,

ping for this avr-specific configure chunk.  I suppose it first needs an OK from an AVR maintainer.

Thanks,
Tristan.

On Sep 24, 2010, at 3:08 PM, Tristan Gingold wrote:

> Hi,
> 
> as there currently no nop insn defined for avr in configure.ac and therefore many of the dwarf2 tests are disabled.
> This one line patch just add avr in the list for the standard 'nop' insn.
> 
> Ok for mainline ?
> 
> Tristan.
> 
> 2010-09-24  Tristan Gingold  <gingold@adacore.com>
> 
> 	* configure.ac: Define the nop insn for avr*-*-*
> 	* configure: Regenerate.
> 
> 
> diff --git a/gcc/configure.ac b/gcc/configure.ac
> index 278cc4f..103d1ed 100644
> --- a/gcc/configure.ac
> +++ b/gcc/configure.ac
> @@ -3746,7 +3746,7 @@ esac
> # version to the per-target configury.
> case "$target" in
>   i?86*-*-* | mips*-*-* | alpha*-*-* | powerpc*-*-* | sparc*-*-* | m68*-*-* \
> -  | x86_64*-*-* | hppa*-*-* | arm*-*-* \
> +  | x86_64*-*-* | hppa*-*-* | arm*-*-* | avr*-*-* \
>   | xstormy16*-*-* | cris-*-* | crisv32-*-* | xtensa*-*-* | bfin-*-* | score*-*-* \
>   | spu-*-* | fido*-*-* | m32c-*-*)
>     insn="nop"
>
Richard Henderson - Sept. 29, 2010, 6:27 p.m.
On 09/24/2010 06:08 AM, Tristan Gingold wrote:
> 	* configure.ac: Define the nop insn for avr*-*-*
> 	* configure: Regenerate.

I think this is pretty much obvious.  Patch is ok.


r~

Patch

diff --git a/gcc/configure.ac b/gcc/configure.ac
index 278cc4f..103d1ed 100644
--- a/gcc/configure.ac
+++ b/gcc/configure.ac
@@ -3746,7 +3746,7 @@  esac
 # version to the per-target configury.
 case "$target" in
   i?86*-*-* | mips*-*-* | alpha*-*-* | powerpc*-*-* | sparc*-*-* | m68*-*-* \
-  | x86_64*-*-* | hppa*-*-* | arm*-*-* \
+  | x86_64*-*-* | hppa*-*-* | arm*-*-* | avr*-*-* \
   | xstormy16*-*-* | cris-*-* | crisv32-*-* | xtensa*-*-* | bfin-*-* | score*-*-* \
   | spu-*-* | fido*-*-* | m32c-*-*)
     insn="nop"