From: Rich Felker Date: Mon, 20 Apr 2015 00:56:20 +0000 (-0400) Subject: remove invalid PLT calls from microblaze asm X-Git-Tag: v1.1.9~47 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=a880e6ceb9c2e6f38a6b50f8aafab90256c04be1;p=oweals%2Fmusl.git remove invalid PLT calls from microblaze asm analogous to commit 646cb9a4a04e5ed78e2dd928bf9dc6e79202f609 for sh. --- diff --git a/src/setjmp/microblaze/setjmp.s b/src/setjmp/microblaze/setjmp.s index 40afcc0d..605ab20e 100644 --- a/src/setjmp/microblaze/setjmp.s +++ b/src/setjmp/microblaze/setjmp.s @@ -1,9 +1,12 @@ +.global ___setjmp +.hidden ___setjmp .global __setjmp .global _setjmp .global setjmp .type __setjmp,@function .type _setjmp,@function .type setjmp,@function +___setjmp: __setjmp: _setjmp: setjmp: diff --git a/src/signal/microblaze/sigsetjmp.s b/src/signal/microblaze/sigsetjmp.s index 8430c9c4..d1dd24c0 100644 --- a/src/signal/microblaze/sigsetjmp.s +++ b/src/signal/microblaze/sigsetjmp.s @@ -4,12 +4,13 @@ .type __sigsetjmp,@function sigsetjmp: __sigsetjmp: - beqi r6, setjmp@PLT +.hidden ___setjmp + beqi r6, ___setjmp swi r15,r5,72 swi r19,r5,72+4+8 - brlid r15,setjmp@PLT + brlid r15,___setjmp ori r19,r5,0 ori r6,r3,0