Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/zaurus/stand/zbsdmod Avoid "unhandled relocation of...



details:   https://anonhg.NetBSD.org/src/rev/3048c6334d90
branches:  trunk
changeset: 803151:3048c6334d90
user:      nonaka <nonaka%NetBSD.org@localhost>
date:      Tue Oct 14 08:33:38 2014 +0000

description:
Avoid "unhandled relocation of type 3 for" error when load module.
"insmod zbsdmod.o" is successful now.

diffstat:

 sys/arch/zaurus/stand/zbsdmod/Makefile |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 40a1acb1f7f3 -r 3048c6334d90 sys/arch/zaurus/stand/zbsdmod/Makefile
--- a/sys/arch/zaurus/stand/zbsdmod/Makefile    Tue Oct 14 08:17:27 2014 +0000
+++ b/sys/arch/zaurus/stand/zbsdmod/Makefile    Tue Oct 14 08:33:38 2014 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.8 2013/12/15 18:08:37 joerg Exp $
+#      $NetBSD: Makefile,v 1.9 2014/10/14 08:33:38 nonaka Exp $
 
 WARNS?=        4
 
@@ -9,6 +9,7 @@
 NOMAN= # defined
 
 realall: ${OBJS}
+       ${OBJCOPY} -R .eh_frame ${.OBJDIR}/zbsdmod.o
 
 .include <bsd.klinks.mk>
 .include <bsd.prog.mk>



Home | Main Index | Thread Index | Old Index