Tue Jan 25 19:40:54 1994 Stan Shebs (shebs@andros.cygnus.com)
* bucomm.c (print_arelt_descr): Change decl of `when' to time_t. * objdump.h: Removed.
This commit is contained in:
parent
ca7bd5579a
commit
0886e098c5
@ -1,3 +1,8 @@
|
|||||||
|
Tue Jan 25 19:40:54 1994 Stan Shebs (shebs@andros.cygnus.com)
|
||||||
|
|
||||||
|
* bucomm.c (print_arelt_descr): Change decl of `when' to time_t.
|
||||||
|
* objdump.h: Removed.
|
||||||
|
|
||||||
Mon Jan 24 13:29:02 1994 David J. Mackenzie (djm@thepub.cygnus.com)
|
Mon Jan 24 13:29:02 1994 David J. Mackenzie (djm@thepub.cygnus.com)
|
||||||
|
|
||||||
* objdump.c (display_file): Remove call to list_matching_formats.
|
* objdump.c (display_file): Remove call to list_matching_formats.
|
||||||
|
@ -22,7 +22,13 @@
|
|||||||
|
|
||||||
#include "bfd.h"
|
#include "bfd.h"
|
||||||
#include "sysdep.h"
|
#include "sysdep.h"
|
||||||
|
#include "bucomm.h"
|
||||||
|
|
||||||
|
#ifdef __STDC__
|
||||||
|
#include <stdarg.h>
|
||||||
|
#else
|
||||||
#include <varargs.h>
|
#include <varargs.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
char *target = NULL; /* default as late as possible */
|
char *target = NULL; /* default as late as possible */
|
||||||
|
|
||||||
@ -37,7 +43,7 @@ char *program_name;
|
|||||||
|
|
||||||
void
|
void
|
||||||
bfd_nonfatal (string)
|
bfd_nonfatal (string)
|
||||||
char *string;
|
CONST char *string;
|
||||||
{
|
{
|
||||||
CONST char *errmsg = bfd_errmsg (bfd_error);
|
CONST char *errmsg = bfd_errmsg (bfd_error);
|
||||||
|
|
||||||
@ -49,7 +55,7 @@ bfd_nonfatal (string)
|
|||||||
|
|
||||||
void
|
void
|
||||||
bfd_fatal (string)
|
bfd_fatal (string)
|
||||||
char *string;
|
CONST char *string;
|
||||||
{
|
{
|
||||||
bfd_nonfatal (string);
|
bfd_nonfatal (string);
|
||||||
|
|
||||||
@ -58,16 +64,15 @@ bfd_fatal (string)
|
|||||||
exit (1);
|
exit (1);
|
||||||
}
|
}
|
||||||
|
|
||||||
#if 0 /* !defined(NO_STDARG) */
|
#ifdef __STDC__
|
||||||
void
|
void
|
||||||
fatal (Format)
|
fatal (const char *format, ...)
|
||||||
const char *Format;
|
|
||||||
{
|
{
|
||||||
va_list args;
|
va_list args;
|
||||||
|
|
||||||
fprintf (stderr, "%s: ", program_name);
|
fprintf (stderr, "%s: ", program_name);
|
||||||
va_start (args, Format);
|
va_start (args, format);
|
||||||
vfprintf (stderr, Format, args);
|
vfprintf (stderr, format, args);
|
||||||
va_end (args);
|
va_end (args);
|
||||||
putc ('\n', stderr);
|
putc ('\n', stderr);
|
||||||
if (NULL != exit_handler)
|
if (NULL != exit_handler)
|
||||||
@ -94,9 +99,6 @@ fatal (va_alist)
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
void mode_string ();
|
|
||||||
|
|
||||||
/* Display the archive header for an element as if it were an ls -l listing:
|
/* Display the archive header for an element as if it were an ls -l listing:
|
||||||
|
|
||||||
Mode User\tGroup\tSize\tDate Name */
|
Mode User\tGroup\tSize\tDate Name */
|
||||||
@ -115,7 +117,7 @@ print_arelt_descr (file, abfd, verbose)
|
|||||||
{
|
{
|
||||||
char modebuf[11];
|
char modebuf[11];
|
||||||
char timebuf[40];
|
char timebuf[40];
|
||||||
long when = buf.st_mtime;
|
time_t when = buf.st_mtime;
|
||||||
CONST char *ctime_result = (CONST char *) ctime (&when);
|
CONST char *ctime_result = (CONST char *) ctime (&when);
|
||||||
|
|
||||||
/* POSIX format: skip weekday and seconds from ctime output. */
|
/* POSIX format: skip weekday and seconds from ctime output. */
|
||||||
|
@ -1,21 +0,0 @@
|
|||||||
/* Object dumper's header file.
|
|
||||||
Copyright 1992 Free Software Foundation, Inc.
|
|
||||||
|
|
||||||
This file is part of GNU Binutils.
|
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or modify
|
|
||||||
it under the terms of the GNU General Public License as published by
|
|
||||||
the Free Software Foundation; either version 2 of the License, or
|
|
||||||
(at your option) any later version.
|
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
GNU General Public License for more details.
|
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
|
||||||
along with this program; if not, write to the Free Software
|
|
||||||
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
|
|
||||||
|
|
||||||
int
|
|
||||||
print_address PARAMS ((bfd_vma, FILE *));
|
|
Loading…
x
Reference in New Issue
Block a user