Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/gpl3/gcc/dist/libgcc/config/m68k Propagate PLT fix ...
details: https://anonhg.NetBSD.org/src/rev/c75a1885f447
branches: trunk
changeset: 344815:c75a1885f447
user: christos <christos%NetBSD.org@localhost>
date: Fri Apr 22 18:03:54 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/dist/libgcc/config/m68k/lb1sf68.S | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (21 lines):
diff -r d011c0575b65 -r c75a1885f447 external/gpl3/gcc/dist/libgcc/config/m68k/lb1sf68.S
--- a/external/gpl3/gcc/dist/libgcc/config/m68k/lb1sf68.S Fri Apr 22 17:40:36 2016 +0000
+++ b/external/gpl3/gcc/dist/libgcc/config/m68k/lb1sf68.S Fri Apr 22 18:03:54 2016 +0000
@@ -164,7 +164,7 @@
lea \addr-.-8,a0
jsr pc@(a0)
#else
- jbsr \addr
+ jbsr \addr@PLTPC
#endif
.endm
@@ -176,7 +176,7 @@
lea \addr-.-8,a0
jmp pc@(a0)
#else
- bra \addr
+ bra \addr@PLTPC
#endif
.endm
Home |
Main Index |
Thread Index |
Old Index