gas/
* stabs.c (generate_asm_file): Avoid warning about use of uninitialized variable. binutils/ * objcopy.c (copy_section): Avoid warnings.
This commit is contained in:
parent
2ede629fa8
commit
2f01ffbf77
4 changed files with 12 additions and 3 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
2004-02-19 Jakub Jelinek <jakub@redhat.com>
|
||||||
|
|
||||||
|
* objcopy.c (copy_section): Avoid warnings.
|
||||||
|
|
||||||
2004-02-14 Andrew Cagney <cagney@redhat.com>
|
2004-02-14 Andrew Cagney <cagney@redhat.com>
|
||||||
|
|
||||||
* ar.c (remove_output): Use bfd_cache_close.
|
* ar.c (remove_output): Use bfd_cache_close.
|
||||||
|
|
|
@ -2055,9 +2055,9 @@ copy_section (bfd *ibfd, sec_ptr isection, void *obfdarg)
|
||||||
if (copy_byte >= 0)
|
if (copy_byte >= 0)
|
||||||
{
|
{
|
||||||
/* Keep only every `copy_byte'th byte in MEMHUNK. */
|
/* Keep only every `copy_byte'th byte in MEMHUNK. */
|
||||||
char *from = memhunk + copy_byte;
|
char *from = (char *) memhunk + copy_byte;
|
||||||
char *to = memhunk;
|
char *to = memhunk;
|
||||||
char *end = memhunk + size;
|
char *end = (char *) memhunk + size;
|
||||||
|
|
||||||
for (; from < end; from += interleave)
|
for (; from < end; from += interleave)
|
||||||
*to++ = *from;
|
*to++ = *from;
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
2004-02-19 Jakub Jelinek <jakub@redhat.com>
|
||||||
|
|
||||||
|
* stabs.c (generate_asm_file): Avoid warning about use of
|
||||||
|
uninitialized variable.
|
||||||
|
|
||||||
2004-02-18 David Mosberger <davidm@hpl.hp.com>
|
2004-02-18 David Mosberger <davidm@hpl.hp.com>
|
||||||
|
|
||||||
* config/tc-ia64.c (ia64_flush_insns): In addition to prologue,
|
* config/tc-ia64.c (ia64_flush_insns): In addition to prologue,
|
||||||
|
|
|
@ -520,7 +520,7 @@ generate_asm_file (int type, char *file)
|
||||||
char *buf;
|
char *buf;
|
||||||
char *tmp = file;
|
char *tmp = file;
|
||||||
char *endp = file + strlen (file);
|
char *endp = file + strlen (file);
|
||||||
char *bufp = buf;
|
char *bufp;
|
||||||
|
|
||||||
if (last_file != NULL
|
if (last_file != NULL
|
||||||
&& strcmp (last_file, file) == 0)
|
&& strcmp (last_file, file) == 0)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue