From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13692 invoked by alias); 4 Jun 2002 19:39:33 -0000 Mailing-List: contact libc-hacker-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-hacker-owner@sources.redhat.com Received: (qmail 13653 invoked from network); 4 Jun 2002 19:39:32 -0000 Received: from unknown (HELO perdition.linnaean.org) (66.30.9.234) by sources.redhat.com with SMTP; 4 Jun 2002 19:39:32 -0000 Received: by perdition.linnaean.org (Postfix, from userid 5281) id 4FA181BA15; Tue, 4 Jun 2002 15:39:32 -0400 (EDT) From: Roland McGrath MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Richard Henderson Cc: GNU libc hackers Subject: Re: alpha div/rem and PAL/gentrap constants In-Reply-To: Richard Henderson's message of Tue, 4 June 2002 12:26:35 -0700 <20020604122635.A14573@redhat.com> X-Windows: the cutting edge of obsolescence. Message-Id: <20020604193932.4FA181BA15@perdition.linnaean.org> Date: Tue, 04 Jun 2002 12:39:00 -0000 X-SW-Source: 2002-06/txt/msg00004.txt.bz2 > 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 > > # include > > #else > > # include > > #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.