#ifndef _MSG_DOT_H #define _MSG_DOT_H #include /* Msg typedef */ #ifndef __lint #define MSG_SGS_LOCAL_ARRAY __ldprof_msg extern const char __ldprof_msg[]; #define MSG_ORIG_STRTAB(_x, _s) &_s[_x] #define MSG_ORIG(x) MSG_ORIG_STRTAB(x, __ldprof_msg) extern const char * _ldprof_msg(Msg); #define MSG_INTL(x) _ldprof_msg(x) #define MSG_SYS_OPEN 1 #define MSG_SYS_OPEN_SIZE 40 #define MSG_SYS_MMAP 42 #define MSG_SYS_MMAP_SIZE 40 #define MSG_SYS_FTRUNC 83 #define MSG_SYS_FTRUNC_SIZE 45 #define MSG_GEN_PROFSZCHG 129 #define MSG_GEN_PROFSZCHG_SIZE 92 #define MSG_GEN_AUDITVERSION 222 #define MSG_GEN_AUDITVERSION_SIZE 77 #define MSG_GEN_PROFNOTSET 300 #define MSG_GEN_PROFNOTSET_SIZE 80 #define MSG_SUNW_OST_SGS 381 #define MSG_SUNW_OST_SGS_SIZE 12 #define MSG_FMT_PROFILE 394 #define MSG_FMT_PROFILE_SIZE 7 #define MSG_FMT_PROCSELF 402 #define MSG_FMT_PROCSELF_SIZE 17 #define MSG_SUF_PROFILE 420 #define MSG_SUF_PROFILE_SIZE 8 #define MSG_SUF_PROFILE_64 429 #define MSG_SUF_PROFILE_64_SIZE 9 #define MSG_PTH_VARTMP 439 #define MSG_PTH_VARTMP_SIZE 8 #else /* __lint */ extern const char * _ldprof_msg(Msg); #ifndef MSG_SGS_LOCAL_ARRAY #define MSG_SGS_LOCAL_ARRAY "" #endif extern const char __ldprof_msg[]; #define MSG_ORIG_STRTAB(_x, _s) _x #define MSG_ORIG(x) x #define MSG_INTL(x) x #ifndef LINTSUP_SUPPRESS_STRINGS #define MSG_SYS_OPEN "%s: open failed: %s: profiling disabled\n" #define MSG_SYS_OPEN_SIZE 40 #define MSG_SYS_MMAP "%s: mmap failed: %s: profiling disabled\n" #define MSG_SYS_MMAP_SIZE 40 #define MSG_SYS_FTRUNC "%s: ftruncate failed: %s: profiling disabled\n" #define MSG_SYS_FTRUNC_SIZE 45 #define MSG_GEN_PROFSZCHG "ldprof.so: %s: profile target has changed size; recreate profile buffer: profiling disabled\n" #define MSG_GEN_PROFSZCHG_SIZE 92 #define MSG_GEN_AUDITVERSION "ldprof.so: audit version mismatch: expected %d, found %d: profiling disabled\n" #define MSG_GEN_AUDITVERSION_SIZE 77 #define MSG_GEN_PROFNOTSET "ldprof.so: profile target must be specified with LD_PROFILE: profiling disabled\n" #define MSG_GEN_PROFNOTSET_SIZE 80 #define MSG_SUNW_OST_SGS "SUNW_OST_SGS" #define MSG_SUNW_OST_SGS_SIZE 12 #define MSG_FMT_PROFILE "%s/%s%s" #define MSG_FMT_PROFILE_SIZE 7 #define MSG_FMT_PROCSELF "/proc/self/status" #define MSG_FMT_PROCSELF_SIZE 17 #define MSG_SUF_PROFILE ".profile" #define MSG_SUF_PROFILE_SIZE 8 #define MSG_SUF_PROFILE_64 ".profilex" #define MSG_SUF_PROFILE_64_SIZE 9 #define MSG_PTH_VARTMP "/var/tmp" #define MSG_PTH_VARTMP_SIZE 8 #endif /* LINTSUP_SUPPRESS_STRINGS */ #endif /* __lint */ #endif