mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-17 16:05:56 +08:00
Sat Feb 26 13:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
* ar.c (do_quick_append): Pad with a genuine character 10, rather than whatever '\n' might happen to be.
This commit is contained in:
@ -1,3 +1,25 @@
|
|||||||
|
Sat Feb 26 13:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
|
||||||
|
|
||||||
|
* ar.c (do_quick_append): Pad with a genuine character 10,
|
||||||
|
rather than whatever '\n' might happen to be.
|
||||||
|
|
||||||
|
Tue Feb 22 18:25:52 1994 Ian Lance Taylor (ian@cygnus.com)
|
||||||
|
|
||||||
|
* nlmconv.c (main): Ignore debugging symbols when looking for
|
||||||
|
special symbols by name.
|
||||||
|
|
||||||
|
Sun Feb 20 18:47:42 1994 Ian Lance Taylor (ian@lisa.cygnus.com)
|
||||||
|
|
||||||
|
* nlmconv.c: Include libiberty.h.
|
||||||
|
start-sanitize-powerpc-netware
|
||||||
|
Support for PowerPC NetWare.
|
||||||
|
* nlmconv.c (main): For PowerPC NetWare, automatically define the
|
||||||
|
special symbols __toc_start.
|
||||||
|
(select_output_format): Handle bfd_arch_powerpc.
|
||||||
|
(mangle_relocs): Likewise.
|
||||||
|
(powerpc_mangle_relocs): New function.
|
||||||
|
end-sanitize-powerpc-netware
|
||||||
|
|
||||||
Thu Feb 17 09:28:23 1994 David J. Mackenzie (djm@thepub.cygnus.com)
|
Thu Feb 17 09:28:23 1994 David J. Mackenzie (djm@thepub.cygnus.com)
|
||||||
|
|
||||||
* ar.c, bucomm.c, nlmconv.c, nm.c, objcopy.c, objdump.c,
|
* ar.c, bucomm.c, nlmconv.c, nm.c, objcopy.c, objdump.c,
|
||||||
|
@ -230,11 +230,12 @@ main (argc, argv)
|
|||||||
char *temp;
|
char *temp;
|
||||||
int show_version;
|
int show_version;
|
||||||
|
|
||||||
|
program_name = argv[0];
|
||||||
|
xmalloc_set_program_name (program_name);
|
||||||
|
|
||||||
bfd_init ();
|
bfd_init ();
|
||||||
show_version = 0;
|
show_version = 0;
|
||||||
|
|
||||||
program_name = argv[0];
|
|
||||||
|
|
||||||
temp = strrchr (program_name, '/');
|
temp = strrchr (program_name, '/');
|
||||||
if (temp == (char *) NULL)
|
if (temp == (char *) NULL)
|
||||||
temp = program_name; /* shouldn't happen, but... */
|
temp = program_name; /* shouldn't happen, but... */
|
||||||
@ -449,7 +450,7 @@ open_inarch (archive_filename)
|
|||||||
bfd **last_one;
|
bfd **last_one;
|
||||||
bfd *next_one;
|
bfd *next_one;
|
||||||
struct stat sbuf;
|
struct stat sbuf;
|
||||||
bfd_error = no_error;
|
bfd_set_error (bfd_error_no_error);
|
||||||
|
|
||||||
if (stat (archive_filename, &sbuf) != 0)
|
if (stat (archive_filename, &sbuf) != 0)
|
||||||
{
|
{
|
||||||
@ -496,7 +497,7 @@ open_inarch (archive_filename)
|
|||||||
last_one = &next_one->next;
|
last_one = &next_one->next;
|
||||||
}
|
}
|
||||||
*last_one = (bfd *) NULL;
|
*last_one = (bfd *) NULL;
|
||||||
if (bfd_error != no_more_archived_files)
|
if (bfd_get_error () != bfd_error_no_more_archived_files)
|
||||||
goto bloser;
|
goto bloser;
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
@ -643,7 +644,7 @@ do_quick_append (archive_filename, files_to_append)
|
|||||||
bfd *temp;
|
bfd *temp;
|
||||||
struct stat sbuf;
|
struct stat sbuf;
|
||||||
boolean newfile = false;
|
boolean newfile = false;
|
||||||
bfd_error = no_error;
|
bfd_set_error (bfd_error_no_error);
|
||||||
|
|
||||||
if (stat (archive_filename, &sbuf) != 0)
|
if (stat (archive_filename, &sbuf) != 0)
|
||||||
{
|
{
|
||||||
@ -727,7 +728,7 @@ do_quick_append (archive_filename, files_to_append)
|
|||||||
}
|
}
|
||||||
fclose (ifile);
|
fclose (ifile);
|
||||||
if ((sbuf.st_size % 2) == 1)
|
if ((sbuf.st_size % 2) == 1)
|
||||||
putc ('\n', ofile);
|
putc ('\012', ofile);
|
||||||
}
|
}
|
||||||
fclose (ofile);
|
fclose (ofile);
|
||||||
bfd_close (temp);
|
bfd_close (temp);
|
||||||
|
Reference in New Issue
Block a user