summaryrefslogtreecommitdiff
path: root/usr/src/cmd/sgs/libld
diff options
context:
space:
mode:
authorDan McDonald <danmcd@joyent.com>2020-11-17 11:01:04 -0500
committerDan McDonald <danmcd@joyent.com>2020-11-17 11:01:04 -0500
commit5a1b3228538dfeb09e05cc2bdfad707ee4d698d7 (patch)
tree8611282076e7c9fea544bd5f0cddb24d3307ddc1 /usr/src/cmd/sgs/libld
parent4e230541132f1431873292b3d6bfa531bb1536c8 (diff)
parentf0b6369dcf843cd097edef20ec38c11b7ae127d6 (diff)
downloadillumos-joyent-5a1b3228538dfeb09e05cc2bdfad707ee4d698d7.tar.gz
[illumos-gate merge]
commit f0b6369dcf843cd097edef20ec38c11b7ae127d6 13285 remove incomplete kmod guidance implementation
Diffstat (limited to 'usr/src/cmd/sgs/libld')
-rw-r--r--usr/src/cmd/sgs/libld/common/args.c5
-rw-r--r--usr/src/cmd/sgs/libld/common/libld.msg1
2 files changed, 0 insertions, 6 deletions
diff --git a/usr/src/cmd/sgs/libld/common/args.c b/usr/src/cmd/sgs/libld/common/args.c
index 93beb46c22..9898b7b08d 100644
--- a/usr/src/cmd/sgs/libld/common/args.c
+++ b/usr/src/cmd/sgs/libld/common/args.c
@@ -325,11 +325,6 @@ check_flags(Ofl_desc * ofl, int argc)
if (otype == OT_RELOC) {
if (dflag == SET_UNKNOWN)
dflag = SET_FALSE;
- if ((dflag == SET_TRUE) &&
- OFL_GUIDANCE(ofl, FLG_OFG_NO_KMOD)) {
- ld_eprintf(ofl, ERR_GUIDANCE,
- MSG_INTL(MSG_GUIDE_KMOD));
- }
} else if (otype == OT_KMOD) {
if (dflag != SET_UNKNOWN) {
ld_eprintf(ofl, ERR_FATAL,
diff --git a/usr/src/cmd/sgs/libld/common/libld.msg b/usr/src/cmd/sgs/libld/common/libld.msg
index ee0a45dce8..bc4aebea88 100644
--- a/usr/src/cmd/sgs/libld/common/libld.msg
+++ b/usr/src/cmd/sgs/libld/common/libld.msg
@@ -709,7 +709,6 @@
@ MSG_GUIDE_TEXT "position independent (PIC) code recommended for \
shared objects"
@ MSG_GUIDE_UNUSED "removal of unused dependency recommended: %s"
-@ MSG_GUIDE_KMOD "use -z type=kmod, not -r -dy"
@ _END_