* elf.c (elfcore_grok_win32pstatus): Warning fixes.
This commit is contained in:
parent
a01ad9de04
commit
1f17067849
2 changed files with 7 additions and 2 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
2005-03-06 Alan Modra <amodra@bigpond.net.au>
|
||||||
|
|
||||||
|
* elf.c (elfcore_grok_win32pstatus): Warning fixes.
|
||||||
|
|
||||||
2005-03-05 Alan Modra <amodra@bigpond.net.au>
|
2005-03-05 Alan Modra <amodra@bigpond.net.au>
|
||||||
|
|
||||||
* po/bfd.pot: Regenerate.
|
* po/bfd.pot: Regenerate.
|
||||||
|
|
|
@ -7080,7 +7080,7 @@ elfcore_grok_win32pstatus (bfd *abfd, Elf_Internal_Note *note)
|
||||||
|
|
||||||
case NOTE_INFO_THREAD:
|
case NOTE_INFO_THREAD:
|
||||||
/* Make a ".reg/999" section. */
|
/* Make a ".reg/999" section. */
|
||||||
sprintf (buf, ".reg/%d", pstatus.data.thread_info.tid);
|
sprintf (buf, ".reg/%ld", (long) pstatus.data.thread_info.tid);
|
||||||
|
|
||||||
len = strlen (buf) + 1;
|
len = strlen (buf) + 1;
|
||||||
name = bfd_alloc (abfd, len);
|
name = bfd_alloc (abfd, len);
|
||||||
|
@ -7107,7 +7107,8 @@ elfcore_grok_win32pstatus (bfd *abfd, Elf_Internal_Note *note)
|
||||||
|
|
||||||
case NOTE_INFO_MODULE:
|
case NOTE_INFO_MODULE:
|
||||||
/* Make a ".module/xxxxxxxx" section. */
|
/* Make a ".module/xxxxxxxx" section. */
|
||||||
sprintf (buf, ".module/%08x", pstatus.data.module_info.base_address);
|
sprintf (buf, ".module/%08lx",
|
||||||
|
(long) pstatus.data.module_info.base_address);
|
||||||
|
|
||||||
len = strlen (buf) + 1;
|
len = strlen (buf) + 1;
|
||||||
name = bfd_alloc (abfd, len);
|
name = bfd_alloc (abfd, len);
|
||||||
|
|
Loading…
Reference in a new issue