jhf@cbnews.att.com (Jeffri H. Frontz) (02/13/91)
(I'm not sure if this is the best place for this, but since Tandem (supposedly) uses MIPS's compiler and ld I thought it might be worth a shot) I'm trying to port a bunch of code from an environment that has support for inter-process shared dynamic data. In this environment, the link editor has a provision for mapping shared variables to a specific segment. The editor then resolves all references to these shared variables based on their location in the specified segment. At run-time, the resulting process is automagically attached to shared memory that is mapped to the specified segment. I'd like to port this code to the StarServer FT (aka Tandem S2). My initial thought was to have the link editor map all the variables to a dummy section (dsect). The process would also have some startup code that attaches a piece of shared memory at the starting address of the dummy section. Unfortunately, the link editor on the S2 doesn't have the "link editor command language" interface, so there doesn't appear to be a way to use the dsect mechanism. Does anyone know if System V release 4 shared libraries might help me do this (i.e., do SysVr4 shared libraries permit the sharing of dynamic data)? Thanks, Jeff -- Jeff Frontz Work: +1 614 860 2797 AT&T-Bell Labs (CB 1C-356) Cornet: 353-2797 att!jeff.frontz jeff.frontz@att.com