home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / sys / amiga / programm / 15418 < prev    next >
Encoding:
Internet Message Format  |  1992-11-05  |  1.5 KB

  1. Path: sparky!uunet!gatech!destroyer!cs.ubc.ca!unixg.ubc.ca!kakwa.ucs.ualberta.ca!acs.ucalgary.ca!cuugnet!castrov!wuth
  2. From: wuth@castrov.cuc.ab.ca (Brett Wuth)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: A68k & hunk names
  5. Distribution: world
  6. Message-ID: <wuth.1zoo@castrov.cuc.ab.ca>
  7. Date: 5 Nov 92 04:27:53 MDT
  8. Organization: Castrovalva is a state of mind
  9. Lines: 28
  10.  
  11. I'm in the process of tracking down a bug in a mixed language program
  12. (DICE C, DICE das, and A68k).  I've found that A68k (version 2.71) 
  13. does not assign names to the hunks that it creates.  Thus the linker
  14. is not able to tell me the name of the module included from a join-type 
  15. library that is causing problems.  Specifically, DICE's dobj produces 
  16. output like this:
  17.  
  18. HUNK_UNIT 
  19.  
  20. HUNK_CODE #00 (               ) Hunk=000003e9 Size=204 bytes
  21.  00.00000000  5374 6172 7420 6f66 2044  SUBQ.W  #1,([74206f66,A4,]2044)
  22.  00.0000000a  6576                      BCS.B   00000082
  23.  00.0000000c  4f70                      
  24.  00.0000000e  656e                      BCS.B   0000007e
  25.  00.00000010  4134                      
  26.  
  27. Note that there is no name after the HUNK_UNIT.  The name produced
  28. by DICE's das is the name of the source file with the suffix stripped
  29. off.
  30.  
  31. Before I go and modify A68k, do you know if there is a newer version
  32. than 2.71 that gives hunks names?  Please reply by e-mail; I'll summarize
  33. if requested.
  34.  
  35. Thanks for your help,
  36. -- 
  37. Brett Wuth  wuth@castrov.cuc.ab.ca BCWuth@uncamult.bitnet wuth@castrov.UUCP
  38. U302, 3510 44St SW, Calgary, Alberta, T3E 3R9, CANADA  Tel: +1 403 242-0848
  39.