This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[RFC] psim.c file is missing a header file libiberty.h
- From: Manoj Iyer <manjo at austin dot ibm dot com>
- To: gdb-patches at sources dot redhat dot com
- Date: Wed, 20 Apr 2005 10:07:32 -0500 (CDT)
- Subject: [RFC] psim.c file is missing a header file libiberty.h
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 +
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++