[PATCH] ld: Set want64 on a 64-bit host regardless of --enable-all-targets

Kai Tietz ktietz70@googlemail.com
Fri Mar 23 08:25:00 GMT 2012


Hi,

2012/3/23 Alan Modra <amodra@gmail.com>:
> +if test x${want64} = xfalse; then
> +  AC_CHECK_SIZEOF(long)
> +  if test "x${ac_cv_sizeof_long}" = "x8"; then
> +    want64=true
> +  fi

Wouldn't it be better to check here instead of "long" for "void *"?
So the change would also work for LLP64 targets.

Regards,
Kai



More information about the Binutils mailing list