Commit e6978109 by Franz Sirl

configure.in (HAVE_AS_DWARF2_DEBUG_LINE): Enable .file/.loc check for powerpc*-*-*.

	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
parent df86583c
...@@ -62,6 +62,8 @@ Boston, MA 02111-1307, USA. */ ...@@ -62,6 +62,8 @@ Boston, MA 02111-1307, USA. */
#undef ASM_APP_OFF #undef ASM_APP_OFF
#define ASM_APP_OFF "#NO_APP\n" #define ASM_APP_OFF "#NO_APP\n"
#define HANDLE_PRAGMA_PACK_PUSH_POP
#undef DEFAULT_VTABLE_THUNKS #undef DEFAULT_VTABLE_THUNKS
#ifndef USE_GNULIBC_1 #ifndef USE_GNULIBC_1
#define DEFAULT_VTABLE_THUNKS 1 #define DEFAULT_VTABLE_THUNKS 1
......
...@@ -7542,7 +7542,7 @@ rs6000_unique_section (decl, reloc) ...@@ -7542,7 +7542,7 @@ rs6000_unique_section (decl, reloc)
+ (DECL_INITIAL (decl) == 0 + (DECL_INITIAL (decl) == 0
|| DECL_INITIAL (decl) == error_mark_node) ? 4 : 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)]; prefix = prefixes[sec][DECL_ONE_ONLY (decl)];
len = strlen (name) + strlen (prefix); len = strlen (name) + strlen (prefix);
string = alloca (len + 1); string = alloca (len + 1);
......
...@@ -1553,7 +1553,7 @@ for ac_kw in inline __inline__ __inline; do ...@@ -1553,7 +1553,7 @@ for ac_kw in inline __inline__ __inline; do
#include "confdefs.h" #include "confdefs.h"
int main() { int main() {
} $ac_kw foo() { } $ac_kw int foo() {
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:1560: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then if { (eval echo configure:1560: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
...@@ -1583,7 +1583,7 @@ esac ...@@ -1583,7 +1583,7 @@ esac
# Find some useful tools # Find some useful tools
for ac_prog in mawk gawk nawk awk for ac_prog in gawk mawk nawk awk
do do
# Extract the first word of "$ac_prog", so it can be a program name with args. # Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2 set dummy $ac_prog; ac_word=$2
...@@ -3995,7 +3995,7 @@ else ...@@ -3995,7 +3995,7 @@ else
int main() { int main() {
/* Ultrix mips cc rejects this. */ /* 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. */ /* SunOS 4.1.1 cc rejects this. */
char const *const *ccp; char const *const *ccp;
char **p; char **p;
...@@ -4136,7 +4136,7 @@ else ...@@ -4136,7 +4136,7 @@ else
#include "confdefs.h" #include "confdefs.h"
#include <alloca.h> #include <alloca.h>
int main() { int main() {
char *p = alloca(2 * sizeof(int)); char *p = (char *)alloca(2 * sizeof(int));
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:4143: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 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 ...@@ -6124,7 +6124,7 @@ gcc_cv_as_dwarf2_debug_line=no
# ??? Once 2.11 is released, probably need to add first known working # ??? Once 2.11 is released, probably need to add first known working
# version to the per-target configury. # version to the per-target configury.
case "$target" in case "$target" in
i?86*-*-* | mips*-*-* | alpha*-*-* | sparc*-*-*) i?86*-*-* | mips*-*-* | alpha*-*-* | powerpc*-*-* | sparc*-*-*)
insn="nop" insn="nop"
;; ;;
ia64*-*-*) ia64*-*-*)
......
...@@ -1441,7 +1441,7 @@ gcc_cv_as_dwarf2_debug_line=no ...@@ -1441,7 +1441,7 @@ gcc_cv_as_dwarf2_debug_line=no
# ??? Once 2.11 is released, probably need to add first known working # ??? Once 2.11 is released, probably need to add first known working
# version to the per-target configury. # version to the per-target configury.
case "$target" in case "$target" in
i?86*-*-* | mips*-*-* | alpha*-*-* | sparc*-*-*) i?86*-*-* | mips*-*-* | alpha*-*-* | powerpc*-*-* | sparc*-*-*)
insn="nop" insn="nop"
;; ;;
ia64*-*-*) ia64*-*-*)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment