From: Mark Kettenis <mark.kettenis@xs4all.nl>
To: manjo@austin.ibm.com
Cc: gdb-patches@sources.redhat.com
Subject: Re: [RFC] psim.c file is missing a header file libiberty.h
Date: Wed, 20 Apr 2005 22:09:00 -0000 [thread overview]
Message-ID: <200504202209.j3KM9JdX002674@elgar.sibelius.xs4all.nl> (raw)
In-Reply-To: <Pine.LNX.4.58.0504201003420.20476@lazy> (message from Manoj Iyer on Wed, 20 Apr 2005 10:07:32 -0500 (CDT))
Date: Wed, 20 Apr 2005 10:07:32 -0500 (CDT)
From: Manoj Iyer <manjo@austin.ibm.com>
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 <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
next prev parent reply other threads:[~2005-04-20 22:09 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-20 15:06 Manoj Iyer
2005-04-20 22:09 ` Mark Kettenis [this message]
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=200504202209.j3KM9JdX002674@elgar.sibelius.xs4all.nl \
--to=mark.kettenis@xs4all.nl \
--cc=gdb-patches@sources.redhat.com \
--cc=manjo@austin.ibm.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