top-level configure changes for HPPA
PATCH 1/1 top-level configure changes for HPPA
libc-aplha,
When checking for DWARF2 unwind info the link order for hppa requires -lgcc_eh to be placed before -lgcc.
Change tested on i386 and nothing broke.
c.
---
2002-11-16 Carlos O'Donell <[email protected]>
* configure.in: Change "-lgcc -lgcc_eh" to "-lgcc_eh -lgcc" to accomodate required hppa linking order.
* configure: Regenerate.
configure +2 -2
@@ -5221,14 +5221,14 @@ fi if { ac_try='${CC-cc} $CFLAGS -DCHECK__register_frame_info -nostdlib -nostartfiles - -o conftest conftest.c -lgcc -lgcc_eh >&5' + -o conftest conftest.c -lgcc_eh -lgcc >&5' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then if ${CC-cc} $CFLAGS -DCHECK__register_frame_info -nostdlib -nostartfiles \ - -o conftest conftest.c -lgcc -lgcc_eh -v 2>&1 >/dev/null \ + -o conftest conftest.c -lgcc_eh -lgcc -v 2>&1 >/dev/null \ | grep -q -- --eh-frame-hdr; then libc_cv_gcc_dwarf2_unwind_info=no_registry_needed else
configure.in +2 -2
@@ -1565,9 +1565,9 @@ fi if AC_TRY_COMMAND([${CC-cc} $CFLAGS -DCHECK__register_frame_info -nostdlib -nostartfiles - -o conftest conftest.c -lgcc -lgcc_eh >&AS_MESSAGE_LOG_FD]); then + -o conftest conftest.c -lgcc_eh -lgcc >&AS_MESSAGE_LOG_FD]); then if ${CC-cc} $CFLAGS -DCHECK__register_frame_info -nostdlib -nostartfiles \ - -o conftest conftest.c -lgcc -lgcc_eh -v 2>&1 >/dev/null \ + -o conftest conftest.c -lgcc_eh -lgcc -v 2>&1 >/dev/null \ | grep -q -- --eh-frame-hdr; then libc_cv_gcc_dwarf2_unwind_info=no_registry_needed else