configure.in (HAVE_AS_DWARF2_DEBUG_LINE): Enable .file/.loc check for powerpc*-*-*.
authorFranz Sirl <sirl@gcc.gnu.org>
Tue, 12 Dec 2000 11:53:48 +0000 (11:53 +0000)
committerFranz Sirl <sirl@gcc.gnu.org>
Tue, 12 Dec 2000 11:53:48 +0000 (11:53 +0000)
2000-12-12  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

* configure.in (HAVE_AS_DWARF2_DEBUG_LINE): Enable .file/.loc check
for powerpc*-*-*.
* configure: Regenerated.
* config/rs6000/linux.h (HANDLE_PRAGMA_PUSH_POP): Define.
* config/rs6000/rs6000.c (rs6000_unique_section): Use
STRIP_NAME_ENCODING.

From-SVN: r38203

gcc/config/rs6000/linux.h
gcc/config/rs6000/rs6000.c
gcc/configure
gcc/configure.in

index f0cf9d18c34f5fb7cb2cb95cbf2be3e78bc04940..66a3b38e4a864c5bcd33550e786c92f1ba9c1f7e 100644 (file)
@@ -62,6 +62,8 @@ Boston, MA 02111-1307, USA.  */
 #undef ASM_APP_OFF
 #define ASM_APP_OFF "#NO_APP\n"
 
+#define HANDLE_PRAGMA_PACK_PUSH_POP
+
 #undef DEFAULT_VTABLE_THUNKS
 #ifndef USE_GNULIBC_1
 #define DEFAULT_VTABLE_THUNKS 1
index 30a99bba3441312702a5090c52bd61d7db6ab781..b980122d2a23023283001fbc104724fcd6188e4d 100644 (file)
@@ -7542,7 +7542,7 @@ rs6000_unique_section (decl, reloc)
         + (DECL_INITIAL (decl) == 0
            || DECL_INITIAL (decl) == error_mark_node) ? 4 : 0);
 
-  name   = IDENTIFIER_POINTER (DECL_ASSEMBLER_NAME (decl));
+  STRIP_NAME_ENCODING (name, IDENTIFIER_POINTER (DECL_ASSEMBLER_NAME (decl)));
   prefix = prefixes[sec][DECL_ONE_ONLY (decl)];
   len    = strlen (name) + strlen (prefix);
   string = alloca (len + 1);
index 6c1b197cd955a573a2ddf09047919f9e08c86ae6..0d5f84c0402b8e3b6d1f16bd3229a8f201b272bd 100755 (executable)
@@ -1553,7 +1553,7 @@ for ac_kw in inline __inline__ __inline; do
 #include "confdefs.h"
 
 int main() {
-} $ac_kw foo() {
+} $ac_kw int foo() {
 ; return 0; }
 EOF
 if { (eval echo configure:1560: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
@@ -1583,7 +1583,7 @@ esac
 
 
 # Find some useful tools
-for ac_prog in mawk gawk nawk awk
+for ac_prog in gawk mawk nawk awk
 do
 # Extract the first word of "$ac_prog", so it can be a program name with args.
 set dummy $ac_prog; ac_word=$2
@@ -3995,7 +3995,7 @@ else
 int main() {
 
 /* Ultrix mips cc rejects this.  */
-typedef int charset[2]; const charset x;
+typedef int charset[2]; const charset x={0,0};
 /* SunOS 4.1.1 cc rejects this.  */
 char const *const *ccp;
 char **p;
@@ -4136,7 +4136,7 @@ else
 #include "confdefs.h"
 #include <alloca.h>
 int main() {
-char *p = alloca(2 * sizeof(int));
+char *p = (char *)alloca(2 * sizeof(int));
 ; return 0; }
 EOF
 if { (eval echo configure:4143: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
@@ -6124,7 +6124,7 @@ gcc_cv_as_dwarf2_debug_line=no
 # ??? Once 2.11 is released, probably need to add first known working
 # version to the per-target configury.
 case "$target" in
-  i?86*-*-* | mips*-*-* | alpha*-*-* | sparc*-*-*)
+  i?86*-*-* | mips*-*-* | alpha*-*-* | powerpc*-*-* | sparc*-*-*)
     insn="nop"
     ;;
   ia64*-*-*)
index e5fe5e0c5612109a9a9b736507a7a671287adca6..b391267e0b863f70968288c76b25fde28abba33c 100644 (file)
@@ -1441,7 +1441,7 @@ gcc_cv_as_dwarf2_debug_line=no
 # ??? Once 2.11 is released, probably need to add first known working
 # version to the per-target configury.
 case "$target" in
-  i?86*-*-* | mips*-*-* | alpha*-*-* | sparc*-*-*)
+  i?86*-*-* | mips*-*-* | alpha*-*-* | powerpc*-*-* | sparc*-*-*)
     insn="nop"
     ;;
   ia64*-*-*)