Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Manoj Iyer <manjo@austin.ibm.com>
To: gdb-patches@sources.redhat.com
Subject: [RFC] psim.c file is missing a header file libiberty.h
Date: Wed, 20 Apr 2005 15:06:00 -0000	[thread overview]
Message-ID: <Pine.LNX.4.58.0504201003420.20476@lazy> (raw)


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  <manjo@austin.ibm.com>
        * 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                                                          +
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++


             reply	other threads:[~2005-04-20 15:06 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-20 15:06 Manoj Iyer [this message]
2005-04-20 22:09 ` Mark Kettenis
2005-04-20 22:34   ` [COMMIT] " Manoj Iyer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.LNX.4.58.0504201003420.20476@lazy \
    --to=manjo@austin.ibm.com \
    --cc=gdb-patches@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox