Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* mips symbol table stripping
@ 1989-09-21  1:07 Daniel McCoy
  1989-09-22 16:43 ` bug in ds3100 cc? John Sahr
  0 siblings, 1 reply; 4+ messages in thread
From: Daniel McCoy @ 1989-09-21  1:07 UTC (permalink / raw)


Is there a tool around for manipulating the mips object file
symbol table?   (SGI 4D, DEC 3100, etc.)

I have created an object file which contains a large package 
linked together with the relocation preserved. (ld -r)
The idea is that customers will be able to link this package into
their application as a major subsystem. (They also have the
option of running it as a separate program.)
  
That works fine, but all of the global symbols that link the guts of
the package together are still present in the symbol table.

I want to preserve the set of symbols that define the interface 
to the package as well as undefined references to system libraries.   
I would like to either remove or remap any other symbols,
so as to avoid accidental symbol collisions with applications.

Changing the source of the package is not an option.

There is a set of functions for reading mips coff files, 
(sgi: ldfcn(4), dec ldfcn(5)),
but they make no provisions for writing things back out.

strip(1) is pretty much all or nothing.

I'm in the process of rolling my own, but I would appreciate anything
that might be of help.

Thanks,

Dan McCoy    pixar!mccoy    (415) 258-8195   Pixar, San Rafael, Ca


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1989-09-23  8:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1989-09-21  1:07 mips symbol table stripping Daniel McCoy
1989-09-22 16:43 ` bug in ds3100 cc? John Sahr
1989-09-22 20:31   ` Chris Siebenmann
1989-09-23  8:12   ` Roger B.A. Klorese

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox