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

David S. Miller
2003-07-28T01:40:01Z

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').