From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27870 invoked by alias); 18 Aug 2004 13:02:11 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 27858 invoked by uid 48); 18 Aug 2004 13:02:10 -0000 Date: Wed, 18 Aug 2004 13:02:00 -0000 Message-ID: <20040818130210.27857.qmail@sourceware.org> From: "nitins2 at kpitcummins dot com" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20040809112414.16932.nitins2@kpitcummins.com> References: <20040809112414.16932.nitins2@kpitcummins.com> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug target/16932] Compilation error for sh-coff-gcc little endian target X-Bugzilla-Reason: CC X-SW-Source: 2004-08/txt/msg01799.txt.bz2 List-Id: ------- Additional Comments From nitins2 at kpitcummins dot com 2004-08-18 13:01 ------- Hi, The libgcc library for little endian target which is used by linker is correct, which has been verified using -Wl,--verbose as suggested. I have extracted "_ashiftrt.o" from correct libgcc library and separately linked with my test file. This builds without any error. The symbols for which the error comes are present in same "_ashiftrt.o", which is verified using sh-coff-nm utility. Can anybody suggest why linker gives undefined references for symbols from "_ashiftrt.o" though symbols are already present in "_ashiftrt.o" ? Thanks in advance. Regards, Nitin Shah, KPIT Cummins InfoSystems Ltd. Pune, India ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Free download of GNU based tool-chains for Renesas' SH and H8 Series. The following site also offers free technical support to its users. Visit http://www.kpitgnutools.com for details. Latest versions of KPIT GNU tools were released on June 1, 2004. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16932