bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/12928] Wrong linker relaxation with DTPREL relocation on alpha


From: ubizjak at gmail dot com
Subject: [Bug ld/12928] Wrong linker relaxation with DTPREL relocation on alpha
Date: Fri, 24 Jun 2011 07:59:33 +0000

http://sourceware.org/bugzilla/show_bug.cgi?id=12928

--- Comment #1 from Uros Bizjak <ubizjak at gmail dot com> 2011-06-24 07:59:10 
UTC ---
The difference to working code (test_code function) from gcc-4.4.5 is:

@@ -26,17 +26,18 @@
     ldah $1,fstat($0)        !dtprelhi
     ldq $26,0($30)
     lda $29,0($29)        !gpdisp!3
-    ldl $0,fstat($1)        !dtprello
-    addl $0,$9,$0
+    ldl $16,fstat($1)        !dtprello
+    addl $16,$9,$16
     ldq $9,8($30)
-    stl $0,fstat($1)        !dtprello
+    addl $31,$16,$0
+    stl $16,fstat($1)        !dtprello
     lda $30,16($30)
     ret $31,($26),1

Please note that $0 is used instead (extra addl is just a move from $16 to $0).

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- 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]