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