From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17074 invoked by alias); 20 Apr 2005 22:34:21 -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 16997 invoked from network); 20 Apr 2005 22:34:16 -0000 Received: from unknown (HELO e33.co.us.ibm.com) (32.97.110.131) by sourceware.org with SMTP; 20 Apr 2005 22:34:16 -0000 Received: from d03relay04.boulder.ibm.com (d03relay04.boulder.ibm.com [9.17.195.106]) by e33.co.us.ibm.com (8.12.10/8.12.9) with ESMTP id j3KMYE4I439946 for ; Wed, 20 Apr 2005 18:34:15 -0400 Received: from d03av02.boulder.ibm.com (d03av02.boulder.ibm.com [9.17.195.168]) by d03relay04.boulder.ibm.com (8.12.10/NCO/VER6.6) with ESMTP id j3KMYEaC249278 for ; Wed, 20 Apr 2005 16:34:14 -0600 Received: from d03av02.boulder.ibm.com (loopback [127.0.0.1]) by d03av02.boulder.ibm.com (8.12.11/8.12.11) with ESMTP id j3KMYDNN014396 for ; Wed, 20 Apr 2005 16:34:13 -0600 Received: from austin.ibm.com (netmail2.austin.ibm.com [9.41.248.176]) by d03av02.boulder.ibm.com (8.12.11/8.12.11) with ESMTP id j3KMYDOf014386; Wed, 20 Apr 2005 16:34:13 -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 j3KMYDeT034496; Wed, 20 Apr 2005 17:34:13 -0500 Date: Wed, 20 Apr 2005 22:34:00 -0000 From: Manoj Iyer X-X-Sender: manjo@lazy To: Mark Kettenis cc: gdb-patches@sources.redhat.com Subject: [COMMIT] psim.c file is missing a header file libiberty.h In-Reply-To: <200504202209.j3KM9JdX002674@elgar.sibelius.xs4all.nl> Message-ID: References: <200504202209.j3KM9JdX002674@elgar.sibelius.xs4all.nl> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-SW-Source: 2005-04/txt/msg00247.txt.bz2 Commited patch to add missing library to psim.c and also fixed change logs to add a new line after the header. Thanks ----- manjo +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + Cogito ergo sum + +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ On Thu, 21 Apr 2005, Mark Kettenis wrote: > Date: Wed, 20 Apr 2005 10:07:32 -0500 (CDT) > From: Manoj Iyer > > 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. > > This is ok, but please make sure there's a blank line between the > header and the actual content of the ChangeLog entry when you check it > in. > > Mark > > ------------------------------------------------------------------------ > > 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 > >