This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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]

S/390: Enable .file/.loc configure check


Hello,

this fixes a configure problem that caused s390 not to use the
.file/.loc assembler directives even if they are available.

Doing so improves the .debug_line section output.

Bootstrapped/regtested on s390-ibm-linux and s390x-ibm-linux,
ran the gdb test suite without regressions.

Applied to mainline and 3.4.

Bye,
Ulrich

ChangeLog:

	* configure.ac (gcc_cv_as_dwarf2_debug_line): Enable test for
	s390*-*-* targets by specifying a 'nop' insn.
	* configure: Regenerate.


Index: gcc/configure
===================================================================
RCS file: /cvs/gcc/gcc/gcc/configure,v
retrieving revision 1.794.2.4
diff -c -p -r1.794.2.4 configure
*** gcc/configure	22 Jan 2004 23:13:54 -0000	1.794.2.4
--- gcc/configure	28 Jan 2004 23:06:08 -0000
*************** case "$target" in
*** 10918,10924 ****
    | xstormy16*-*-* | cris-*-* | xtensa-*-*)
      insn="nop"
      ;;
!   ia64*-*-*)
      insn="nop 0"
      ;;
    mmix-*-*)
--- 10918,10924 ----
    | xstormy16*-*-* | cris-*-* | xtensa-*-*)
      insn="nop"
      ;;
!   ia64*-*-* | s390*-*-*)
      insn="nop 0"
      ;;
    mmix-*-*)
Index: gcc/configure.ac
===================================================================
RCS file: /cvs/gcc/gcc/gcc/configure.ac,v
retrieving revision 2.6.2.4
diff -c -p -r2.6.2.4 configure.ac
*** gcc/configure.ac	22 Jan 2004 23:13:54 -0000	2.6.2.4
--- gcc/configure.ac	28 Jan 2004 23:06:09 -0000
*************** case "$target" in
*** 2472,2478 ****
    | xstormy16*-*-* | cris-*-* | xtensa-*-*)
      insn="nop"
      ;;
!   ia64*-*-*)
      insn="nop 0"
      ;;
    mmix-*-*)
--- 2472,2478 ----
    | xstormy16*-*-* | cris-*-* | xtensa-*-*)
      insn="nop"
      ;;
!   ia64*-*-* | s390*-*-*)
      insn="nop 0"
      ;;
    mmix-*-*)
-- 
  Dr. Ulrich Weigand
  weigand@informatik.uni-erlangen.de


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