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,
|
Free Software Foundation, Inc.
|
2011 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 412... |
Line 412... |
|
|
retcode = 0;
|
retcode = 0;
|
pid = pwait (pid, &wait_status, 0);
|
pid = pwait (pid, &wait_status, 0);
|
if (pid == -1)
|
if (pid == -1)
|
{
|
{
|
warn ("wait: %s", strerror (errno));
|
warn (_("pwait returns: %s"), strerror (errno));
|
retcode = 1;
|
retcode = 1;
|
}
|
}
|
else if (WIFSIGNALED (wait_status))
|
else if (WIFSIGNALED (wait_status))
|
{
|
{
|
warn (_("subprocess got fatal signal %d"), WTERMSIG (wait_status));
|
warn (_("subprocess got fatal signal %d"), WTERMSIG (wait_status));
|