From: Peter Schauer Date: Wed, 21 Jul 1993 10:15:21 +0000 (+0000) Subject: * config/mips/xm-makeva.h: New file implements va_list alignment X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1a2a932d4f72714be0e3e2747e0b166a4c0b1a76;p=binutils-gdb.git * config/mips/xm-makeva.h: New file implements va_list alignment restrictions for mips hosts. * config/mips/{xm-irix3.h, xm-mips.h, xm-news-mips.h, xm-riscos.h}: Use it. --- diff --git a/gdb/config/mips/.Sanitize b/gdb/config/mips/.Sanitize index c906265acef..64099cd7dbb 100644 --- a/gdb/config/mips/.Sanitize +++ b/gdb/config/mips/.Sanitize @@ -43,6 +43,7 @@ tm-irix3.h tm-mips.h xm-irix3.h xm-irix4.h +xm-makeva.h xm-mips.h xm-news-mips.h xm-riscos.h diff --git a/gdb/config/mips/xm-irix3.h b/gdb/config/mips/xm-irix3.h index 41f02d981c2..2607cd1e09d 100644 --- a/gdb/config/mips/xm-irix3.h +++ b/gdb/config/mips/xm-irix3.h @@ -39,3 +39,6 @@ extern void *memset(); addr = regno; \ else \ addr = regno + NSIG_HNDLRS; /* Skip over signal handlers */ + +/* Mips hosts need aligned va_list arguments. */ +#include "mips/xm-makeva.h" diff --git a/gdb/config/mips/xm-mips.h b/gdb/config/mips/xm-mips.h index 2c2e5cd707e..bcc12d5e45c 100644 --- a/gdb/config/mips/xm-mips.h +++ b/gdb/config/mips/xm-mips.h @@ -63,3 +63,6 @@ extern void *memset(); /* Kernel is a bit tenacious about sharing text segments, disallowing bpts. */ #define ONE_PROCESS_WRITETEXT + +/* Mips hosts need aligned va_list arguments. */ +#include "mips/xm-makeva.h" diff --git a/gdb/config/mips/xm-news-mips.h b/gdb/config/mips/xm-news-mips.h index 471cc2b13a8..55ade554b0b 100644 --- a/gdb/config/mips/xm-news-mips.h +++ b/gdb/config/mips/xm-news-mips.h @@ -28,3 +28,6 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #define SET_STACK_LIMIT_HUGE #define MEM_FNS_DECLARED + +/* Mips hosts need aligned va_list arguments. */ +#include "mips/xm-makeva.h" diff --git a/gdb/config/mips/xm-riscos.h b/gdb/config/mips/xm-riscos.h index ba3845ed937..029e8de4dd2 100644 --- a/gdb/config/mips/xm-riscos.h +++ b/gdb/config/mips/xm-riscos.h @@ -28,3 +28,6 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ /* setjmp.h requires uid_t. */ #include + +/* Mips hosts need aligned va_list arguments. */ +#include "mips/xm-makeva.h"