Line 1... |
Line 1... |
/* dllwrap.c -- wrapper for DLLTOOL and GCC to generate PE style DLLs
|
/* dllwrap.c -- wrapper for DLLTOOL and GCC to generate PE style DLLs
|
Copyright 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2007, 2009,
|
Copyright 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2007, 2009,
|
2011 Free Software Foundation, Inc.
|
2011, 2012 Free Software Foundation, Inc.
|
Contributed by Mumit Khan (khan@xraylith.wisc.edu).
|
Contributed by Mumit Khan (khan@xraylith.wisc.edu).
|
|
|
This file is part of GNU Binutils.
|
This file is part of GNU Binutils.
|
|
|
This program is free software; you can redistribute it and/or modify
|
This program is free software; you can redistribute it and/or modify
|
Line 18... |
Line 18... |
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU General Public License
|
along with this program; if not, write to the Free Software
|
along with this program; if not, write to the Free Software
|
Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
|
Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
|
02110-1301, USA. */
|
02110-1301, USA. */
|
|
|
/* AIX requires this to be the first thing in the file. */
|
|
#ifndef __GNUC__
|
|
# ifdef _AIX
|
|
#pragma alloca
|
|
#endif
|
|
#endif
|
|
|
|
#include "sysdep.h"
|
#include "sysdep.h"
|
#include "bfd.h"
|
#include "bfd.h"
|
#include "libiberty.h"
|
#include "libiberty.h"
|
#include "getopt.h"
|
#include "getopt.h"
|
#include "dyn-string.h"
|
#include "dyn-string.h"
|
#include "bucomm.h"
|
#include "bucomm.h"
|
|
|
#include <time.h>
|
#include <time.h>
|
#include <sys/stat.h>
|
|
|
|
#ifdef HAVE_SYS_WAIT_H
|
#ifdef HAVE_SYS_WAIT_H
|
#include <sys/wait.h>
|
#include <sys/wait.h>
|
#else /* ! HAVE_SYS_WAIT_H */
|
#else /* ! HAVE_SYS_WAIT_H */
|
#if ! defined (_WIN32) || defined (__CYGWIN32__)
|
#if ! defined (_WIN32) || defined (__CYGWIN32__)
|