This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
A patch for emulparams/elf32mcore.sh
- To: nickc at cygnus dot com
- Subject: A patch for emulparams/elf32mcore.sh
- From: "H . J . Lu" <hjl at valinux dot com>
- Date: Thu, 2 Mar 2000 09:45:09 -0800
- Cc: binutils at sourceware dot cygnus dot com
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},