* configure.in: Add AC_PROG_CXX.
	* config.make.in (CXX): Define.
This commit is contained in:
Ulrich Drepper 2003-04-19 20:15:36 +00:00
parent 0b3df49e8d
commit 58a7a3257f
5 changed files with 38 additions and 0 deletions

View File

@ -1,5 +1,8 @@
2003-04-19 Ulrich Drepper <drepper@redhat.com>
* configure.in: Add AC_PROG_CXX.
* config.make.in (CXX): Define.
* sysdeps/i386/i686/hp-timing.h (HP_TIMING_PRINT): Change type of
__len to size_t to avoid warnings.

View File

@ -84,6 +84,7 @@ force-install = @force_install@
# Build tools.
CC = @CC@
CXX = @CXX@
BUILD_CC = @BUILD_CC@
CFLAGS = @CFLAGS@
AR = @AR@

View File

@ -676,6 +676,8 @@ if test $host != $build; then
fi
AC_SUBST(cross_compiling)
AC_PROG_CPP
# We need the C++ compiler only for testing.
AC_PROG_CXX
LIBC_PROG_BINUTILS
AC_SUBST(MIG)dnl Needed by sysdeps/mach/configure.in

View File

@ -1,5 +1,8 @@
2003-04-19 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/i386/dl-sysdep.h
(DL_SYSINFO_IMPLEMENTATION): Add .eh_frame information.
* sysdeps/unix/sysv/linux/unregister-atfork.c
(__unregister_atfork): Don't free memory not allocated dynamically.

View File

@ -55,7 +55,36 @@ extern void _dl_sysinfo_int80 (void) attribute_hidden;
"_dl_sysinfo_int80:\n\t" \
"int $0x80;\n\t" \
"ret;\n\t" \
".LEND_dl_sysinfo_int80\n\t" \
".size _dl_sysinfo_int80,.-_dl_sysinfo_int80\n\t" \
".previous;\n\t" \
".section .eh_frame,\"a\",@progbits\n" \
".LSTARTFRAMEDLSI:\n\t" \
".long .LENDCIEDLSI-.LSTARTCIEDLSI\n" \
".LSTARTCIEDLSI:\n\t" \
".long 0\n\t" /* CIE ID */ \
".byte 1\n\t" /* Version number */ \
".string \"zR\"\n\t" /* NUL-terminated augmentation string */ \
".uleb128 1\n\t" /* Code alignment factor */ \
".sleb128 -4\n\t" /* Data alignment factor */ \
".byte 8\n\t" /* Return address register column */ \
".uleb128 1\n\t" /* Augmentation value length */ \
".byte 0x1b\n\t" /* DW_EH_PE_pcrel|DW_EH_PE_sdata4. */ \
".byte 0x0c\n\t" /* DW_CFA_def_cfa */ \
".uleb128 4\n\t" \
".uleb128 4\n\t" \
".byte 0x88\n\t" /* DW_CFA_offset, column 0x8 */ \
".uleb128 1\n\t" \
".align 4\n" \
".LENDCIEDLSI:\n\t" \
".long .LENDFDEDLSI-.LSTARTFDEDLSI\n" /* Length FDE */ \
".LSTARTFDEDLSI:\n\t" \
".long .LSTARTFDEDLSI-.LSTARTFRAMEDLSI\n\t" /* CIE pointer */ \
".long _dl_sysinfo_int80-.\n\t" /* PC-relative start address */ \
".long .LEND_dl_sysinfo_int80-_dl_sysinfo_int80\n\t" \
".uleb128 0\n\t" \
".align 4\n" \
".LENDFDEDLSI:\n\t" \
".previous");
#endif