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:
parent
17ab1145c9
commit
75518e7407
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue