Short: Tiny cli-command to strip hunks/relocs Author: mission@cs.tu-berlin.de (joerg riemer) Uploader: mission@cs.tu-berlin.de (joerg riemer) Version: 1.3 Type: dev/misc Requires: OS V37+ Replaces: dev/misc/StripHunk.* StripHunk is a tiny cli-command to strip debug hunks like HUNK_DEBUG, HUNK_SYMBOL and or HUNK_NAME may be available in any executable file. StripHunk is also able to change relocation hunks from HUNK_RELOC32 to HUNK_DREL32 and backward. in most cases it will save a bit of your diskspace when a HUNK_RELOC32 could be replaced by the optimized HUNK_DREL32. a special option allows to create code/data_hunks known as code-bss or data-bss sections. but this is mainly useful for lazy assembler programmers like me. it's not important if you don't know for what these sections are. a moderate asm-programmer will and i hope they like this option. you may also strip overlay-files with striphunk, but they must be in a standard-overlay format. currently i know only 2 programs which are generated in that format. these are DPaintIV from Electronic Arts and SetVNC from the ViNCEd-package by Thomas Richter. all others i found simply are dirty hacker tricks which have nothing to do with overlay. again, any former version of DPaint is generated by a self-constructed overlay-style and not compatible. so, don't wonder when StripHunk stops proccessing these files by printing an overlay_error. *** USE AT YOUR OWN RISK *** joerg... ps: a special thanks to Thomas Baust who inspirated me to program this piece. and secondly to Thomas Richter for the long discussion about overlays and their secrets to be or not to be in amiga's life. ============================= Archive contents ============================= Original Packed Ratio Date Time Name -------- ------- ----- --------- -------- ------------- 632 280 55.6% 05-Dec-00 22:53:00 StripHunk.info 3392 2476 27.0% 05-Dec-00 22:37:38 +StripHunk 6806 2673 60.7% 05-Dec-00 22:45:10 +StripHunk.doc 1188 337 71.6% 05-Dec-00 22:53:00 +StripHunk.doc.info 10064 4003 60.2% 05-Dec-00 22:45:52 +StripHunk.dok 1188 339 71.4% 05-Dec-00 22:53:00 +StripHunk.dok.info 1667 904 45.7% 05-Dec-00 22:48:26 +StripHunk.ReadMe 1188 340 71.3% 05-Dec-00 22:53:00 +StripHunk.ReadMe.info 54035 13068 75.8% 06-Dec-00 00:47:18 +StripHunk.s 1220 368 69.8% 06-Dec-00 00:49:00 +StripHunk.s.info -------- ------- ----- --------- -------- 81380 24788 69.5% 06-Dec-100 23:55:04 10 files