Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!usc!apple!snorkelwacker!mit-eddie!apollo!vasta From: vasta@apollo.HP.COM (John Vasta) Newsgroups: comp.sys.apollo Subject: Re: Symbol tables Message-ID: <48d2860f.20b6d@apollo.HP.COM> Date: 23 Feb 90 21:36:00 GMT References: <9002201912.AA07570@umix.cc.umich.edu> Sender: root@apollo.HP.COM Reply-To: vasta@apollo.HP.COM (John Vasta) Organization: Hewlett-Packard Company, Apollo Division; Chelmsford, MA Lines: 20 In article <9002201912.AA07570@umix.cc.umich.edu> derstad@CIM-VAX.HONEYWELL.COM ("DAVE ERSTAD") writes: > >I have an object code which is about 4.8 MB long, about 4.2MB of which is >the symbol table. Most of the code was compiled under BSD, but some >is compiled under Aegis. The final object is produced with the bind >command. > >Supposedly, the BSD command "strip" should be able to remove the symbol >table entries from this object. When I try, however, I get >a "strip: filename: relocation entries; cannot strip" Bind leaves relocation info in the object; ld normally removes it. You could use the sys5.3 version of "strip"; it has a -r option to leave relocation info there but remove the debugging info. Look at the sys5.3 version of the strip man page. John Vasta Hewlett-Packard Apollo Systems Division vasta@apollo.hp.com M.S. CHA-01-LT (508) 256-6600 x6362 300 Apollo Drive, Chelmsford, MA 01824 UUCP: {decwrl!decvax, mit-eddie, attunix}!apollo!vasta