sys_siglist problems

Jeffrey A Law law@hurl.cygnus.com
Tue Sep 2 22:04:00 GMT 1997


I think this patch should fix the remaining sys_siglist problems.  It
will appear in the next snapshot.


        * xm-svr4.h (SYS_SIGLIST_DECLARED): Define.
        * xm-news.h (SYS_SIGLIST_DECLARED): Likewise.
	* xm-sysv4.h (SYS_SIGLIST_DECLARED): Likewise.Index: gcc.texi


===================================================================
RCS file: /cvs/cvsfiles/egcs/gcc/gcc.texi,v
retrieving revision 1.2
diff -c -3 -p -r1.2 gcc.texi
*** gcc.texi	1997/09/01 14:57:18	1.2
--- gcc.texi	1997/09/03 04:33:45
*************** as @code{_sys_siglist}.  On these system
*** 3752,3757 ****
--- 3752,3760 ----
  @code{sys_siglist} as a macro which expands into the name actually
  provided.
  
+ If you define @code{sys_siglist}, you should also define
+ @code{SYS_SIGLIST_DECLARED}.
+ 
  @findex NO_STAB_H
  @item NO_STAB_H
  Define this if your system does not have the include file
Index: config/xm-svr4.h
===================================================================
RCS file: /cvs/cvsfiles/egcs/gcc/config/xm-svr4.h,v
retrieving revision 1.1.1.1
diff -c -3 -p -r1.1.1.1 xm-svr4.h
*** xm-svr4.h	1997/08/11 15:57:15	1.1.1.1
--- xm-svr4.h	1997/09/03 04:33:46
*************** Boston, MA 02111-1307, USA.  */
*** 33,35 ****
--- 33,37 ----
  /* SVR4 provides no sys_siglist,
     but does offer the same data under another name.  */
  #define sys_siglist _sys_siglist
+ #undef SYS_SIGLIST_DECLARED
+ #define SYS_SIGLIST_DECLARED
Index: config/mips/xm-news.h
===================================================================
RCS file: /cvs/cvsfiles/egcs/gcc/config/mips/xm-news.h,v
retrieving revision 1.1.1.1
diff -c -3 -p -r1.1.1.1 xm-news.h
*** xm-news.h	1997/08/11 15:57:35	1.1.1.1
--- xm-news.h	1997/09/03 04:33:50
***************
*** 4,6 ****
--- 4,8 ----
  
  /* Sony has a funny name for this symbol.  */
  #define sys_siglist _sys_siglist
+ #undef SYS_SIGLIST_DECLARED
+ #define SYS_SIGLIST_DECLARED
Index: config/mips/xm-sysv4.h
===================================================================
RCS file: /cvs/cvsfiles/egcs/gcc/config/mips/xm-sysv4.h,v
retrieving revision 1.2
diff -c -3 -p -r1.2 xm-sysv4.h
*** xm-sysv4.h	1997/09/01 14:57:27	1.2
--- xm-sysv4.h	1997/09/03 04:33:50
***************
*** 3,5 ****
--- 3,7 ----
  /* SVR4 provides no sys_siglist,
     but does offer the same data under another name.  */
  #define sys_siglist _sys_siglist
+ #undef SYS_SIGLIST_DECLARED
+ #define SYS_SIGLIST_DECLARED





More information about the Gcc mailing list