Module Name:    src
Committed By:   riz
Date:           Tue Oct  6 01:18:47 UTC 2015

Modified Files:
        src/external/cddl/osnet/dist/lib/libdtrace/common: dt_module.c

Log Message:
Make this build for me.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 \
    src/external/cddl/osnet/dist/lib/libdtrace/common/dt_module.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/cddl/osnet/dist/lib/libdtrace/common/dt_module.c
diff -u src/external/cddl/osnet/dist/lib/libdtrace/common/dt_module.c:1.11 src/external/cddl/osnet/dist/lib/libdtrace/common/dt_module.c:1.12
--- src/external/cddl/osnet/dist/lib/libdtrace/common/dt_module.c:1.11	Mon Oct  5 17:48:09 2015
+++ src/external/cddl/osnet/dist/lib/libdtrace/common/dt_module.c	Tue Oct  6 01:18:47 2015
@@ -1308,7 +1308,7 @@ dt_module_update(dtrace_hdl_t *dtp, stru
 	 * [Text][R/O data][R/W data][Dynamic][BSS][Non loadable]
 	 */
 	dmp->dm_text_size = dmp->dm_data_va - dmp->dm_text_va;
-#if defined(__i386__)
+#if defined(__i386__) && !defined(__NetBSD__)
 	/*
 	 * Find the first load section and figure out the relocation
 	 * offset for the symbols. The kernel module will not need

Reply via email to