Messages in this thread | ![/](/images/icornerl.gif) | | Date | Mon, 28 Jul 2003 07:17:28 -0700 | From | "David S. Miller" <> | Subject | Re: PATCH: allow 2.6 to build on old old setups |
| |
On 28 Jul 2003 12:30:59 +0100 Alan Cox <alan@lxorguk.ukuu.org.uk> wrote:
> On Llu, 2003-07-28 at 02:52, David S. Miller wrote: > > > 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'). > > Its sparc specific stuff so presumably all sparc stuff had the register? > I can change and resubmit though - no problem
The situation is that, on every platform, one gets the define in /usr/include/elf.h, it's just that older glibc's lack the define. - 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/
| ![\](/images/icornerr.gif) |