diff -cr --exclude=CVS ndiscvt.old/ndiscvt.c ndiscvt/ndiscvt.c *** ndiscvt.old/ndiscvt.c Thu Jun 16 14:45:38 2005 --- ndiscvt/ndiscvt.c Mon Jun 13 19:07:26 2005 *************** *** 207,215 **** } snprintf(sysbuf, sizeof(sysbuf), ! "objcopy --redefine-sym _binary_%s_start=%s_drv_data_start " "--strip-symbol _binary_%s_size " ! "--redefine-sym _binary_%s_end=%s_drv_data_end %s.o %s.o\n", tname, sysfile, tname, tname, sysfile, outfile, outfile); printf("%s", sysbuf); system(sysbuf); --- 207,215 ---- } snprintf(sysbuf, sizeof(sysbuf), ! "objcopy --redefine-sym _binary_%s_start=ndis_%s_drv_data_start " "--strip-symbol _binary_%s_size " ! "--redefine-sym _binary_%s_end=ndis_%s_drv_data_end %s.o %s.o\n", tname, sysfile, tname, tname, sysfile, outfile, outfile); printf("%s", sysbuf); system(sysbuf); *************** *** 384,393 **** ptr++; } fprintf(outfp, ! "\nextern unsigned char %s_drv_data_start[];\n", sysfile); fprintf(outfp, "static unsigned char *drv_data = " ! "%s_drv_data_start;\n\n", sysfile); bincvt(sysfile, outfile, img, fsize); goto done; } --- 384,393 ---- ptr++; } fprintf(outfp, ! "\nextern unsigned char ndis_%s_drv_data_start[];\n", sysfile); fprintf(outfp, "static unsigned char *drv_data = " ! "ndis_%s_drv_data_start;\n\n", sysfile); bincvt(sysfile, outfile, img, fsize); goto done; } diff -cr --exclude=CVS ndiscvt.old/ndisgen.sh ndiscvt/ndisgen.sh *** ndiscvt.old/ndisgen.sh Thu Jun 16 14:45:38 2005 --- ndiscvt/ndisgen.sh Mon Jun 13 20:45:37 2005 *************** *** 393,399 **** touch bus_if.h touch device_if.h echo -n " Compiling stub... " ! if ! ${CC} -D_KERNEL -DDRV_DATA_START=${SYSBASE}_drv_data_start -DDRV_NAME=${SYSBASE} -DDRV_DATA_END=${SYSBASE}_drv_data_end -I. ${STUBFILE} -c -o windrv_stub.o; then echo "compilation failed. Exiting." echo "" exit --- 393,399 ---- touch bus_if.h touch device_if.h echo -n " Compiling stub... " ! if ! ${CC} -D_KERNEL -DDRV_DATA_START=ndis_${SYSBASE}_drv_data_start -DDRV_NAME=ndis_${SYSBASE} -DDRV_DATA_END=ndis_${SYSBASE}_drv_data_end -I. ${STUBFILE} -c -o windrv_stub.o; then echo "compilation failed. Exiting." echo "" exit