This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


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: Two small fixes for s/390.


"Martin Schwidefsky" <schwidefsky@de.ibm.com> writes:

> Hi,
> two things have shown up in the s390 backend. The first is a cleanup
> in the elf_machine_rela functions. Jakub Jelinek made me aware of
> unnecessary code for the R_390_32 relocation in the 31 bit dl-machine
> definitions, the special handling for the rtld bootstrap can be
> removed. Further some relocation types are missing: R_390_16, R_390_8,
> R_390_PC16DBL, R_390_PLT16DBL and R_390_PC16 for 31 bit and
> R_390_NONE for 64 bit. They are currently not needed but might be
> needed someday.
> The second is a problem with profiling on 31 bit. The program counter
> that is read with GET_PC can have the high order bit (2^31) set which
> naturally confuses profile_count.
>
> 2001-12-19  Martin Schwidefsky <schwidefsky@de.ibm.com>
>
>      * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Remove
>      unnecessary code and add missing reloc types.
>      * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Add empty
>      case for reloc type R_390_NONE.
>      * sysdeps/unix/sysv/linux/s390/profile_counter.h (profil_counter) :
>      Remove high order bit from the program counter for 31 bit.

Those are patches for the trunk.  Is any of them needed for the 2.2
branch?

Andreas
-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj


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