* addr2line.c: Fix formatting.
* ar.c: Likewise. * arsup.c: Likewise. * arsup.h: Likewise. * binemul.c: Likewise. * binemul.h: Likewise. * bucomm.c: Likewise. * coffdump.c: Likewise. * coffgrok.c: Likewise. * coffgrok.h: Likewise.
This commit is contained in:
parent
d13351445b
commit
f462a9ea21
11 changed files with 82 additions and 69 deletions
|
@ -1,3 +1,16 @@
|
|||
2002-05-19 Kazu Hirata <kazu@cs.umass.edu>
|
||||
|
||||
* addr2line.c: Fix formatting.
|
||||
* ar.c: Likewise.
|
||||
* arsup.c: Likewise.
|
||||
* arsup.h: Likewise.
|
||||
* binemul.c: Likewise.
|
||||
* binemul.h: Likewise.
|
||||
* bucomm.c: Likewise.
|
||||
* coffdump.c: Likewise.
|
||||
* coffgrok.c: Likewise.
|
||||
* coffgrok.h: Likewise.
|
||||
|
||||
2002-05-16 Marek Michalkiewicz <marekm@amelek.gda.pl>
|
||||
|
||||
* MAINTAINERS: Add myself as the second AVR port maintainer.
|
||||
|
|
|
@ -321,7 +321,7 @@ main (argc, argv)
|
|||
optarg);
|
||||
|
||||
cplus_demangle_set_style (style);
|
||||
}
|
||||
}
|
||||
break;
|
||||
case 'e':
|
||||
filename = optarg;
|
||||
|
|
|
@ -283,7 +283,7 @@ usage (help)
|
|||
}
|
||||
else
|
||||
{
|
||||
/* xgettext:c-format */
|
||||
/* xgettext:c-format */
|
||||
fprintf (s, _("Usage: %s [options] archive\n"), program_name);
|
||||
fprintf (s, _(" Generate an index to speed access to archives\n"));
|
||||
fprintf (s, _(" The options are:\n\
|
||||
|
@ -405,14 +405,14 @@ main (argc, argv)
|
|||
|
||||
temp = strrchr (program_name, '/');
|
||||
#ifdef HAVE_DOS_BASED_FILE_SYSTEM
|
||||
{
|
||||
/* We could have foo/bar\\baz, or foo\\bar, or d:bar. */
|
||||
char *bslash = strrchr (program_name, '\\');
|
||||
if (temp == NULL || (bslash != NULL && bslash > temp))
|
||||
temp = bslash;
|
||||
if (temp == NULL && program_name[0] != '\0' && program_name[1] == ':')
|
||||
temp = program_name + 1;
|
||||
}
|
||||
{
|
||||
/* We could have foo/bar\\baz, or foo\\bar, or d:bar. */
|
||||
char *bslash = strrchr (program_name, '\\');
|
||||
if (temp == NULL || (bslash != NULL && bslash > temp))
|
||||
temp = bslash;
|
||||
if (temp == NULL && program_name[0] != '\0' && program_name[1] == ':')
|
||||
temp = program_name + 1;
|
||||
}
|
||||
#endif
|
||||
if (temp == NULL)
|
||||
temp = program_name;
|
||||
|
@ -628,10 +628,10 @@ main (argc, argv)
|
|||
|
||||
if (counted_name_mode)
|
||||
{
|
||||
if (operation != extract && operation != delete)
|
||||
if (operation != extract && operation != delete)
|
||||
fatal (_("`N' is only meaningful with the `x' and `d' options."));
|
||||
counted_name_counter = atoi (argv[arg_index++]);
|
||||
if (counted_name_counter <= 0)
|
||||
if (counted_name_counter <= 0)
|
||||
fatal (_("Value for `N' must be positive."));
|
||||
}
|
||||
|
||||
|
@ -667,7 +667,7 @@ main (argc, argv)
|
|||
if (operation == quick_append)
|
||||
{
|
||||
/* Note that quick appending to a non-existent archive creates it,
|
||||
even if there are no files to append. */
|
||||
even if there are no files to append. */
|
||||
do_quick_append (inarch_filename, files);
|
||||
xexit (0);
|
||||
}
|
||||
|
@ -1203,7 +1203,7 @@ delete_members (arch, files_to_delete)
|
|||
while (*current_ptr_ptr)
|
||||
{
|
||||
if (FILENAME_CMP (normalize (*files_to_delete, arch),
|
||||
(*current_ptr_ptr)->filename) == 0)
|
||||
(*current_ptr_ptr)->filename) == 0)
|
||||
{
|
||||
++match_count;
|
||||
if (counted_name_mode
|
||||
|
|
|
@ -145,7 +145,7 @@ do_sections_p1 (head)
|
|||
if (relsize < 0)
|
||||
bfd_fatal (bfd_get_filename (abfd));
|
||||
if (relsize == 0)
|
||||
continue;
|
||||
continue;
|
||||
relpp = (arelent **) xmalloc (relsize);
|
||||
relcount = bfd_canonicalize_reloc (abfd, section, relpp, syms);
|
||||
if (relcount < 0)
|
||||
|
@ -277,7 +277,7 @@ do_lines (i, name)
|
|||
/* These lines are for this function - so count them and stick them on */
|
||||
int c = 0;
|
||||
/* Find the linenumber of the top of the function, since coff linenumbers
|
||||
are relative to the start of the function. */
|
||||
are relative to the start of the function. */
|
||||
int start_line = rawsyms[i + 3].u.auxent.x_sym.x_misc.x_lnsz.x_lnno;
|
||||
|
||||
l++;
|
||||
|
@ -605,7 +605,7 @@ doit ()
|
|||
int i;
|
||||
int infile = 0;
|
||||
struct coff_ofile *head =
|
||||
(struct coff_ofile *) xmalloc (sizeof (struct coff_ofile));
|
||||
(struct coff_ofile *) xmalloc (sizeof (struct coff_ofile));
|
||||
ofile = head;
|
||||
head->source_head = 0;
|
||||
head->source_tail = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue