summaryrefslogtreecommitdiff
path: root/usr/src/cmd/sgs/liblddbg
diff options
context:
space:
mode:
authorAli Bahrami <Ali.Bahrami@Sun.COM>2008-12-09 10:54:10 -0700
committerAli Bahrami <Ali.Bahrami@Sun.COM>2008-12-09 10:54:10 -0700
commitd2d5cf7c5d909b74a88d499283e24750a9a52c5d (patch)
tree84056ff7753630dde28e663a51fd53257a99a948 /usr/src/cmd/sgs/liblddbg
parent3534c68111163b60e274fa816769616d177a08b7 (diff)
downloadillumos-joyent-d2d5cf7c5d909b74a88d499283e24750a9a52c5d.tar.gz
6775062 remove /usr/lib/libldstab.so
Diffstat (limited to 'usr/src/cmd/sgs/liblddbg')
-rw-r--r--usr/src/cmd/sgs/liblddbg/common/liblddbg.msg2
-rw-r--r--usr/src/cmd/sgs/liblddbg/common/mapfile-vers4
-rw-r--r--usr/src/cmd/sgs/liblddbg/common/support.c25
3 files changed, 23 insertions, 8 deletions
diff --git a/usr/src/cmd/sgs/liblddbg/common/liblddbg.msg b/usr/src/cmd/sgs/liblddbg/common/liblddbg.msg
index 3c7d850680..f08aa2f02b 100644
--- a/usr/src/cmd/sgs/liblddbg/common/liblddbg.msg
+++ b/usr/src/cmd/sgs/liblddbg/common/liblddbg.msg
@@ -628,12 +628,12 @@
@ MSG_SUP_REQ "support object request=%s (%s)"
@ MSG_SUP_REQ_ENV "supplied via SGS_SUPPORT"
@ MSG_SUP_REQ_CMD "supplied via -S"
-@ MSG_SUP_REQ_DEF "default"
@ MSG_SUP_ROUTINE " support object=%s: provides routine %s"
@ MSG_SUP_CALLING_1 " calling routine=%s (%s)"
@ MSG_SUP_CALLING_2 " calling routine=%s (%s) %s=%s"
+@ MSG_SUP_VNONE " unloading object=%s: version=LD_SUP_VNONE"
@ MSG_SUP_OUTFILE "output file"
@ MSG_SUP_INFILE "input file"
@ MSG_SUP_INSEC "input section"
diff --git a/usr/src/cmd/sgs/liblddbg/common/mapfile-vers b/usr/src/cmd/sgs/liblddbg/common/mapfile-vers
index 6681386f1f..490451488f 100644
--- a/usr/src/cmd/sgs/liblddbg/common/mapfile-vers
+++ b/usr/src/cmd/sgs/liblddbg/common/mapfile-vers
@@ -38,7 +38,7 @@
# Policy for Shared Library Version Names and Interface Definitions
-SUNWprivate_4.67 {
+SUNWprivate_4.68 {
global:
dbg_desc = NODIRECT; # interposed - ld.so.1(1)
dbg_print = NODIRECT; # interposed - ld(1) and ld.so.1(1)
@@ -316,6 +316,8 @@ SUNWprivate_4.67 {
Dbg64_support_load;
Dbg32_support_req;
Dbg64_support_req;
+ Dbg32_support_vnone;
+ Dbg64_support_vnone;
Dbg32_syminfo_entry;
Dbg64_syminfo_entry;
diff --git a/usr/src/cmd/sgs/liblddbg/common/support.c b/usr/src/cmd/sgs/liblddbg/common/support.c
index 6f946962cc..b018b9ae91 100644
--- a/usr/src/cmd/sgs/liblddbg/common/support.c
+++ b/usr/src/cmd/sgs/liblddbg/common/support.c
@@ -20,10 +20,9 @@
*/
/*
- * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+ * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
-#pragma ident "%Z%%M% %I% %E% SMI"
#include "msg.h"
#include "_debug.h"
@@ -36,12 +35,17 @@ Dbg_support_req(Lm_list *lml, const char *define, int flag)
if (DBG_NOTCLASS(DBG_C_SUPPORT))
return;
- if (flag == DBG_SUP_ENVIRON)
+ switch (flag) {
+ case DBG_SUP_ENVIRON:
str = MSG_INTL(MSG_SUP_REQ_ENV);
- else if (flag == DBG_SUP_CMDLINE)
+ break;
+ case DBG_SUP_CMDLINE:
str = MSG_INTL(MSG_SUP_REQ_CMD);
- else
- str = MSG_INTL(MSG_SUP_REQ_DEF);
+ break;
+ default:
+ str = MSG_ORIG(MSG_STR_EMPTY);
+ break;
+ }
dbg_print(lml, MSG_ORIG(MSG_STR_EMPTY));
dbg_print(lml, MSG_INTL(MSG_SUP_REQ), define, str);
@@ -57,6 +61,15 @@ Dbg_support_load(Lm_list *lml, const char *obj, const char *func)
}
void
+Dbg_support_vnone(Lm_list *lml, const char *obj)
+{
+ if (DBG_NOTCLASS(DBG_C_SUPPORT))
+ return;
+
+ dbg_print(lml, MSG_INTL(MSG_SUP_VNONE), obj);
+}
+
+void
Dbg_support_action(Lm_list *lml, const char *obj, const char *func,
Support_ndx ndx, const char *name)
{