Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/powerpc/include binutils is automagically doing sec...



details:   https://anonhg.NetBSD.org/src/rev/0c8732dee3f4
branches:  trunk
changeset: 761766:0c8732dee3f4
user:      matt <matt%NetBSD.org@localhost>
date:      Mon Feb 07 06:37:01 2011 +0000

description:
binutils is automagically doing securecrt so make sure plt calls are emitted
with the secureplt magic as well.

diffstat:

 sys/arch/powerpc/include/asm.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r f6a0d83cce6c -r 0c8732dee3f4 sys/arch/powerpc/include/asm.h
--- a/sys/arch/powerpc/include/asm.h    Mon Feb 07 04:05:49 2011 +0000
+++ b/sys/arch/powerpc/include/asm.h    Mon Feb 07 06:37:01 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: asm.h,v 1.35 2011/01/23 15:51:07 matt Exp $    */
+/*     $NetBSD: asm.h,v 1.36 2011/02/07 06:37:01 matt Exp $    */
 
 /*
  * Copyright (C) 1995, 1996 Wolfgang Solfrank.
@@ -45,7 +45,7 @@
 #ifdef PIC
 #define PIC_PROLOGUE   XXX
 #define PIC_EPILOGUE   XXX
-#define PIC_PLT(x)     x@plt
+#define PIC_PLT(x)     x+32768@plt
 #ifdef __STDC__
 #define        PIC_TOCNAME(name)       .LCTOC_##name
 #else



Home | Main Index | Thread Index | Old Index