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]
Other format: [Raw text]

Re: Question about vtentry on s390



Hi Andreas,

> looking at elf64-s390.c nd elf32-s390.c I noticed in
> elf_s390_check_relocs the following:
>
>         case R_390_GNU_VTENTRY:
>           if (!_bfd_elf64_gc_record_vtentry (abfd, sec, h,
rel->r_offset))
>             return false;
>           break;
>
> AFAIK this should be r_addend instead of r_offset.  Can you double
> check that the following patch is correct?

I finally came around to test your patch. I never doubted that it is
correct.
Just to make sure I had to test compile some C++ code to see if anything
breaks. I have checked the patch in. Thanks for pointing this out.

blue skies,
   Martin

Linux/390 Design & Development, IBM Deutschland Entwicklung GmbH
Schönaicherstr. 220, D-71032 Böblingen, Telefon: 49 - (0)7031 - 16-2247
E-Mail: schwidefsky@de.ibm.com



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