GCC 4.1.0 (for ppc) generates object files without dot-symbols. This new format breaks subroutine calls using assembly language mnemonic. This patch restores the old convention, i.e produce the object files with dot-symbols using the flag "-mcall-aixdesc". Note: Earlier versions of gcc compilers generated object files with dot-symbols. Signed-off-by: Mohan --- configure.ac | 3 ++- 1 files changed, 2 insertions(+), 1 deletion(-) diff -puN configure.ac~kexec-ppc-gcc410-fix configure.ac --- kexec-tools-1.101/configure.ac~kexec-ppc-gcc410-fix 2006-02-13 18:05:30.000000000 +0530 +++ kexec-tools-1.101-mohan/configure.ac 2006-02-13 18:06:24.000000000 +0530 @@ -53,8 +53,9 @@ fi EXTRA_CFLAGS="" # Check whether ppc64. Add -m64 for building 64-bit binary +# Add -mcall-aixdesc to generate dot-symbols as in gcc 3.3.3 if test "$ARCH" = ppc64; then - EXTRA_CFLAGS="$EXTRA_CFLAGS -m64" + EXTRA_CFLAGS="$EXTRA_CFLAGS -m64 -mcall-aixdesc" fi; AC_ARG_WITH([objdir], AC_HELP_STRING([--with-objdir=],[select directory for object files]), _