[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: HPUX shl_load fix for libtool.
From: |
Gary V . Vaughan |
Subject: |
Re: HPUX shl_load fix for libtool. |
Date: |
Thu, 5 Apr 2001 23:17:27 +0100 |
On Wednesday 04 April 2001 1:30 pm, Alexandre Oliva wrote:
> On Apr 3, 2001, "Gary V. Vaughan" <address@hidden> wrote:
> > I'd like to get this in before 1.4 is released...
> > Any thoughts?
>
> The patch looks reasonable to me. I thought it had already gone in.
This is what I have commited.
However, from Ahmed's description of the semantics of shl_findsym, it seems
to me that before opening any modules on HPUX we ought to be caching the self
module address something like this:
static shl_t self = (shl_t) 0; lt_ptr address;
if (!self) shl_findsym (&self, "main", TYPE_UNDEFINED, &address);
Otherwise, calling lt_dlopen(NULL) after loading other modules will return a
handle with access to the symbols in main and the modules loaded prior to the
self module =(O|
On the other hand, I don't recall any of this wackiness from the days when I
developed on HPUX-11, so I was hoping someone would give a vote of confidence
(or not) before I committed... any takers?
Comments?
Cheers,
Gary.
--
___ _ ___ __ _ mailto: address@hidden
/ __|__ _ _ ___ _| | / / | / /_ _ _ _ __ _| |_ __ _ ___ address@hidden
| (_ / _` | '_|// / |/ /| |/ / _` | || / _` | ' \/ _` | _ \
\___\__,_|_|\_, /|___(_)___/\__,_|\_,_\__, |_||_\__,_|//_/
home page: /___/ /___/ gpg public key:
http://www.oranda.demon.co.uk http://www.oranda.demon.co.uk/key.asc
2001-04-05-am-shl-findsym.patch
Description: Text Data