From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18938 invoked by alias); 13 Jul 2011 14:32:10 -0000 Received: (qmail 18928 invoked by uid 22791); 13 Jul 2011 14:32:09 -0000 X-SWARE-Spam-Status: No, hits=-1.5 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from mail.rt-rk.ftn.uns.ac.rs (HELO mail.rt-rk.com) (147.91.177.140) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 13 Jul 2011 14:31:54 +0000 Message-ID: <4E1DAC56.5070105@RT-RK.com> Date: Wed, 13 Jul 2011 15:46:00 -0000 From: Aleksandar Simeonov User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.18) Gecko/20110616 Lightning/1.0b2 Thunderbird/3.1.11 ThunderBrowse/3.3.5 MIME-Version: 1.0 To: Ian Lance Taylor CC: binutils , rich@mips.com Subject: Using linker script instead of library in Gold Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Mailing-List: contact binutils-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sourceware.org X-SW-Source: 2011-07/txt/msg00129.txt.bz2 Hi Ian, I have one short question today. Situation is as follow: instead of having lib.so as shared library, on our Linux distribution we have ld linker script: /* GNU ld script Use the shared library, but some functions are only in the static library, so try that secondarily. */ OUTPUT_FORMAT(elf32-tradlittlemips) GROUP ( /lib/libc.so.6 /usr/lib/libc_nonshared.a AS_NEEDED ( /lib/ld.so.1 ) ) Is Gold capable of using it (for ld is enough to put -lc in command line) and if yes, what command option should be used? Thanks in advance for your answer. Aleksandar