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:03:54 +00:00
parent 4c876db4b4
commit 6d71bd475a
1 changed files with 2 additions and 2 deletions

View File

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