add missing m68k user.h/procfs.h regset types
authorRich Felker <dalias@aerifal.cx>
Mon, 28 Oct 2019 19:56:50 +0000 (15:56 -0400)
committerRich Felker <dalias@aerifal.cx>
Mon, 28 Oct 2019 19:56:50 +0000 (15:56 -0400)
arch/m68k/bits/user.h

index 9a4ca12809c7f77cdf8da2bcead1485982b37f76..6a4439196bbc5e36ab4de35ac9f59c5ff578d089 100644 (file)
@@ -27,6 +27,11 @@ struct user {
        char u_comm[32];
 };
 
+#define ELF_NGREG 20
+typedef unsigned long elf_greg_t;
+typedef elf_greg_t elf_gregset_t[ELF_NGREG];
+typedef struct user_m68kfp_struct elf_fpregset_t;
+
 #define NBPG                   4096
 #define UPAGES                 1
 #define HOST_TEXT_START_ADDR   (u.start_code)