mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-02-17 13:10:12 +08:00
* coffdump.c (dump_coff_scope): Use double typecast for pointer P
to allow compilation for all targets.
This commit is contained in:
parent
5b806d2793
commit
1a9911c3b8
@ -1,3 +1,8 @@
|
||||
2011-03-25 Pierre Muller <muller@ics.u-strasbg.fr>
|
||||
|
||||
* coffdump.c (dump_coff_scope): Use double typecast for pointer P
|
||||
to allow compilation for all targets.
|
||||
|
||||
2011-03-25 Pierre Muller <muller@ics.u-strasbg.fr>
|
||||
|
||||
* dwarf.c (process_debug_info): Use offset_size to determine
|
||||
|
@ -365,7 +365,7 @@ dump_coff_scope (struct coff_scope *p)
|
||||
if (p)
|
||||
{
|
||||
tab (1);
|
||||
printf ("List of blocks %lx ",(unsigned long) p);
|
||||
printf ("List of blocks %" BFD_VMA_FMT "x ",(bfd_vma) (uintptr_t) p);
|
||||
|
||||
if (p->sec)
|
||||
printf( " %s %x..%x", p->sec->name,p->offset, p->offset + p->size -1);
|
||||
|
Loading…
Reference in New Issue
Block a user