This is the mail archive of the binutils@sourceware.org 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]

PowerPC tlsie test fix


Oops.

	* testsuite/ld-powerpc/tlsie.s: Correct medium model ELF sequence.

diff --git a/ld/testsuite/ld-powerpc/tlsie.s b/ld/testsuite/ld-powerpc/tlsie.s
index 384e7cedb0..c792b93992 100644
--- a/ld/testsuite/ld-powerpc/tlsie.s
+++ b/ld/testsuite/ld-powerpc/tlsie.s
@@ -22,7 +22,7 @@ _start:
  .text
 
 #Medium model ELF
- addi 9,2,b@got@tprel@ha
+ addis 9,2,b@got@tprel@ha
  ld 10,b@got@tprel@l(9)
  add 3,10,b@tls
 
@@ -38,7 +38,7 @@ _start:
 .Ld:
  .quad d@tprel
  .text
- addi 9,2,d@got@tprel@ha
+ addis 9,2,d@got@tprel@ha
  ld 31,d@got@tprel@l(9)
  add 3,31,d@tls
  pld 30,d@got@tprel@pcrel

-- 
Alan Modra
Australia Development Lab, IBM


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