Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/gpl3/gcc.old/dist/libgcc/config/m68k Propagate PLT ...



details:   https://anonhg.NetBSD.org/src/rev/cc6f4f182675
branches:  trunk
changeset: 814959:cc6f4f182675
user:      christos <christos%NetBSD.org@localhost>
date:      Fri Apr 22 18:05:52 2016 +0000

description:
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

diffstat:

 external/gpl3/gcc.old/dist/libgcc/config/m68k/lb1sf68.S |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r ec344fdcbf6d -r cc6f4f182675 external/gpl3/gcc.old/dist/libgcc/config/m68k/lb1sf68.S
--- a/external/gpl3/gcc.old/dist/libgcc/config/m68k/lb1sf68.S   Fri Apr 22 18:05:13 2016 +0000
+++ b/external/gpl3/gcc.old/dist/libgcc/config/m68k/lb1sf68.S   Fri Apr 22 18:05:52 2016 +0000
@@ -203,7 +203,7 @@
        lea     \addr-.-8,a0
        jsr     pc@(a0)
 #else
-       jbsr    \addr
+       jbsr    \addr@PLTPC
 #endif
        .endm
 
@@ -215,7 +215,7 @@
        lea     \addr-.-8,a0
        jmp     pc@(a0)
 #else
-       bra     \addr
+       bra     \addr@PLTPC
 #endif
        .endm
 



Home | Main Index | Thread Index | Old Index