public inbox for libc-hacker@sourceware.org
 help / color / mirror / Atom feed
* Do we need Linux/alpha and Linux/sparc versions of <bits/siginfo.h>?
@ 2000-01-23 23:15 Andreas Jaeger
  2000-01-23 23:45 ` Jakub Jelinek
  0 siblings, 1 reply; 4+ messages in thread
From: Andreas Jaeger @ 2000-01-23 23:15 UTC (permalink / raw)
  To: GNU libc hacker

Looking through the various asm-*/siginfo.h files in Linux 2.3.41pre2,
I've encountered only two platforms with problems: Alpha and Sparc.
Could the maintainers of these platforms please check the following
and take appropriate action?

Alpha defines:
#define SI_PAD_SIZE     ((SI_MAX_SIZE/sizeof(int)) - 4)
#define SIGEV_PAD_SIZE  ((SIGEV_MAX_SIZE/sizeof(int)) - 4)

but all other platforms have a 3 instead of a 4 for these two defines:
#define SI_PAD_SIZE     ((SI_MAX_SIZE/sizeof(int)) - 3)
#define SIGEV_PAD_SIZE  ((SIGEV_MAX_SIZE/sizeof(int)) - 3)

Sparc and Sparc64 additionally define the member _trapno for _sigfault
- and SIGEMT is also only used by Sparc*:
                /* SIGILL, SIGFPE, SIGSEGV, SIGBUS, SIGEMT */
                struct {
                        void *_addr;    /* faulting insn/memory ref. */
                        int  _trapno;   /* TRAP # which caused the signal */
                } _sigfault;


Do we need Linux/alpha and Linux/sparc versions of <bits/siginfo.h>?

Andreas
-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.rhein-neckar.de

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2000-01-24  0:08 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-01-23 23:15 Do we need Linux/alpha and Linux/sparc versions of <bits/siginfo.h>? Andreas Jaeger
2000-01-23 23:45 ` Jakub Jelinek
2000-01-23 23:56   ` Andreas Jaeger
2000-01-24  0:08     ` Jakub Jelinek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).