[Top][All Lists]

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

[Bug gas/20427] Solaris rtld on SPARC does not allow R_SPARC_UA64 or R_S

From: nickc at redhat dot com
Subject: [Bug gas/20427] Solaris rtld on SPARC does not allow R_SPARC_UA64 or R_SPARC_64 relocations in 32-bit executables
Date: Tue, 02 Aug 2016 13:25:47 +0000


Nick Clifton <nickc at redhat dot com> changed:

           What    |Removed                     |Added
                 CC|                            |nickc at redhat dot com

--- Comment #3 from Nick Clifton <nickc at redhat dot com> ---
Hi Stefan,

> proposed patch -- tc-sparc.c.patch

I have a couple of questions about this patch:

  1.  There appear to be other places in cons_fix_new_sparc() where
      64-bit relocs can be generated (ie BFD_RELOC_64_PCREL, 
      patch does not affect them.  Why not ?

  2. The relocs that you are changing are intended to install 64-bit 
     values into the binary.  By changing them to 32-bit versions it
     seems like you are loosing the upper bits.  Have you run any tests
     to see if 64-bit values are still handled correctly after applying
     the patch ?  [It would be useful to know what the Solaris assembler
     does in these circumstances.  Does it, for example, produce two
     32-bit relocs, one for the lower 32-bits and one for the upper 
     32-bits ?]


You are receiving this mail because:
You are on the CC list for the bug.

reply via email to

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