From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10677 invoked by alias); 17 Jul 2006 17:50:32 -0000 Received: (qmail 10668 invoked by uid 22791); 17 Jul 2006 17:50:32 -0000 X-Spam-Check-By: sourceware.org Received: from wx-out-0102.google.com (HELO wx-out-0102.google.com) (66.249.82.196) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 17 Jul 2006 17:50:30 +0000 Received: by wx-out-0102.google.com with SMTP id t10so709328wxc for ; Mon, 17 Jul 2006 10:50:28 -0700 (PDT) Received: by 10.70.111.13 with SMTP id j13mr3338625wxc; Mon, 17 Jul 2006 10:50:28 -0700 (PDT) Received: by 10.70.66.13 with HTTP; Mon, 17 Jul 2006 10:50:28 -0700 (PDT) Message-ID: <59521b110607171050k61ca9e86sca560a7673d67d55@mail.gmail.com> Date: Mon, 17 Jul 2006 17:50:00 -0000 From: "Noah yan" To: binutils@sourceware.org Subject: force symbol to local MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-IsSubscribed: yes 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-07/txt/msg00209.txt.bz2 Dear All, How can I force a symbol to be local when using "ld -r", a typically use is that I have a lists of global symbol provided to the ld and want all else are local, how can I do this in ld? The reason we use this is that we are creating a bootstrap runtime linker that can link binaries generated from ld. and in some stage, we have to hide some symbol to make the runtime linker boot strap. Thanks very much in advance! Noah