diff options
author | Franz Sirl <sirl@gcc.gnu.org> | 2000-12-12 11:53:48 +0000 |
---|---|---|
committer | Franz Sirl <sirl@gcc.gnu.org> | 2000-12-12 11:53:48 +0000 |
commit | e6978109a17d07b05e396437cd86370013f9f88c (patch) | |
tree | 1089131f0eed7fe8c26178bbfc14c988373ba817 | |
parent | df86583c2e2c31bbaca1433b73e20a86544a184b (diff) | |
download | gcc-e6978109a17d07b05e396437cd86370013f9f88c.zip gcc-e6978109a17d07b05e396437cd86370013f9f88c.tar.gz gcc-e6978109a17d07b05e396437cd86370013f9f88c.tar.bz2 |
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
-rw-r--r-- | gcc/config/rs6000/linux.h | 2 | ||||
-rw-r--r-- | gcc/config/rs6000/rs6000.c | 2 | ||||
-rwxr-xr-x | gcc/configure | 10 | ||||
-rw-r--r-- | gcc/configure.in | 2 |
4 files changed, 9 insertions, 7 deletions
diff --git a/gcc/config/rs6000/linux.h b/gcc/config/rs6000/linux.h index f0cf9d1..66a3b38 100644 --- a/gcc/config/rs6000/linux.h +++ b/gcc/config/rs6000/linux.h @@ -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 diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c index 30a99bb..b980122 100644 --- a/gcc/config/rs6000/rs6000.c +++ b/gcc/config/rs6000/rs6000.c @@ -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); diff --git a/gcc/configure b/gcc/configure index 6c1b197..0d5f84c 100755 --- a/gcc/configure +++ b/gcc/configure @@ -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*-*-*) diff --git a/gcc/configure.in b/gcc/configure.in index e5fe5e0..b391267 100644 --- a/gcc/configure.in +++ b/gcc/configure.in @@ -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*-*-*) |