[BusyBox-cvs] busybox/modutils insmod.c,1.113,1.114
Erik Andersen
andersen at busybox.net
Fri Mar 19 12:16:21 UTC 2004
Update of /var/cvs/busybox/modutils
In directory nail:/tmp/cvs-serv26020/modutils
Modified Files:
insmod.c
Log Message:
Only use R_68K_GOTOFF if it is defined
Index: insmod.c
===================================================================
RCS file: /var/cvs/busybox/modutils/insmod.c,v
retrieving revision 1.113
retrieving revision 1.114
diff -u -d -r1.113 -r1.114
--- a/insmod.c 15 Mar 2004 08:28:47 -0000 1.113
+++ b/insmod.c 19 Mar 2004 12:16:18 -0000 1.114
@@ -1083,10 +1083,12 @@
case R_68K_GOT32:
goto bb_use_got;
+#ifdef R_68K_GOTOFF
case R_68K_GOTOFF:
assert(got != 0);
*loc += v - got;
break;
+#endif
#elif defined(__mips__)
@@ -1568,9 +1570,11 @@
got_allocate = 1;
break;
+#ifdef R_68K_GOTOFF
case R_68K_GOTOFF:
got_needed = 1;
continue;
+#endif
#elif defined(__sh__)
case R_SH_GOT32:
More information about the busybox-cvs
mailing list