From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4012 invoked by alias); 11 Apr 2006 23:06:19 -0000 Received: (qmail 4003 invoked by uid 22791); 11 Apr 2006 23:06:19 -0000 X-Spam-Check-By: sourceware.org Received: from mail.gmx.de (HELO mail.gmx.net) (213.165.64.20) by sourceware.org (qpsmtpd/0.31) with SMTP; Tue, 11 Apr 2006 23:06:15 +0000 Received: (qmail invoked by alias); 11 Apr 2006 23:06:11 -0000 Received: from host-6.mikroweb.hu (EHLO mail.bridge.intra) [193.17.175.6] by mail.gmx.net (mp029) with SMTP; 12 Apr 2006 01:06:11 +0200 X-Authenticated: #507653 Received: from localhost (localhost [127.0.0.1]) by localhost (Postfix) with ESMTP id 82A29B9DA for ; Wed, 12 Apr 2006 01:06:03 +0200 (CEST) Received: from mail.bridge.intra ([127.0.0.1]) by localhost (lnx.bridge.intra [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 04019-09 for ; Wed, 12 Apr 2006 01:05:49 +0200 (CEST) Received: by mail.bridge.intra (Postfix, from userid 200) id 9CB55B9E6; Wed, 12 Apr 2006 01:05:49 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mail.bridge.intra (Postfix) with ESMTP id 6F841B9DA for ; Wed, 12 Apr 2006 01:05:49 +0200 (CEST) Date: Tue, 11 Apr 2006 23:08:00 -0000 From: "Peter S. Mazinger" To: binutils@sourceware.org Subject: objcopy --weaken In-Reply-To: <1144794193.13900.ezmlm@sourceware.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Y-GMX-Trusted: 0 Mailing-List: contact binutils-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sourceware.org X-SW-Source: 2006-04/txt/msg00160.txt.bz2 Hello! The objcopy --weaken command suggests that it is able to change all (global) symbols to weak. Running it against an object file it does it, but running it against a shared lib does not change anything. Is this correct behaviour (tested 2.15.92.0.2/2.16.1/2.16.91.0.7)? I have also tried to do it w/ objcopy -w -W * lib.so, but that returns the help (this should work as of man page) Creating a list and using --weaken-symbols=list does not solve it either. Thanks, Peter -- Peter S. Mazinger ID: 0xA5F059F2 Key fingerprint = 92A4 31E1 56BC 3D5A 2D08 BB6E C389 975E A5F0 59F2