Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 417179 | Differences between
and this patch

Collapse All | Expand All

(-)a/configure (-3 / +3 lines)
Lines 14506-14515 if test "${libffi_cv_as_x86_pcrel+set}" = set; then Link Here
14506
  $as_echo_n "(cached) " >&6
14506
  $as_echo_n "(cached) " >&6
14507
else
14507
else
14508
14508
14509
	libffi_cv_as_x86_pcrel=yes
14509
	libffi_cv_as_x86_pcrel=no
14510
	echo '.text; foo: nop; .data; .long foo-.; .text' > conftest.s
14510
	echo '.text; foo: nop; .data; .long foo-.; .text' > conftest.s
14511
	if $CC $CFLAGS -c conftest.s 2>&1 | $EGREP -i 'illegal|warning' > /dev/null; then
14511
	if $CC $CFLAGS -c conftest.s > /dev/null; then
14512
	    libffi_cv_as_x86_pcrel=no
14512
	    libffi_cv_as_x86_pcrel=yes
14513
	fi
14513
	fi
14514
14514
14515
fi
14515
fi
(-)a/configure.ac (-4 / +3 lines)
Lines 276-285 fi Link Here
276
if test x$TARGET = xX86 || test x$TARGET = xX86_WIN32 || test x$TARGET = xX86_64; then
276
if test x$TARGET = xX86 || test x$TARGET = xX86_WIN32 || test x$TARGET = xX86_64; then
277
    AC_CACHE_CHECK([assembler supports pc related relocs],
277
    AC_CACHE_CHECK([assembler supports pc related relocs],
278
	libffi_cv_as_x86_pcrel, [
278
	libffi_cv_as_x86_pcrel, [
279
	libffi_cv_as_x86_pcrel=yes
279
	libffi_cv_as_x86_pcrel=no
280
	echo '.text; foo: nop; .data; .long foo-.; .text' > conftest.s
280
	echo '.text; foo: nop; .data; .long foo-.; .text' > conftest.s
281
	if $CC $CFLAGS -c conftest.s 2>&1 | $EGREP -i 'illegal|warning' > /dev/null; then
281
	if $CC $CFLAGS -c conftest.s > /dev/null; then
282
	    libffi_cv_as_x86_pcrel=no
282
	    libffi_cv_as_x86_pcrel=yes
283
	fi
283
	fi
284
	])
284
	])
285
    if test "x$libffi_cv_as_x86_pcrel" = xyes; then
285
    if test "x$libffi_cv_as_x86_pcrel" = xyes; then
286
-------------000904010404030601050307--

Return to bug 417179