Re: Help- selective symbol exposure after link

Dave Lloyd <Dave@occl-cam.demon.co.uk>
7 Feb 1997 23:39:01 -0500

          From comp.compilers

Related articles
[5 earlier articles]
Re: Help- selective symbol exposure after link whsieh@cs.washington.edu (1997-01-29)
Re: Help- selective symbol exposure after link maslen@best.com (Thomas M. Maslen) (1997-01-29)
Re: Help- selective symbol exposure after link aeb@saltfarm.bt.co.uk (1997-01-29)
Re: Help- selective symbol exposure after link albaugh@agames.com (1997-01-30)
Re: Help- selective symbol exposure after link leichter@smarts.com (Jerry Leichter) (1997-01-30)
Re: Help- selective symbol exposure after link root@jacob.remcomp.fr (1997-02-02)
Re: Help- selective symbol exposure after link Dave@occl-cam.demon.co.uk (Dave Lloyd) (1997-02-07)
Re: Help- selective symbol exposure after link Dave@occl-cam.demon.co.uk (Dave Lloyd) (1997-02-07)
Re: Help- selective symbol exposure after link fjh@murlibobo.cs.mu.OZ.AU (1997-02-08)
Re: Help- selective symbol exposure after link ok@cs.rmit.edu.au (1997-02-11)
Re: Help- selective symbol exposure after link pfox@lehman.com (Paul David Fox) (1997-02-11)
Re: Help- selective symbol exposure after link jan@fsnif.neuroinformatik.ruhr-uni-bochum.de (Jan Vorbrueggen) (1997-02-16)
Re: Help- selective symbol exposure after link Dave@occl-cam.demon.co.uk (Dave Lloyd) (1997-02-20)
[1 later articles]
| List of all articles for this month |
From: Dave Lloyd <Dave@occl-cam.demon.co.uk>
Newsgroups: comp.compilers
Date: 7 Feb 1997 23:39:01 -0500
Organization: Compilers Central
Keywords: MSDOS, linker

> [Do DLLs still have to work with no static data? I recall that as
> being one of their more inconvenient shortcomings. -John]


NT DLLs require subsequent code to do something special to access
imported static data (sort of analogous to the jump table used for code
imports).


OS/2 DLLs are an order better and allow code and data to be exported
without penalty (again with tight visibility control including ordinal
reference as well as symbolic reference).


ELF shared-objects are however rather more primitive (and require to be
compiled PIC, yeuch!) but can do similar service - I believe gcc under
linux can control which symbols are exported when a shared-object is
bound.


Regards,
----------------------------------------------------------------------
Dave Lloyd mailto:Dave@occl-cam.demon.co.uk
Oxford and Cambridge Compilers Ltd http://www.occl-cam.demon.co.uk/
Cambridge, England http://www.chaos.org.uk/~dave/
[This is way off topic, though I'm happy to get the answer to my question,
so I'd better end this thread. -John]


--


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.