[PATCH]: shared libs on 32/64 bit systems.

Mark Kettenis kettenis@wins.uva.nl
Mon Jun 5 18:01:00 GMT 2000


   Date: Mon, 5 Jun 2000 17:31:46 -0700 (PDT)
   From: msnyder@cygnus.com

   Specifically Sparc Solaris.  Jim Blandy, are you online?
   Or do I need to find an alternate maintainer to review it?

[snip]

   + #if defined (__sparcv9)
   + #define _SYSCALL32	/* for Sparc64 cross Sparc32 */
   + #endif

Can this be moved to the appropriate sparc-specific header? The file
is used by other systems besides Sparc too and it would be nice if we
don't ``pollute'' it with too many system specific defines.

Are you sure using a processor-specific define is the right approach?
What'll happen when Sun brings us __sparcv10?  Shouldn't you be using
a #define based on the canonical target/host as detected by autoconf,
or given by the user?

Mark



More information about the Gdb-patches mailing list