Print this page
ld should reject kernel modules as input
@@ -76,13 +76,14 @@
MSG_REJ_HWCAP_1, /* MSG_INTL(MSG_REJ_HWCAP_1) */
MSG_REJ_SFCAP_1, /* MSG_INTL(MSG_REJ_SFCAP_1) */
MSG_REJ_MACHCAP, /* MSG_INTL(MSG_REJ_MACHCAP) */
MSG_REJ_PLATCAP, /* MSG_INTL(MSG_REJ_PLATCAP) */
MSG_REJ_HWCAP_2, /* MSG_INTL(MSG_REJ_HWCAP_2) */
- MSG_REJ_ARCHIVE /* MSG_INTL(MSG_REJ_ARCHIVE) */
+ MSG_REJ_ARCHIVE, /* MSG_INTL(MSG_REJ_ARCHIVE) */
+ MSG_REJ_KMOD /* MSG_INTL(MSG_REJ_KMOD) */
};
-#if SGS_REJ_NUM != (SGS_REJ_ARCHIVE + 1)
+#if SGS_REJ_NUM != (SGS_REJ_KMOD + 1)
#error SGS_REJ_NUM has changed
#endif
/*
* Symbol types that we include in .SUNW_ldynsym sections