Module Name: src
Committed By: matt
Date: Mon Feb 7 06:37:01 UTC 2011
Modified Files:
src/sys/arch/powerpc/include: asm.h
Log Message:
binutils is automagically doing securecrt so make sure plt calls are emitted
with the secureplt magic as well.
To generate a diff of this commit:
cvs rdiff -u -r1.35 -r1.36 src/sys/arch/powerpc/include/asm.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/powerpc/include/asm.h
diff -u src/sys/arch/powerpc/include/asm.h:1.35 src/sys/arch/powerpc/include/asm.h:1.36
--- src/sys/arch/powerpc/include/asm.h:1.35 Sun Jan 23 15:51:07 2011
+++ src/sys/arch/powerpc/include/asm.h Mon Feb 7 06:37:01 2011
@@ -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