bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] don't crash on overflow on hppa64


From: Joseph S. Myers
Subject: Re: [PATCH] don't crash on overflow on hppa64
Date: Wed, 27 Jul 2011 21:39:51 +0000 (UTC)

On Wed, 27 Jul 2011, Mikulas Patocka wrote:

> @@ -3296,13 +3296,13 @@ elf_hppa_final_link_relocate (Elf_Intern
>           && value + addend + max_branch_offset >= 2*max_branch_offset)
>         {
>           (*_bfd_error_handler)
> -           (_("%B(%A+0x%lx): cannot reach %s"),
> +           (_("%B(%A+0x%llx): cannot reach %s"),

%llx isn't portable to all hosts (MinGW in particular).  Can you use 
BFD_VMA_FMT with bfd_vma as your type?

-- 
Joseph S. Myers
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]