This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Changes to egcs-970924 for m68k-motorola-sysv


Hi there,

the appended  changes are   necessary  to  build egcs-970924 on    the
m68k-motorola-sysv (aka  delta) system using GNU  as and  GNU ld.  The
changes  to dwarf2out.c  are    necessary,  because  GNU as    on this
particular system refuses the generated comments if in #NOAPP mode.

Wed Oct  1 16:19:39 1997  Manfred Hollstein  (manfred@lts.sel.alcatel.de)

	* config/m68k/mot3300.h (ASM_OUTPUT_ALIGN): Accept any alignment
	instead of aborting.
	* dwarf2out.c (output_call_frame_info): Call app_enable and
	app_disable to let GNU as accept the generated comments.

	* texinfo/info/man.c (SIGCHLD): Define to SIGCLD if <sys/signal.h>
	fails to provide it.

diff --context --recursive --show-c-function -x *.o -x *.info* -x *.html* -x *.elc -x *.dvi -x *.orig -x *~ -x version.el egcs-970924.orig/gcc/config/m68k/mot3300.h egcs-970924/gcc/config/m68k/mot3300.h
*** egcs-970924.orig/gcc/config/m68k/mot3300.h	Mon Aug 11 17:57:30 1997
--- egcs-970924/gcc/config/m68k/mot3300.h	Mon Sep 29 14:48:59 1997
*************** do { long l;					\
*** 433,442 ****
  
  #undef ASM_OUTPUT_ALIGN
  #define ASM_OUTPUT_ALIGN(FILE,LOG)	\
!   if ((LOG) == 1)			\
!     fprintf (FILE, "\t%s\n", ALIGN_ASM_OP);	\
!   else if ((LOG) != 0)			\
!     abort ();
  
  #ifndef USE_GAS
  #define SKIP_ASM_OP	"space"
--- 433,440 ----
  
  #undef ASM_OUTPUT_ALIGN
  #define ASM_OUTPUT_ALIGN(FILE,LOG)	\
!   if ((LOG) >= 1)			\
!     fprintf (FILE, "\t%s\n", ALIGN_ASM_OP);
  
  #ifndef USE_GAS
  #define SKIP_ASM_OP	"space"
diff --context --recursive --show-c-function -x *.o -x *.info* -x *.html* -x *.elc -x *.dvi -x *.orig -x *~ -x version.el egcs-970924.orig/gcc/dwarf2out.c egcs-970924/gcc/dwarf2out.c
*** egcs-970924.orig/gcc/dwarf2out.c	Fri Sep 19 01:33:39 1997
--- egcs-970924/gcc/dwarf2out.c	Mon Sep 29 17:02:51 1997
*************** output_call_frame_info (for_eh)
*** 1417,1422 ****
--- 1417,1426 ----
      return;
  
    fputc ('\n', asm_out_file);
+ 
+   if (flag_verbose_asm)
+     app_enable ();	/* Make assembler more tolerant about generated comments.  */
+ 
    if (for_eh)
      {
  #ifdef EH_FRAME_SECTION
*************** output_call_frame_info (for_eh)
*** 1572,1577 ****
--- 1576,1584 ----
       get a value of 0.  Putting .align 0 after the label fixes it.  */
    ASM_OUTPUT_ALIGN (asm_out_file, 0);
  #endif
+ 
+   if (flag_verbose_asm)
+     app_disable ();
  }
  
  /* Output a marker (i.e. a label) for the beginning of a function, before
diff --context --recursive --show-c-function -x *.o -x *.info* -x *.html* -x *.elc -x *.dvi -x *.orig -x *~ -x version.el egcs-970924.orig/texinfo/info/man.c egcs-970924/texinfo/info/man.c
*** egcs-970924.orig/texinfo/info/man.c	Fri Aug 22 00:58:03 1997
--- egcs-970924/texinfo/info/man.c	Mon Sep 29 11:42:54 1997
***************
*** 35,40 ****
--- 35,44 ----
  
  #include "man.h"
  
+ #if !defined (SIGCHLD) && defined (SIGCLD)
+ #define SIGCHLD	SIGCLD
+ #endif
+ 
  #if !defined (_POSIX_VERSION)
  #define pid_t int
  #endif


Best wishes
--
 Manfred Hollstein                               Alcatel, Dept. US/EC4
 <mailto:manfred@lts.sel.alcatel.de>             Lorenzstrasse 10
                                                 70435 Stuttgart
 Public PGP key on request                       Germany


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]