[comp.archives] [gnu.gcc.announce] gas-1.37 patches for COFF object generation

loic@AI.MIT.EDU (Loic Dachary) (11/13/90)

Archive-name: gas-coff/01-Nov-90
Original-posting-by: adesign!loic@AI.MIT.EDU (Loic Dachary)
Original-subject: gas-1.37 patches for COFF object generation (5 parts)
Archive-site: dg-rtp.dg.com [128.222.1.2]
Archive-directory: /pub/gnu/gas-coff
Reposted-by: emv@ox.com (Edward Vielmetti)


	Hello gnuers,

  . These patches have been posted to comp.sources.misc. 

  . They are availables (or will soon be thanks to John Hassey) via 
anonymous ftp. Here are the coordinates of the site :
/pub/gnu/gas-coff at dg-rtp.dg.com (128.222.1.2)  login as anonymous

  . They are availables via anonymous uucp, in France. The files are
spl/gas-1.37-coff/part0[12345].Z. Here is a typical Systems file line :
	gna Any ACU 1200 40-35-15-67 "" \r gin--gin nuucp
Prepend 33-1 when calling from outside France. If you want more
info about this archive site, download ~/news. Beware, it is in French !

  . If you don't have access to any of these facilities, I will send
them by mail.

	Enjoy,
		Loic (loic@adesign.uucp or floic@afp.uucp)

-----
P.S. The text describing the patches follows :
-----

    Here are the patches to gas-1.37 for COFF object files generation.
They are made of 5 parts and are ~ 160 kilo bytes long.

    The objects generated by gas-1.37 with COFF patches are 100% compatibles
with standard tools (sdb, ld, dump etc...). Gas-1.37 with COFF patches
understands sdb-style debug directives (.def) and generate appropriate 
information for sdb or gdb.

    All the bugs reported in the previous release have been fixed. The code
has been tested on the following OS : Unisoft 1.3, SunOs 3.5 & 4.0.3, 
Esix rev C, CTIX 3.2, Ix 2.02 and SCO unix. It also has a configuration file
for the dpx2 bull machine.

    I have also found a workaround to the `bug' of gas-1.37 from 
prep.ai.mit.edu. I don't know if it breaks code on other machines
(vax, ns32k, sparc) but without it gas dumps core on a Sun 3/80 running
SunOs 4.0.3 (without COFF patches, of course ;-).

      Have fun,

	   	Loic (loic@adesign.uucp or floic@afp.uucp)

---------
*   How to use the patches ?

    Pipe all the parts to unshar to obtain gas-1.37-coff. Then go
    in the gas-1.37 directory and run patch < gas-1.37-coff.

*   How to make it work ?

    . There is a new file named config.gas. It is a shell script that make the 
    appropriate links for a given configuration.
      If you have a 68k or an i386, there is a good chance that nothing else
    needs to be done.
      However, if your processor is a sparc, ns32k or vax, you will need to 
    patch the machine dependent files. I strongly encourage you to contact me.
    By mail or voice. I will offer all the assistance I'm able to provide.

    . When the links are set up, edit the file Makefile.new according to you 
    system (BSD or USG). Refer to the original Makefile if more information is
    needed.

   . Run make -f Makefile.new gas

   . Move gas to /usr/local/lib/gcc-as, i.e. a place where gcc can find it.

   (Warning : there should be some warnings about incompatible pointer.
              I have these warnings too and it works well).

*  Problems ? 

   . the patch to the file struc-symbol.h may fail on SYSV machines.
   This is because struc-symbol.h is exactly 14 characters long.