Propagate PLT fix from our gcc-5.3 tree:

Some functions like __udivsi3 are used in other assembly files like __umodsi3.
Use PLT linkage to avoid text relocations.

XXX: pullup-7
This commit is contained in:
christos 2016-04-22 18:05:52 +00:00
parent 17ab1145c9
commit 75518e7407
1 changed files with 2 additions and 2 deletions

View File

@ -203,7 +203,7 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
lea \addr-.-8,a0
jsr pc@(a0)
#else
jbsr \addr
jbsr \addr@PLTPC
#endif
.endm
@ -215,7 +215,7 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
lea \addr-.-8,a0
jmp pc@(a0)
#else
bra \addr
bra \addr@PLTPC
#endif
.endm