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

Re: [microblaze-uclinux] insmod doesn't work



Thanks, but how am i supposed to patch my insmod.c file?

@@ -998,7 +998,7 @@ arch_apply_relocation(struct obj_file *f
                        *loc += v - got;
                        break;

-#elif defined (__microblaze__)
+#elif defined (microblaze) || defined(__microblaze__)
        case R_MICROBLAZE_NONE:
        case R_MICROBLAZE_64_NONE:
        case R_MICROBLAZE_32_SYM_OP_SYM:

I guess this is the code that differs from mine, is there an easy way to patch it or do i have to change the code manually?

Anders