access permissions in 1003.1
Peter da Silva
peter at ficc.ferranti.com
Thu Jun 20 06:05:26 AEST 1991
Submitted-by: peter at ficc.ferranti.com (Peter da Silva)
In article <1991Jun15.175831.6319 at uunet.uu.net> sef at kithrup.COM (Sean Eric Fagan) writes:
> have all "illegal" symbols be "safe" (__select, for example). All library
> routines are written to use the __ names; then, you have the linker accept
> an option that tells it to try to ignore the leading __ if there are
> unresolved externals.
You could implement this simply by having the library contain duplicate
symbol table entries for __x and x, with the same offset. You could
handle it in a separate pass after compilation before creating the
library. No extra work should be needed in the librarian, compiler, or
linker!
--
Peter da Silva; Ferranti International Controls Corporation; +1 713 274 5180;
Sugar Land, TX 77487-5012; `-_-' "Have you hugged your wolf, today?"
Volume-Number: Volume 24, Number 16
More information about the Comp.std.unix
mailing list