From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10836 invoked by alias); 20 Apr 2005 15:06:58 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 10798 invoked from network); 20 Apr 2005 15:06:53 -0000 Received: from unknown (HELO e32.co.us.ibm.com) (32.97.110.130) by sourceware.org with SMTP; 20 Apr 2005 15:06:53 -0000 Received: from westrelay01.boulder.ibm.com (westrelay01.boulder.ibm.com [9.17.195.10]) by e32.co.us.ibm.com (8.12.10/8.12.9) with ESMTP id j3KF6q5j657564 for ; Wed, 20 Apr 2005 11:06:52 -0400 Received: from d03av03.boulder.ibm.com (d03av03.boulder.ibm.com [9.17.195.169]) by westrelay01.boulder.ibm.com (8.12.10/NCO/VER6.6) with ESMTP id j3KF6qQg272684 for ; Wed, 20 Apr 2005 09:06:52 -0600 Received: from d03av03.boulder.ibm.com (loopback [127.0.0.1]) by d03av03.boulder.ibm.com (8.12.11/8.12.11) with ESMTP id j3KF6qUf019135 for ; Wed, 20 Apr 2005 09:06:52 -0600 Received: from austin.ibm.com (netmail2.austin.ibm.com [9.41.248.176]) by d03av03.boulder.ibm.com (8.12.11/8.12.11) with ESMTP id j3KF6qoD019128 for ; Wed, 20 Apr 2005 09:06:52 -0600 Received: from lazy.austin.ibm.com (lazy.austin.ibm.com [9.53.94.97]) by austin.ibm.com (8.12.10/8.12.10) with ESMTP id j3KF6peT059516 for ; Wed, 20 Apr 2005 10:06:51 -0500 Date: Wed, 20 Apr 2005 15:06:00 -0000 From: Manoj Iyer X-X-Sender: manjo@lazy To: gdb-patches@sources.redhat.com Subject: [RFC] psim.c file is missing a header file libiberty.h Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-SW-Source: 2005-04/txt/msg00239.txt.bz2 The psim.c file is missing a header file libiberty.h, this causes the linker (AIX) to report an unresolved symbol namely ".alloca". cc -g -o psim main.o libsim.a ../../bfd/libbfd.a ../../libiberty/libiberty.a ld: 0711-317 ERROR: Undefined symbol: .alloca ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information. The patch below adds the headerfile to psim.c file. Please review and ok to commit. ------------------------------------------------------------------------ 2005-04-20 Manoj Iyer * psim.c: Added libiberty.h header file. --- src/sim/ppc/psim.c 2003-06-22 11:48:12.000000000 -0500 +++ new/src/sim/ppc/psim.c 2005-04-20 10:02:43.000000000 -0500 @@ -49,6 +49,7 @@ #include "bfd.h" +#include "libiberty.h" /* system structure, actual size of processor array determined at Thanks ----- manjo +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + Cogito ergo sum + +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++