home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / amiga / programm / 18450 < prev    next >
Encoding:
Text File  |  1993-01-10  |  1.0 KB  |  35 lines

  1. Newsgroups: comp.sys.amiga.programmer
  2. Path: sparky!uunet!mcsun!news.funet.fi!ousrvr.oulu.fi!ousrvr!tmannine
  3. From: tmannine@aix370.oulu.fi (Tero Manninen)
  4. Subject: gnu ld misses 16-bit relocs?
  5. Message-ID: <TMANNINE.93Jan10194923@aix370.oulu.fi>
  6. Lines: 22
  7. Sender: news@ousrvr.oulu.fi
  8. Reply-To: nix@stekt.oulu.fi
  9. Organization: University of Oulu, Finland
  10. Distribution: comp
  11. Date: Sun, 10 Jan 1993 17:49:23 GMT
  12.  
  13. Hello,
  14.  
  15. I have run to a limitation of gnu ld when converting a
  16. amiga library to a.out style ar archive.
  17.  
  18. The problem seems to be, that the ld that is supplied
  19. with gcc 2.3.3 doesn't set some bsr.w instruction jump
  20. offsets correctly even though the a.out objects have the
  21. relocation information.
  22.  
  23. Are the 16-bit pc-relative references supported by ld
  24. at all?  From looking at the hunk2gcc source there is a
  25. small note:
  26.   Currently untested are:
  27.    o  base-relative relocs and references
  28.       I'll first have to teach gnu-ld how to deal with them ;-)
  29.  
  30. And this is a very old source.. dated 91-10-19.
  31.  
  32. I can give you more information and a test case if needed.
  33.  
  34. ++Tero
  35.