This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: archives with foreign object files


Alan Modra wrote:
> On Fri, Aug 17, 2001 at 12:50:39PM +0930, Alan Modra wrote:
> > 
> > Applying, with Thiemo's suggestion re. unnecessary casts.
> 
> Hrrm, should have taken more notice of the build.

:-)  I use something like "make 2>&1 >/dev/null |tee -a makelog".

[snip]
> @@ -1855,7 +1855,7 @@ elf64_alpha_add_symbol_hook (abfd, info,
>  {
>    if (sym->st_shndx == SHN_COMMON
>        && !info->relocateable
> -      && sym->st_size <= bfd_get_gp_size (abfd))
> +      && sym->st_size <= (unsigned int) bfd_get_gp_size (abfd))

Hm, I don't even have an alpha, but st_size is 8 byte on MIPS ELF64,
so bfd_signed_vma might be the better choice here.


Thiemo


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]