[ARC] Check the assembler for gdwarf2 support.

Message ID 1505214366-23490-1-git-send-email-claziss@synopsys.com
State New
Headers show
Series
  • [ARC] Check the assembler for gdwarf2 support.
Related show

Commit Message

Claudiu Zissulescu Sept. 12, 2017, 11:06 a.m.
From: claziss <claziss@synopsys.com>

This small patch enables the gcc driver to pass dwarf related options to the assembler.

Ok to apply?
Claudiu

gcc/
2017-06-21  Claudiu Zissulescu  <claziss@synopsys.com>

	* configure.ac: Add arc and check if assembler supports gdwarf2.
	* configure: Regenerate.
---
 gcc/configure    | 6 +++---
 gcc/configure.ac | 6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

Comments

Jeff Law Sept. 13, 2017, 7:07 p.m. | #1
On 09/12/2017 05:06 AM, Claudiu Zissulescu wrote:
> From: claziss <claziss@synopsys.com>
> 
> This small patch enables the gcc driver to pass dwarf related options to the assembler.
> 
> Ok to apply?
> Claudiu
> 
> gcc/
> 2017-06-21  Claudiu Zissulescu  <claziss@synopsys.com>
> 
> 	* configure.ac: Add arc and check if assembler supports gdwarf2.
> 	* configure: Regenerate.
OK.
jeff
Claudiu Zissulescu Sept. 18, 2017, 1:56 p.m. | #2
> > gcc/

> > 2017-06-21  Claudiu Zissulescu  <claziss@synopsys.com>

> >

> > 	* configure.ac: Add arc and check if assembler supports gdwarf2.

> > 	* configure: Regenerate.

> OK.

> jeff


Committed. Thank you for your review,
Claudiu

Patch

diff --git a/gcc/configure b/gcc/configure
index 9cee670..13f97cd 100755
--- a/gcc/configure
+++ b/gcc/configure
@@ -27664,9 +27664,9 @@  esac
 # ??? Once 2.11 is released, probably need to add first known working
 # version to the per-target configury.
 case "$cpu_type" in
-  aarch64 | alpha | arm | avr | bfin | cris | i386 | m32c | m68k | microblaze \
-  | mips | nios2 | pa | riscv | rs6000 | score | sparc | spu | tilegx \
-  | tilepro | visium | xstormy16 | xtensa)
+  aarch64 | alpha | arc | arm | avr | bfin | cris | i386 | m32c | m68k \
+  | microblaze | mips | nios2 | pa | riscv | rs6000 | score | sparc | spu \
+  | tilegx | tilepro | visium | xstormy16 | xtensa)
     insn="nop"
     ;;
   ia64 | s390)
diff --git a/gcc/configure.ac b/gcc/configure.ac
index 0c0e359..8271138 100644
--- a/gcc/configure.ac
+++ b/gcc/configure.ac
@@ -4810,9 +4810,9 @@  esac
 # ??? Once 2.11 is released, probably need to add first known working
 # version to the per-target configury.
 case "$cpu_type" in
-  aarch64 | alpha | arm | avr | bfin | cris | i386 | m32c | m68k | microblaze \
-  | mips | nios2 | pa | riscv | rs6000 | score | sparc | spu | tilegx \
-  | tilepro | visium | xstormy16 | xtensa)
+  aarch64 | alpha | arc | arm | avr | bfin | cris | i386 | m32c | m68k \
+  | microblaze | mips | nios2 | pa | riscv | rs6000 | score | sparc | spu \
+  | tilegx | tilepro | visium | xstormy16 | xtensa)
     insn="nop"
     ;;
   ia64 | s390)