Re: PATCH: allow 2.6 to build on old old setups

From: David S. Miller (davem@redhat.com)
Date: Sun Jul 27 2003 - 20:52:41 EST


On Sun, 27 Jul 2003 21:26:36 +0100
Alan Cox <alan@lxorguk.ukuu.org.uk> wrote:

> +#ifdef STT_REGISTER
> if (info->hdr->e_machine == EM_SPARC ||
> info->hdr->e_machine == EM_SPARCV9) {
> /* Ignore register directives. */
> if (ELF_ST_TYPE(sym->st_info) == STT_REGISTER)
> break;
> }
> +#endif

This change is wrong.

If you're going to do this, it's much better to define it to the
correct value in this case (which is decimal '13').
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Jul 31 2003 - 22:00:34 EST