10Sstevel@tonic-gate /*
20Sstevel@tonic-gate * CDDL HEADER START
30Sstevel@tonic-gate *
40Sstevel@tonic-gate * The contents of this file are subject to the terms of the
51618Srie * Common Development and Distribution License (the "License").
61618Srie * You may not use this file except in compliance with the License.
70Sstevel@tonic-gate *
80Sstevel@tonic-gate * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
90Sstevel@tonic-gate * or http://www.opensolaris.org/os/licensing.
100Sstevel@tonic-gate * See the License for the specific language governing permissions
110Sstevel@tonic-gate * and limitations under the License.
120Sstevel@tonic-gate *
130Sstevel@tonic-gate * When distributing Covered Code, include this CDDL HEADER in each
140Sstevel@tonic-gate * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
150Sstevel@tonic-gate * If applicable, add the following below this CDDL HEADER, with the
160Sstevel@tonic-gate * fields enclosed by brackets "[]" replaced with your own identifying
170Sstevel@tonic-gate * information: Portions Copyright [yyyy] [name of copyright owner]
180Sstevel@tonic-gate *
190Sstevel@tonic-gate * CDDL HEADER END
200Sstevel@tonic-gate */
211618Srie
220Sstevel@tonic-gate /*
23*11734SAli.Bahrami@Sun.COM * Copyright 2010 Sun Microsystems, Inc. All rights reserved.
241618Srie * Use is subject to license terms.
250Sstevel@tonic-gate */
260Sstevel@tonic-gate
270Sstevel@tonic-gate #include "msg.h"
280Sstevel@tonic-gate #include "_debug.h"
290Sstevel@tonic-gate #include "libld.h"
300Sstevel@tonic-gate
310Sstevel@tonic-gate
32*11734SAli.Bahrami@Sun.COM /*
33*11734SAli.Bahrami@Sun.COM * Report change in input enable status caused by evaluating
34*11734SAli.Bahrami@Sun.COM * $if/$elif control directives.
35*11734SAli.Bahrami@Sun.COM */
360Sstevel@tonic-gate void
Dbg_map_pass(Lm_list * lml,Boolean enable,const char * file,Lineno lineno,const char * directive)37*11734SAli.Bahrami@Sun.COM Dbg_map_pass(Lm_list *lml, Boolean enable, const char *file,
38*11734SAli.Bahrami@Sun.COM Lineno lineno, const char *directive)
391618Srie {
40*11734SAli.Bahrami@Sun.COM const char *fmt;
41*11734SAli.Bahrami@Sun.COM
421618Srie if (DBG_NOTCLASS(DBG_C_MAP))
431618Srie return;
441618Srie
45*11734SAli.Bahrami@Sun.COM fmt = enable ? MSG_INTL(MSG_MAP_PASS) : MSG_INTL(MSG_MAP_NOPASS);
46*11734SAli.Bahrami@Sun.COM dbg_print(lml, fmt, file, EC_LINENO(lineno), directive);
471618Srie }
481618Srie
49*11734SAli.Bahrami@Sun.COM /*
50*11734SAli.Bahrami@Sun.COM * Report entry/removal of boolean identifier from conditional expression
51*11734SAli.Bahrami@Sun.COM * known values.
52*11734SAli.Bahrami@Sun.COM */
531618Srie void
Dbg_map_cexp_id(Lm_list * lml,Boolean add,const char * file,Lineno lineno,const char * id)54*11734SAli.Bahrami@Sun.COM Dbg_map_cexp_id(Lm_list *lml, Boolean add, const char *file,
55*11734SAli.Bahrami@Sun.COM Lineno lineno, const char *id)
561618Srie {
57*11734SAli.Bahrami@Sun.COM const char *fmt;
58*11734SAli.Bahrami@Sun.COM
591618Srie if (DBG_NOTCLASS(DBG_C_MAP))
601618Srie return;
611618Srie
62*11734SAli.Bahrami@Sun.COM fmt = add ? MSG_INTL(MSG_MAP_ID_ADD) : MSG_INTL(MSG_MAP_ID_CLEAR);
63*11734SAli.Bahrami@Sun.COM dbg_print(lml, fmt, file, EC_LINENO(lineno), id);
641618Srie }
651618Srie
661618Srie void
Dbg_map_version(Lm_list * lml,const char * version,const char * name,int scope)671618Srie Dbg_map_version(Lm_list *lml, const char *version, const char *name, int scope)
680Sstevel@tonic-gate {
690Sstevel@tonic-gate const char *str, *scp;
700Sstevel@tonic-gate
711618Srie if (DBG_NOTCLASS(DBG_C_MAP | DBG_C_SYMBOLS))
720Sstevel@tonic-gate return;
730Sstevel@tonic-gate
740Sstevel@tonic-gate str = MSG_INTL(MSG_MAP_SYM_SCOPE);
750Sstevel@tonic-gate if (scope)
760Sstevel@tonic-gate scp = MSG_ORIG(MSG_SYM_GLOBAL);
770Sstevel@tonic-gate else
780Sstevel@tonic-gate scp = MSG_ORIG(MSG_SYM_LOCAL);
790Sstevel@tonic-gate
800Sstevel@tonic-gate if (version)
811618Srie dbg_print(lml, MSG_INTL(MSG_MAP_SYM_VER_1), str, version,
821618Srie Dbg_demangle_name(name), scp);
830Sstevel@tonic-gate else
841618Srie dbg_print(lml, MSG_INTL(MSG_MAP_SYM_VER_2), str,
851618Srie Dbg_demangle_name(name), scp);
860Sstevel@tonic-gate }
870Sstevel@tonic-gate
880Sstevel@tonic-gate void
Dbg_map_size_new(Lm_list * lml,const char * symname,const char * segname,Lineno lineno)89*11734SAli.Bahrami@Sun.COM Dbg_map_size_new(Lm_list *lml, const char *symname, const char *segname,
90*11734SAli.Bahrami@Sun.COM Lineno lineno)
910Sstevel@tonic-gate {
921618Srie if (DBG_NOTCLASS(DBG_C_MAP))
930Sstevel@tonic-gate return;
940Sstevel@tonic-gate
95*11734SAli.Bahrami@Sun.COM Dbg_util_nl(lml, DBG_NL_STD);
96*11734SAli.Bahrami@Sun.COM dbg_print(lml, MSG_INTL(MSG_MAP_SYM_SIZE), EC_LINENO(lineno), segname,
97*11734SAli.Bahrami@Sun.COM Dbg_demangle_name(symname), MSG_INTL(MSG_STR_ADDING));
980Sstevel@tonic-gate }
990Sstevel@tonic-gate
1000Sstevel@tonic-gate void
Dbg_map_size_old(Ofl_desc * ofl,Sym_desc * sdp,const char * segname,Lineno lineno)101*11734SAli.Bahrami@Sun.COM Dbg_map_size_old(Ofl_desc *ofl, Sym_desc *sdp, const char *segname,
102*11734SAli.Bahrami@Sun.COM Lineno lineno)
1030Sstevel@tonic-gate {
1044734Sab196087 Conv_inv_buf_t inv_buf;
1054734Sab196087 Lm_list *lml = ofl->ofl_lml;
1061618Srie
1071618Srie if (DBG_NOTCLASS(DBG_C_MAP))
1080Sstevel@tonic-gate return;
1090Sstevel@tonic-gate
110*11734SAli.Bahrami@Sun.COM Dbg_util_nl(lml, DBG_NL_STD);
111*11734SAli.Bahrami@Sun.COM dbg_print(lml, MSG_INTL(MSG_MAP_SYM_SIZE), EC_LINENO(lineno), segname,
112*11734SAli.Bahrami@Sun.COM sdp->sd_name, MSG_INTL(MSG_STR_UP_1));
1130Sstevel@tonic-gate
1140Sstevel@tonic-gate if (DBG_NOTDETAIL())
1150Sstevel@tonic-gate return;
1160Sstevel@tonic-gate
1171618Srie Elf_syms_table_entry(lml, ELF_DBG_LD, MSG_INTL(MSG_STR_UP_2),
1189273SAli.Bahrami@Sun.COM ofl->ofl_dehdr->e_ident[EI_OSABI], ofl->ofl_dehdr->e_machine,
1199273SAli.Bahrami@Sun.COM sdp->sd_sym, sdp->sd_aux ? sdp->sd_aux->sa_overndx : 0, 0, NULL,
1204734Sab196087 conv_def_tag(sdp->sd_ref, &inv_buf));
1210Sstevel@tonic-gate }
1220Sstevel@tonic-gate
1230Sstevel@tonic-gate void
Dbg_map_symbol(Ofl_desc * ofl,Sym_desc * sdp)1241618Srie Dbg_map_symbol(Ofl_desc *ofl, Sym_desc *sdp)
1250Sstevel@tonic-gate {
1264734Sab196087 Conv_inv_buf_t inv_buf;
1274734Sab196087 Lm_list *lml = ofl->ofl_lml;
1281618Srie
1295220Srie if (DBG_NOTCLASS(DBG_C_MAP | DBG_C_SYMBOLS))
1300Sstevel@tonic-gate return;
1310Sstevel@tonic-gate if (DBG_NOTDETAIL())
1320Sstevel@tonic-gate return;
1330Sstevel@tonic-gate
1345220Srie Elf_syms_table_entry(lml, ELF_DBG_LD, MSG_INTL(MSG_STR_ENTERED),
1359273SAli.Bahrami@Sun.COM ofl->ofl_dehdr->e_ident[EI_OSABI], ofl->ofl_dehdr->e_machine,
1369273SAli.Bahrami@Sun.COM sdp->sd_sym, sdp->sd_aux ? sdp->sd_aux->sa_overndx : 0, 0, NULL,
1375220Srie conv_def_tag(sdp->sd_ref, &inv_buf));
1380Sstevel@tonic-gate }
1390Sstevel@tonic-gate
140*11734SAli.Bahrami@Sun.COM /*
141*11734SAli.Bahrami@Sun.COM * Object version dependency. In the v1 syntax, this is the 'dash' operator.
142*11734SAli.Bahrami@Sun.COM * In the v2 syntax, the DEPEND_VERSIONS directive.
143*11734SAli.Bahrami@Sun.COM */
1440Sstevel@tonic-gate void
Dbg_map_dv(Lm_list * lml,const char * obj_name,Lineno lineno)145*11734SAli.Bahrami@Sun.COM Dbg_map_dv(Lm_list *lml, const char *obj_name, Lineno lineno)
1460Sstevel@tonic-gate {
1471618Srie if (DBG_NOTCLASS(DBG_C_MAP))
1480Sstevel@tonic-gate return;
1490Sstevel@tonic-gate
150*11734SAli.Bahrami@Sun.COM dbg_print(lml, MSG_INTL(MSG_MAP_DV), EC_LINENO(lineno), obj_name);
151*11734SAli.Bahrami@Sun.COM }
152*11734SAli.Bahrami@Sun.COM
153*11734SAli.Bahrami@Sun.COM /*
154*11734SAli.Bahrami@Sun.COM * Add a version to an object dependency
155*11734SAli.Bahrami@Sun.COM */
156*11734SAli.Bahrami@Sun.COM void
Dbg_map_dv_entry(Lm_list * lml,Lineno lineno,int require,const char * version)157*11734SAli.Bahrami@Sun.COM Dbg_map_dv_entry(Lm_list *lml, Lineno lineno, int require, const char *version)
158*11734SAli.Bahrami@Sun.COM {
159*11734SAli.Bahrami@Sun.COM const char *attr;
160*11734SAli.Bahrami@Sun.COM
161*11734SAli.Bahrami@Sun.COM if (DBG_NOTCLASS(DBG_C_MAP))
162*11734SAli.Bahrami@Sun.COM return;
163*11734SAli.Bahrami@Sun.COM
164*11734SAli.Bahrami@Sun.COM attr = require ? MSG_INTL(MSG_STR_REQUIRE) : MSG_INTL(MSG_STR_ALLOW);
165*11734SAli.Bahrami@Sun.COM dbg_print(lml, MSG_INTL(MSG_MAP_DV_ENTRY), attr, version,
166*11734SAli.Bahrami@Sun.COM EC_LINENO(lineno));
1670Sstevel@tonic-gate }
1680Sstevel@tonic-gate
1690Sstevel@tonic-gate void
Dbg_map_sort_title(Lm_list * lml,Boolean orig)170*11734SAli.Bahrami@Sun.COM Dbg_map_sort_title(Lm_list *lml, Boolean orig)
1719131SRod.Evans@Sun.COM {
1729131SRod.Evans@Sun.COM if (DBG_NOTCLASS(DBG_C_MAP))
1739131SRod.Evans@Sun.COM return;
1749131SRod.Evans@Sun.COM if (DBG_NOTDETAIL())
1759131SRod.Evans@Sun.COM return;
1769131SRod.Evans@Sun.COM
177*11734SAli.Bahrami@Sun.COM if (orig) {
178*11734SAli.Bahrami@Sun.COM Dbg_util_nl(lml, DBG_NL_STD);
179*11734SAli.Bahrami@Sun.COM dbg_print(lml, MSG_INTL(MSG_MAP_SORT_TITLE));
180*11734SAli.Bahrami@Sun.COM dbg_print(lml, MSG_INTL(MSG_MAP_SORT_TITLE_O));
181*11734SAli.Bahrami@Sun.COM } else {
182*11734SAli.Bahrami@Sun.COM dbg_print(lml, MSG_INTL(MSG_MAP_SORT_TITLE_S));
183*11734SAli.Bahrami@Sun.COM }
1849131SRod.Evans@Sun.COM }
1859131SRod.Evans@Sun.COM
1869131SRod.Evans@Sun.COM void
Dbg_map_sort_seg(Lm_list * lml,uchar_t osabi,Half mach,Sg_desc * sgp)187*11734SAli.Bahrami@Sun.COM Dbg_map_sort_seg(Lm_list *lml, uchar_t osabi, Half mach, Sg_desc *sgp)
1880Sstevel@tonic-gate {
189*11734SAli.Bahrami@Sun.COM const char *type_str;
190*11734SAli.Bahrami@Sun.COM Conv_inv_buf_t inv_buf;
1910Sstevel@tonic-gate
1921618Srie if (DBG_NOTCLASS(DBG_C_MAP))
1930Sstevel@tonic-gate return;
1940Sstevel@tonic-gate if (DBG_NOTDETAIL())
1950Sstevel@tonic-gate return;
1960Sstevel@tonic-gate
197*11734SAli.Bahrami@Sun.COM type_str = conv_phdr_type(osabi, mach, sgp->sg_phdr.p_type,
198*11734SAli.Bahrami@Sun.COM 0, &inv_buf);
1990Sstevel@tonic-gate
200*11734SAli.Bahrami@Sun.COM if (sgp->sg_name) {
201*11734SAli.Bahrami@Sun.COM if (sgp->sg_flags & FLG_SG_P_VADDR) {
202*11734SAli.Bahrami@Sun.COM dbg_print(lml, MSG_ORIG(MSG_MAP_SORT_SEG_V),
203*11734SAli.Bahrami@Sun.COM type_str, sgp->sg_name,
204*11734SAli.Bahrami@Sun.COM EC_ADDR(sgp->sg_phdr.p_vaddr));
205*11734SAli.Bahrami@Sun.COM } else if (sgp->sg_flags & FLG_SG_ORDERED) {
206*11734SAli.Bahrami@Sun.COM /*
207*11734SAli.Bahrami@Sun.COM * All FLG_SG_ORDERED have adjacent sg_id values
208*11734SAli.Bahrami@Sun.COM * that start at SGID_TEXT. Subtract out the base
209*11734SAli.Bahrami@Sun.COM * in order to present the order values based at 0.
210*11734SAli.Bahrami@Sun.COM */
211*11734SAli.Bahrami@Sun.COM dbg_print(lml, MSG_ORIG(MSG_MAP_SORT_SEG_O),
212*11734SAli.Bahrami@Sun.COM type_str, sgp->sg_name,
213*11734SAli.Bahrami@Sun.COM EC_WORD(sgp->sg_id - SGID_TEXT));
214*11734SAli.Bahrami@Sun.COM } else {
215*11734SAli.Bahrami@Sun.COM dbg_print(lml, MSG_ORIG(MSG_MAP_SORT_SEG_NAME),
216*11734SAli.Bahrami@Sun.COM type_str, sgp->sg_name);
217*11734SAli.Bahrami@Sun.COM }
218*11734SAli.Bahrami@Sun.COM } else {
219*11734SAli.Bahrami@Sun.COM dbg_print(lml, MSG_ORIG(MSG_MAP_SORT_SEG), type_str);
220*11734SAli.Bahrami@Sun.COM }
2210Sstevel@tonic-gate }
2220Sstevel@tonic-gate
2230Sstevel@tonic-gate void
Dbg_map_parse(Lm_list * lml,const char * file,int version)224*11734SAli.Bahrami@Sun.COM Dbg_map_parse(Lm_list *lml, const char *file, int version)
225*11734SAli.Bahrami@Sun.COM {
226*11734SAli.Bahrami@Sun.COM Conv_inv_buf_t inv_buf;
227*11734SAli.Bahrami@Sun.COM
228*11734SAli.Bahrami@Sun.COM if (DBG_NOTCLASS(DBG_C_MAP))
229*11734SAli.Bahrami@Sun.COM return;
230*11734SAli.Bahrami@Sun.COM
231*11734SAli.Bahrami@Sun.COM Dbg_util_nl(lml, DBG_NL_STD);
232*11734SAli.Bahrami@Sun.COM dbg_print(lml, MSG_INTL(MSG_MAP_MAPFILE), file, EC_WORD(version),
233*11734SAli.Bahrami@Sun.COM conv_mapfile_version(version, 0, &inv_buf));
234*11734SAli.Bahrami@Sun.COM }
235*11734SAli.Bahrami@Sun.COM
236*11734SAli.Bahrami@Sun.COM void
Dbg_map_ent(Lm_list * lml,Ent_desc * enp,Ofl_desc * ofl,Lineno lineno)237*11734SAli.Bahrami@Sun.COM Dbg_map_ent(Lm_list *lml, Ent_desc *enp, Ofl_desc *ofl, Lineno lineno)
2380Sstevel@tonic-gate {
2391618Srie if (DBG_NOTCLASS(DBG_C_MAP))
2400Sstevel@tonic-gate return;
2410Sstevel@tonic-gate
2421618Srie Dbg_util_nl(lml, DBG_NL_STD);
243*11734SAli.Bahrami@Sun.COM dbg_print(lml, MSG_INTL(MSG_MAP_EC), EC_LINENO(lineno));
244*11734SAli.Bahrami@Sun.COM Dbg_ent_entry(lml, ofl->ofl_dehdr->e_ident[EI_OSABI],
245*11734SAli.Bahrami@Sun.COM ofl->ofl_dehdr->e_machine, enp);
2460Sstevel@tonic-gate }
2470Sstevel@tonic-gate
2480Sstevel@tonic-gate void
Dbg_map_ent_ord_title(Lm_list * lml,const char * segname)249*11734SAli.Bahrami@Sun.COM Dbg_map_ent_ord_title(Lm_list *lml, const char *segname)
2500Sstevel@tonic-gate {
2511618Srie if (DBG_NOTCLASS(DBG_C_MAP))
2520Sstevel@tonic-gate return;
2530Sstevel@tonic-gate
254*11734SAli.Bahrami@Sun.COM Dbg_util_nl(lml, DBG_NL_STD);
255*11734SAli.Bahrami@Sun.COM dbg_print(lml, MSG_INTL(MSG_MAP_ENT_ORD_TITLE), segname);
2560Sstevel@tonic-gate }
2570Sstevel@tonic-gate
2580Sstevel@tonic-gate void
Dbg_map_seg_os_order(Lm_list * lml,Sg_desc * sgp,const char * sec_name,Word ndx,Lineno lineno)259*11734SAli.Bahrami@Sun.COM Dbg_map_seg_os_order(Lm_list *lml, Sg_desc *sgp, const char *sec_name,
260*11734SAli.Bahrami@Sun.COM Word ndx, Lineno lineno)
2610Sstevel@tonic-gate {
2621618Srie if (DBG_NOTCLASS(DBG_C_MAP))
2630Sstevel@tonic-gate return;
2640Sstevel@tonic-gate
265*11734SAli.Bahrami@Sun.COM dbg_print(lml, MSG_INTL(MSG_MAP_OS_ORDER), EC_LINENO(lineno),
266*11734SAli.Bahrami@Sun.COM sgp->sg_name, sec_name, EC_WORD(ndx));
2670Sstevel@tonic-gate }
2680Sstevel@tonic-gate
2690Sstevel@tonic-gate void
Dbg_map_seg(Ofl_desc * ofl,dbg_state_t dbg_state,int ndx,Sg_desc * sgp,Lineno lineno)270*11734SAli.Bahrami@Sun.COM Dbg_map_seg(Ofl_desc *ofl, dbg_state_t dbg_state, int ndx, Sg_desc *sgp,
271*11734SAli.Bahrami@Sun.COM Lineno lineno)
2720Sstevel@tonic-gate {
2731618Srie Lm_list *lml = ofl->ofl_lml;
2741618Srie
2751618Srie if (DBG_NOTCLASS(DBG_C_MAP))
2760Sstevel@tonic-gate return;
2770Sstevel@tonic-gate
278*11734SAli.Bahrami@Sun.COM Dbg_util_nl(lml, DBG_NL_STD);
279*11734SAli.Bahrami@Sun.COM dbg_print(lml, MSG_INTL(MSG_MAP_SEG), EC_LINENO(lineno),
280*11734SAli.Bahrami@Sun.COM Dbg_state_str(dbg_state));
281*11734SAli.Bahrami@Sun.COM Dbg_seg_desc_entry(ofl->ofl_lml, ofl->ofl_dehdr->e_ident[EI_OSABI],
282*11734SAli.Bahrami@Sun.COM ofl->ofl_dehdr->e_machine, ndx, sgp, FALSE);
283*11734SAli.Bahrami@Sun.COM Dbg_util_nl(lml, DBG_NL_STD);
284*11734SAli.Bahrami@Sun.COM }
285*11734SAli.Bahrami@Sun.COM
286*11734SAli.Bahrami@Sun.COM void
Dbg_map_seg_order(Ofl_desc * ofl,uchar_t osabi,Half mach,dbg_state_t dbg_state,Lineno lineno)287*11734SAli.Bahrami@Sun.COM Dbg_map_seg_order(Ofl_desc *ofl, uchar_t osabi, Half mach,
288*11734SAli.Bahrami@Sun.COM dbg_state_t dbg_state, Lineno lineno)
289*11734SAli.Bahrami@Sun.COM {
290*11734SAli.Bahrami@Sun.COM Lm_list *lml = ofl->ofl_lml;
291*11734SAli.Bahrami@Sun.COM Aliste idx;
292*11734SAli.Bahrami@Sun.COM Sg_desc *sgp;
293*11734SAli.Bahrami@Sun.COM Conv_inv_buf_t inv_buf;
294*11734SAli.Bahrami@Sun.COM const char *type_str;
295*11734SAli.Bahrami@Sun.COM
296*11734SAli.Bahrami@Sun.COM if (DBG_NOTCLASS(DBG_C_MAP))
297*11734SAli.Bahrami@Sun.COM return;
298*11734SAli.Bahrami@Sun.COM
299*11734SAli.Bahrami@Sun.COM Dbg_util_nl(lml, DBG_NL_STD);
300*11734SAli.Bahrami@Sun.COM dbg_print(lml, MSG_INTL(MSG_MAP_SEG_ORDER), EC_LINENO(lineno),
301*11734SAli.Bahrami@Sun.COM EC_XWORD(aplist_nitems(ofl->ofl_segs_order)),
302*11734SAli.Bahrami@Sun.COM Dbg_state_str(dbg_state));
303*11734SAli.Bahrami@Sun.COM for (APLIST_TRAVERSE(ofl->ofl_segs_order, idx, sgp)) {
304*11734SAli.Bahrami@Sun.COM type_str = conv_phdr_type(osabi, mach, sgp->sg_phdr.p_type,
305*11734SAli.Bahrami@Sun.COM 0, &inv_buf);
306*11734SAli.Bahrami@Sun.COM dbg_print(lml, MSG_ORIG(MSG_MAP_SORT_SEG_NAME), type_str,
307*11734SAli.Bahrami@Sun.COM sgp->sg_name);
3080Sstevel@tonic-gate }
309*11734SAli.Bahrami@Sun.COM Dbg_util_nl(lml, DBG_NL_STD);
3100Sstevel@tonic-gate }
311*11734SAli.Bahrami@Sun.COM
312*11734SAli.Bahrami@Sun.COM void
Dbg_map_post_title(Lm_list * lml)313*11734SAli.Bahrami@Sun.COM Dbg_map_post_title(Lm_list *lml)
314*11734SAli.Bahrami@Sun.COM {
315*11734SAli.Bahrami@Sun.COM if (DBG_NOTCLASS(DBG_C_MAP))
316*11734SAli.Bahrami@Sun.COM return;
317*11734SAli.Bahrami@Sun.COM
318*11734SAli.Bahrami@Sun.COM Dbg_util_nl(lml, DBG_NL_STD);
319*11734SAli.Bahrami@Sun.COM dbg_print(lml, MSG_INTL(MSG_MAP_POST_TITLE));
320*11734SAli.Bahrami@Sun.COM }
321*11734SAli.Bahrami@Sun.COM
322*11734SAli.Bahrami@Sun.COM void
Dbg_map_hdr_noalloc(Lm_list * lml,Lineno lineno)323*11734SAli.Bahrami@Sun.COM Dbg_map_hdr_noalloc(Lm_list *lml, Lineno lineno)
324*11734SAli.Bahrami@Sun.COM {
325*11734SAli.Bahrami@Sun.COM if (DBG_NOTCLASS(DBG_C_MAP))
326*11734SAli.Bahrami@Sun.COM return;
327*11734SAli.Bahrami@Sun.COM
328*11734SAli.Bahrami@Sun.COM Dbg_util_nl(lml, DBG_NL_STD);
329*11734SAli.Bahrami@Sun.COM dbg_print(lml, MSG_INTL(MSG_MAP_HDR_NOALLOC), EC_LINENO(lineno));
330*11734SAli.Bahrami@Sun.COM }
331