#ifndef _MSG_DOT_H #define _MSG_DOT_H #include /* Msg typedef */ #ifndef __lint #define MSG_SGS_LOCAL_ARRAY __ld_msg extern const char __ld_msg[]; #define MSG_ORIG_STRTAB(_x, _s) &_s[_x] #define MSG_ORIG(x) MSG_ORIG_STRTAB(x, __ld_msg) extern const char * _ld_msg(Msg); #define MSG_INTL(x) _ld_msg(x) #define MSG_SYS_OPEN 1 #define MSG_SYS_OPEN_SIZE 24 #define MSG_SYS_EXEC 26 #define MSG_SYS_EXEC_SIZE 24 #define MSG_SYS_ALLOC 51 #define MSG_SYS_ALLOC_SIZE 16 #define MSG_SYS_64 68 #define MSG_SYS_64_SIZE 38 #define MSG_ERR_BADTARG 107 #define MSG_ERR_BADTARG_SIZE 27 #define MSG_ERR_WARNING 135 #define MSG_ERR_WARNING_SIZE 9 #define MSG_ERR_GUIDANCE 145 #define MSG_ERR_GUIDANCE_SIZE 10 #define MSG_ERR_FATAL 156 #define MSG_ERR_FATAL_SIZE 7 #define MSG_ERR_ELF 164 #define MSG_ERR_ELF_SIZE 11 #define MSG_STR_EMPTY 0 #define MSG_STR_EMPTY_SIZE 0 #define MSG_STR_NL 176 #define MSG_STR_NL_SIZE 1 #define MSG_STR_LDDIAG 178 #define MSG_STR_LDDIAG_SIZE 4 #define MSG_STR_ELFDIAG 63 #define MSG_STR_ELFDIAG_SIZE 4 #define MSG_ARG_TWO 183 #define MSG_ARG_TWO_SIZE 1 #define MSG_ARG_FOUR 193 #define MSG_ARG_FOUR_SIZE 1 #define MSG_ARG_ALTEXEC64 185 #define MSG_ARG_ALTEXEC64_SIZE 9 #define MSG_ARG_TARGET 195 #define MSG_ARG_TARGET_SIZE 7 #define MSG_LD_OPTIONS 203 #define MSG_LD_OPTIONS_SIZE 10 #define MSG_LD_ALTEXEC 214 #define MSG_LD_ALTEXEC_SIZE 11 #define MSG_SUNW_OST_SGS 226 #define MSG_SUNW_OST_SGS_SIZE 12 #define MSG_TARG_SPARC 239 #define MSG_TARG_SPARC_SIZE 5 #define MSG_TARG_X86 245 #define MSG_TARG_X86_SIZE 3 #else /* __lint */ extern const char * _ld_msg(Msg); #ifndef MSG_SGS_LOCAL_ARRAY #define MSG_SGS_LOCAL_ARRAY "" #endif extern const char __ld_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 "file %s: open failed: %s" #define MSG_SYS_OPEN_SIZE 24 #define MSG_SYS_EXEC "file %s: exec failed: %s" #define MSG_SYS_EXEC_SIZE 24 #define MSG_SYS_ALLOC "alloc failed: %s" #define MSG_SYS_ALLOC_SIZE 16 #define MSG_SYS_64 "unable to execute 64-bit version of ld" #define MSG_SYS_64_SIZE 38 #define MSG_ERR_BADTARG "unknown target platform: %s" #define MSG_ERR_BADTARG_SIZE 27 #define MSG_ERR_WARNING "warning: " #define MSG_ERR_WARNING_SIZE 9 #define MSG_ERR_GUIDANCE "guidance: " #define MSG_ERR_GUIDANCE_SIZE 10 #define MSG_ERR_FATAL "fatal: " #define MSG_ERR_FATAL_SIZE 7 #define MSG_ERR_ELF "elf error: " #define MSG_ERR_ELF_SIZE 11 #define MSG_STR_EMPTY "" #define MSG_STR_EMPTY_SIZE 0 #define MSG_STR_NL "\n" #define MSG_STR_NL_SIZE 1 #define MSG_STR_LDDIAG "ld: " #define MSG_STR_LDDIAG_SIZE 4 #define MSG_STR_ELFDIAG ": %s" #define MSG_STR_ELFDIAG_SIZE 4 #define MSG_ARG_TWO "2" #define MSG_ARG_TWO_SIZE 1 #define MSG_ARG_FOUR "4" #define MSG_ARG_FOUR_SIZE 1 #define MSG_ARG_ALTEXEC64 "altexec64" #define MSG_ARG_ALTEXEC64_SIZE 9 #define MSG_ARG_TARGET "target=" #define MSG_ARG_TARGET_SIZE 7 #define MSG_LD_OPTIONS "LD_OPTIONS" #define MSG_LD_OPTIONS_SIZE 10 #define MSG_LD_ALTEXEC "LD_ALTEXEC=" #define MSG_LD_ALTEXEC_SIZE 11 #define MSG_SUNW_OST_SGS "SUNW_OST_SGS" #define MSG_SUNW_OST_SGS_SIZE 12 #define MSG_TARG_SPARC "sparc" #define MSG_TARG_SPARC_SIZE 5 #define MSG_TARG_X86 "x86" #define MSG_TARG_X86_SIZE 3 #endif /* LINTSUP_SUPPRESS_STRINGS */ #endif /* __lint */ #endif