summaryrefslogtreecommitdiff
path: root/usr/src/cmd/sgs/include
diff options
context:
space:
mode:
authorAli Bahrami <Ali.Bahrami@Sun.COM>2008-10-31 09:06:34 -0600
committerAli Bahrami <Ali.Bahrami@Sun.COM>2008-10-31 09:06:34 -0600
commit551cffe379139e8ad1ea48ad0f554750daca5347 (patch)
tree607fb0ebbfd377dfab35d6b1088c27c29713a07d /usr/src/cmd/sgs/include
parent44e59b5c4716f7872e1cd12d13fced61a42259c6 (diff)
downloadillumos-joyent-551cffe379139e8ad1ea48ad0f554750daca5347.tar.gz
6748160 problem with -zrescan
PSARC 2008/651 New ld archive rescan options
Diffstat (limited to 'usr/src/cmd/sgs/include')
-rw-r--r--usr/src/cmd/sgs/include/debug.h2
-rw-r--r--usr/src/cmd/sgs/include/libld.h4
2 files changed, 5 insertions, 1 deletions
diff --git a/usr/src/cmd/sgs/include/debug.h b/usr/src/cmd/sgs/include/debug.h
index f8f9e641b6..ac263f067f 100644
--- a/usr/src/cmd/sgs/include/debug.h
+++ b/usr/src/cmd/sgs/include/debug.h
@@ -672,7 +672,7 @@ extern void Dbg_file_analyze(Rt_map *);
extern void Dbg_file_aout(Lm_list *, const char *, ulong_t, ulong_t,
ulong_t, const char *, Aliste);
extern void Dbg_file_ar(Lm_list *, const char *, int);
-extern void Dbg_file_ar_rescan(Lm_list *);
+extern void Dbg_file_ar_rescan(Lm_list *, int, int);
extern void Dbg_file_bind_entry(Lm_list *, Bnd_desc *);
extern void Dbg_file_bindings(Rt_map *, int);
extern void Dbg_file_cleanup(Lm_list *, const char *, Aliste);
diff --git a/usr/src/cmd/sgs/include/libld.h b/usr/src/cmd/sgs/include/libld.h
index 334ff1e3b3..0716bb41fe 100644
--- a/usr/src/cmd/sgs/include/libld.h
+++ b/usr/src/cmd/sgs/include/libld.h
@@ -151,6 +151,10 @@ struct ofl_desc {
Word ofl_objscnt; /* and count */
List ofl_ars; /* archive library list */
Word ofl_arscnt; /* and count */
+ int ofl_ars_gsandx; /* archive group argv index. 0 means */
+ /* no current group, < 0 means */
+ /* error reported. >0 is cur ndx */
+ Word ofl_ars_gsndx; /* current -zrescan-start ofl_ars ndx */
List ofl_sos; /* shared object list */
Word ofl_soscnt; /* and count */
List ofl_soneed; /* list of implicitly required .so's */