* config.gcc [hppa[12]*-*-hpux10*, hppa[12]*-*-hpux11*]: Ignore
authordanglin <danglin@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 6 Dec 2010 00:43:17 +0000 (00:43 +0000)
committerdanglin <danglin@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 6 Dec 2010 00:43:17 +0000 (00:43 +0000)
--with-dwarf2 option.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@167479 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config.gcc

index f7a7943..31e5905 100644 (file)
@@ -1,3 +1,8 @@
+2010-12-05  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
+
+       * config.gcc [hppa[12]*-*-hpux10*, hppa[12]*-*-hpux11*]:  Ignore
+       --with-dwarf2 option.
+
 2010-12-03  Jan Hubicka  <jh@suse.cz>
 
        * lto-streamer-in.c (input_cfg): Fix pasto.
index d41cf11..da4c689 100644 (file)
@@ -1065,6 +1065,10 @@ hppa[12]*-*-hpux10*)
        fi
        use_collect2=yes
        gas=yes
+       if test "x$with_dwarf2" != x; then
+               echo "Warning: dwarf2 debug format is not supported for this targe, --with-dwarf2 ignored" 1>&2
+               dwarf2=no
+       fi
        ;;
 hppa*64*-*-hpux11*)
        target_cpu_default="MASK_PA_11|MASK_PA_20"
@@ -1153,6 +1157,10 @@ hppa[12]*-*-hpux11*)
                tm_file="${tm_file} hpux-stdint.h"
                ;;
        esac
+       if test "x$with_dwarf2" != x; then
+               echo "Warning: dwarf2 debug format is not supported for this targe, --with-dwarf2 ignored" 1>&2
+               dwarf2=no
+       fi
        ;;
 i[34567]86-*-darwin*)
        need_64bit_hwint=yes