Newsgroups: gnu.utils.bug
Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!shadooby!oxtrap!rich
From: rich@oxtrap.sendai.ann-arbor.mi.us (K. Richard Magill)
Subject: gas-1.34 patches for symmetry...
Message-ID: <RICH.89Oct5174047@oxtrap.sendai.ann-arbor.mi.us>
Reply-to: rich@oxtrap.UUCP
Sender: rich@oxtrap.uucp (K. Richard Magill)
Organization: Digital Works, Ltd. - Ann Arbor, MI
Date: Thu, 5 Oct 89 21:40:51 GMT

What follow are patches for gas-1.34 for sequent symmetry (dynix
3.0.12 at least).  Symmetry a.out has a version number which must be
set to one before the sequent ld will accept it.

*** a.out.h-dist	Wed Mar  1 17:49:42 1989
--- a.out.h	Thu Oct  5 16:54:45 1989
***************
*** 20,25 ****
--- 20,31 ----
  /* JF I'm not sure where this file came from.  I put the permit.text message in
     it anyway.  This file came to me as part of the original VAX assembler */
  
+ #ifdef sequent
+ #ifdef i386
+ #include "/usr/include/a.out.h"
+ #endif
+ #else
+ 
  #define OMAGIC 0407
  #define NMAGIC 0410
  #define ZMAGIC 0413
***************
*** 82,84 ****
--- 88,91 ----
  		 r_disp:1, /* OVE: used on ns32k based systems, if you want */
  		 nuthin:2;
  };
+ #endif
*** write.c-dist	Thu Oct  5 16:54:46 1989
--- write.c	Thu Oct  5 17:16:52 1989
***************
*** 565,570 ****
--- 565,575 ----
  #endif
  
    md_number_to_chars((char *)&the_exec.a_magic,omagic,sizeof(the_exec.a_magic));
+ #ifdef sequent
+ #ifdef i386
+   md_number_to_chars((char *)&the_exec.a_version,1,sizeof(the_exec.a_version));
+ #endif
+ #endif
    md_number_to_chars((char *)&the_exec.a_entry,0,sizeof(the_exec.a_entry));
    /* the_exec . a_entry = 0; */
  
