Re: cc -O broken in -current for Alpha KLDs

1999-08-21 Thread Doug Rabson
On Fri, 20 Aug 1999, Andrew Gallatin wrote: Doug Rabson writes: On Thu, 19 Aug 1999, Andrew Gallatin wrote: I do most of my development on alphas I just turned some local code into a loadable kernel module. It works fine when compiled into the kernel statically, but

Re: cc -O broken in -current for Alpha KLDs

1999-08-20 Thread Peter Wemm
Doug Rabson wrote: On Thu, 19 Aug 1999, Andrew Gallatin wrote: I do most of my development on alphas I just turned some local code into a loadable kernel module. It works fine when compiled into the kernel statically, but fails miserably when loaded into an alpha kernel as a

Re: cc -O broken in -current for Alpha KLDs

1999-08-20 Thread Andrew Gallatin
Doug Rabson writes: On Thu, 19 Aug 1999, Andrew Gallatin wrote: I do most of my development on alphas I just turned some local code into a loadable kernel module. It works fine when compiled into the kernel statically, but fails miserably when loaded into an alpha kernel

Re: cc -O broken in -current for Alpha KLDs

1999-08-20 Thread John Polstra
In article [EMAIL PROTECTED], Andrew Gallatin [EMAIL PROTECTED] wrote: I've just committed a patch to alpha/alpha/elf_machdep.c which takes into account the addends for objects of type R_ALPHA_GLOB_DAT. This fixes my problem. Should it be MFC'ed? Nice work! It looks right to me, not to

Re: cc -O broken in -current for Alpha KLDs

1999-08-19 Thread Doug Rabson
On Thu, 19 Aug 1999, Andrew Gallatin wrote: I do most of my development on alphas I just turned some local code into a loadable kernel module. It works fine when compiled into the kernel statically, but fails miserably when loaded into an alpha kernel as a module. This alpha is running