libkern: Stop compiling in (u)cmpdi2.c, because they are not used.
authorSascha Wildner <saw@online.de>
Sat, 23 Feb 2013 18:46:25 +0000 (19:46 +0100)
committerSascha Wildner <saw@online.de>
Sat, 23 Feb 2013 18:46:25 +0000 (19:46 +0100)
It's 32 bit code that assumes that two longs fit into 64 bits,
hence put it into i386 'files' (commented out).

sys/conf/files
sys/platform/pc32/conf/files

index 82d1dc3..70290d5 100644 (file)
@@ -1815,8 +1815,6 @@ libkern/bcd.c                             standard
 libkern/bsearch.c                      standard
 libkern/crc32.c                                standard
 libkern/icrc32.c                       standard
-libkern/cmpdi2.c                       standard
-libkern/ucmpdi2.c                      standard
 libkern/idr.c                          standard
 libkern/index.c                                standard
 libkern/inet_ntoa.c                    standard
index 4e3b751..2695b33 100644 (file)
@@ -298,9 +298,11 @@ bus/isa/syscons_isa.c                      optional        sc
 bus/isa/vga_isa.c                      optional        vga
 kern/subr_diskmbr.c                    standard
 kern/subr_diskgpt.c                    standard
-libkern/flsl.c                         standard
+#libkern/cmpdi2.c                      standard
 libkern/divdi3.c                       standard
+libkern/flsl.c                         standard
 libkern/moddi3.c                       standard
 libkern/qdivrem.c                      standard
+#libkern/ucmpdi2.c                     standard
 libkern/udivdi3.c                      standard
 libkern/umoddi3.c                      standard