From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28945 invoked by alias); 9 Jul 2010 11:42:18 -0000 Received: (qmail 28937 invoked by uid 22791); 9 Jul 2010 11:42:18 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM X-Spam-Check-By: sourceware.org Received: from mail-fx0-f41.google.com (HELO mail-fx0-f41.google.com) (209.85.161.41) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 09 Jul 2010 11:42:12 +0000 Received: by fxm20 with SMTP id 20so1120558fxm.0 for ; Fri, 09 Jul 2010 04:42:10 -0700 (PDT) MIME-Version: 1.0 Received: by 10.103.251.4 with SMTP id d4mr2014917mus.92.1278675729926; Fri, 09 Jul 2010 04:42:09 -0700 (PDT) Received: by 10.103.217.10 with HTTP; Fri, 9 Jul 2010 04:42:09 -0700 (PDT) In-Reply-To: References: <1278528582.10151.23.camel@localhost.localdomain> Date: Fri, 09 Jul 2010 11:42:00 -0000 Message-ID: Subject: Re: impossible to resolve symbols in same binary loaded twice with dlmopen From: Mathieu Lacage To: Tom Tromey Cc: gdb-patches@sourceware.org Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2010-07/txt/msg00178.txt.bz2 On Fri, Jul 9, 2010 at 1:36 PM, Mathieu Lacage wrote: > It's sufficient for me because I use a dynamic loader that has a > different implementation of dlmopen: It occurred to me that I should have included a link to the relevant code so that the above does not read as a reference to some sekret proprietary piece of code: it's open source crap :) http://code.nsnam.org/mathieu/elf-loader/ It's not fast or super portable but it runs on x86_64/ia32, various linux distribution versions, and is binary compatible with the libc loader. Mathieu -- Mathieu Lacage