A patch for emulparams/elf32mcore.sh
H . J . Lu
hjl@valinux.com
Thu Mar 2 09:45:00 GMT 2000
Hi, Nick,
We should include "getopt.h". Otherwise, struct option may not be
defined.
--
H.J. Lu (hjl@gnu.org)
---
2000-03-02 H.J. Lu <hjl@gnu.org>
* emulparams/elf32mcore.sh: Include "getopt.h".
Index: emulparams/elf32mcore.sh
===================================================================
RCS file: /work/cvs/gnu/binutils/ld/emulparams/elf32mcore.sh,v
retrieving revision 1.1.1.3
diff -u -p -r1.1.1.3 elf32mcore.sh
--- emulparams/elf32mcore.sh 1999/11/04 17:50:02 1.1.1.3
+++ emulparams/elf32mcore.sh 2000/03/02 17:32:29
@@ -37,6 +37,8 @@ PARSE_AND_LIST_ARGS='
#define OPTION_BASE_FILE 300
+#include "getopt.h"
+
static struct option longopts[] =
{
{"base-file", required_argument, NULL, OPTION_BASE_FILE},
More information about the Binutils
mailing list