Mail Archives: djgpp/1997/03/27/14:34:08
Michal Mertl wrote:
>
> I think he is talking about emx2aout.exe (which I downloaded from
No, he spoke about an other tool (written by me) which is still
not full tested.
The current solutions are the following:
1) Use the linker 2.5.2 (which is distributed also with that package)
2) Remove all aout object files from the library and link them
explicit on commandline to your program.
3) Apply the following patch to the binutils 2.7 sources
--------CUT HERE---------
*** coff-i38.c~ Thu Jul 4 16:17:52 1996
--- coff-i38.c Fri Jan 17 16:14:08 1997
***************
*** 334,340 ****
--- 334,342 ----
}
/* We use the special COFF backend linker. */
+ #if 0
#define coff_relocate_section _bfd_coff_generic_relocate_section
+ #endif
static reloc_howto_type *
coff_i386_rtype_to_howto (abfd, sec, rel, h, sym, addendp)
--------CUT HERE-----------
and rebuild the linker. The resulting ld.exe will run slower,
because it uses now the general slow linking routines, but
it can handle now also mixed object formats in a library.
Robert
--
*****************************************************************
* Robert Hoehne, Fakultaet fuer Mathematik, TU-Chemnitz-Zwickau *
* Post: Am Berg 3, D-09573 Dittmannsdorf *
* e-Mail: Robert DOT Hoehne AT Mathematik DOT TU-Chemnitz DOT DE *
* WWW: http://www.tu-chemnitz.de/~rho *
*****************************************************************
- Raw text -