diff options
author | David S. Miller <davem@davemloft.net> | 2010-03-03 02:10:22 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-03-03 02:14:02 -0800 |
commit | 7ec1221ff7a5e3faa4e58cdfeb3722b2958499e2 (patch) | |
tree | dc64c2d2b15eab3aa62dc7314b535b6997f54b18 /ChangeLog | |
parent | 42488a4d317ffdc9274b8e2b430fc930db4da8b8 (diff) | |
download | glibc-7ec1221ff7a5e3faa4e58cdfeb3722b2958499e2.tar glibc-7ec1221ff7a5e3faa4e58cdfeb3722b2958499e2.tar.gz glibc-7ec1221ff7a5e3faa4e58cdfeb3722b2958499e2.tar.bz2 glibc-7ec1221ff7a5e3faa4e58cdfeb3722b2958499e2.zip |
sparc: Use ba,a,pt in PLTs and fix bugs in R_SPARC_JMP_IREL handling.
2010-03-03 David S. Miller <davem@davemloft.net>
* sysdeps/sparc/sparc32/dl-machine.h (elf_machine_lazy_rel): Must
pass '1' for 't' argument to sparc_fixup_plt.
* sysdeps/sparc/sparc64/dl-machine.h (elf_machine_lazy_rel):
Likewise.
* sysdeps/sparc/sparc32/dl-plt.h (OPCODE_BA_PT): Define.
(sparc_fixup_plt): Document 't' argument. Enable branch
optimization and use v9 branches when possible. Explain why we
cannot unconditionally patch the branch into the first PLT
instruction.
* sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Document 't'
argument. Use v9 branches when possible. Explain why we can in
fact unconditionally use a branch in the first PLT instruction
here.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 16 |
1 files changed, 16 insertions, 0 deletions
@@ -1,3 +1,19 @@ +2010-03-03 David S. Miller <davem@davemloft.net> + + * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_lazy_rel): Must + pass '1' for 't' argument to sparc_fixup_plt. + * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_lazy_rel): + Likewise. + * sysdeps/sparc/sparc32/dl-plt.h (OPCODE_BA_PT): Define. + (sparc_fixup_plt): Document 't' argument. Enable branch + optimization and use v9 branches when possible. Explain why we + cannot unconditionally patch the branch into the first PLT + instruction. + * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Document 't' + argument. Use v9 branches when possible. Explain why we can in + fact unconditionally use a branch in the first PLT instruction + here. + 2010-02-28 Roland McGrath <roland@redhat.com> * elf/elf.h (NT_X86_XSTATE): New macro. |