This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: alpha div/rem and PAL/gentrap constants


> On Tue, Jun 04, 2002 at 02:56:13PM -0400, Roland McGrath wrote:
> > The files sysdeps/alpha/ldiv.S, sysdeps/alpha/div.S, sysdeps/alpha/divrem.h
> > use this and expect it to define the macros PAL_gentrap and GEN_INTDIV:
> > 
> > 	#ifdef __linux__
> > 	# include <asm/gentrap.h>
> > 	# include <asm/pal.h>
> > 	#else
> > 	# include <machine/pal.h>
> > 	#endif
> 
> Heh.  This won't compile on OSF/1 either -- machine/pal.h contains
> only the PAL_code constants.  There's a machine/gentrap.h that contains
> (modulo comments) exactly what's in the linux asm/gentrap.h.

That sounds reasonable.

> > Any opinions on which changes or new headers would be best to get libc to
> > compile for non-Linux on Alpha?
> 
> I think it'd be nicer to add machine/gentrap.h for Hurd...

I can do that.  


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]