fix microblaze asm relocations for shared libc
only @PLT relocations are considered functions for purposes of -Bsymbolic-functions, so always use @PLT. it should not hurt in the static-linked case.
This commit is contained in:
parent
858df113bf
commit
ef2f595f74
4 changed files with 6 additions and 6 deletions
|
|
@ -4,7 +4,7 @@ __syscall_cp_asm:
|
|||
.global __cp_begin
|
||||
__cp_begin:
|
||||
lwi r5, r5, 0
|
||||
bnei r5, __cancel
|
||||
bnei r5, __cancel@PLT
|
||||
addi r12, r6, 0
|
||||
add r5, r7, r0
|
||||
add r6, r8, r0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue