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
4c876db4b4
commit
6d71bd475a
|
@ -164,7 +164,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
|
||||
|
||||
|
@ -176,7 +176,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