From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25439 invoked by alias); 13 Dec 2013 01:13:02 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 25429 invoked by uid 89); 13 Dec 2013 01:13:01 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=1.0 required=5.0 tests=AWL,BAYES_00,BODY_8BITS,FREEMAIL_FROM,GARBLED_BODY,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.3.2 X-HELO: mail-wg0-f49.google.com Received: from mail-wg0-f49.google.com (HELO mail-wg0-f49.google.com) (74.125.82.49) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Fri, 13 Dec 2013 01:13:00 +0000 Received: by mail-wg0-f49.google.com with SMTP id x12so1269258wgg.16 for ; Thu, 12 Dec 2013 17:12:57 -0800 (PST) X-Received: by 10.194.95.198 with SMTP id dm6mr8868339wjb.57.1386897177713; Thu, 12 Dec 2013 17:12:57 -0800 (PST) Received: from [192.168.1.27] (155.Red-81-38-14.dynamicIP.rima-tde.net. [81.38.14.155]) by mx.google.com with ESMTPSA id xm7sm2572937wib.0.2013.12.12.17.12.56 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 12 Dec 2013 17:12:57 -0800 (PST) Message-ID: <52AA5F17.3000206@gmail.com> Date: Fri, 13 Dec 2013 01:13:00 -0000 From: =?UTF-8?B?w4FuZ2VsIEdvbnrDoWxleg==?= User-Agent: Thunderbird MIME-Version: 1.0 To: net.study.sea@gmail.com CC: Sam Varshavchik , gcc-help Subject: Re: reload .so without restarting process References: <20131202062442.GA29869@opentech.at> <719AA66E-6F70-4BD9-8C5A-EE2DC48C39D8@gmail.com> In-Reply-To: <719AA66E-6F70-4BD9-8C5A-EE2DC48C39D8@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-IsSubscribed: yes X-SW-Source: 2013-12/txt/msg00096.txt.bz2 On 05/12/13 15:01, net.study.sea@gmail.com wrote: > So what is the difference between linking a .so into a library and into a executable? > > 发自我的 iPhone When you link into an executable, it ensures all the symbols are provided. But when you make a library, it doesn't (the missing symbols might be provided by the executable, although it's not common). I suspect you're doing something wrong with your "solution", I'm afraid.