Print this page
ld should reject kernel modules as input
*** 76,88 ****
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) */
};
! #if SGS_REJ_NUM != (SGS_REJ_ARCHIVE + 1)
#error SGS_REJ_NUM has changed
#endif
/*
* Symbol types that we include in .SUNW_ldynsym sections
--- 76,89 ----
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_KMOD /* MSG_INTL(MSG_REJ_KMOD) */
};
! #if SGS_REJ_NUM != (SGS_REJ_KMOD + 1)
#error SGS_REJ_NUM has changed
#endif
/*
* Symbol types that we include in .SUNW_ldynsym sections