diff options
Diffstat (limited to 'ld/emultempl')
-rw-r--r-- | ld/emultempl/pe.em | 2 | ||||
-rw-r--r-- | ld/emultempl/pep.em | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ld/emultempl/pe.em b/ld/emultempl/pe.em index 1ef225a..08cfcfc 100644 --- a/ld/emultempl/pe.em +++ b/ld/emultempl/pe.em @@ -885,7 +885,7 @@ make_import_fixup (arelent *rel, asection *s) if (pe_dll_extra_pe_debug) printf ("arelent: %s@%#lx: add=%li\n", sym->name, - (long) rel->address, (long) rel->addend); + (unsigned long) rel->address, (long) rel->addend); if (! bfd_get_section_contents (s->owner, s, addend, rel->address, sizeof (addend))) einfo (_("%C: Cannot get section contents - auto-import exception\n"), diff --git a/ld/emultempl/pep.em b/ld/emultempl/pep.em index 93190a1..2fae386 100644 --- a/ld/emultempl/pep.em +++ b/ld/emultempl/pep.em @@ -844,7 +844,7 @@ make_import_fixup (arelent *rel, asection *s) if (pep_dll_extra_pe_debug) printf ("arelent: %s@%#lx: add=%li\n", sym->name, - (long) rel->address, (long) rel->addend); + (unsigned long) rel->address, (long) rel->addend); if (! bfd_get_section_contents (s->owner, s, addend, rel->address, sizeof (addend))) einfo (_("%C: Cannot get section contents - auto-import exception\n"), |