#ifndef _MSG_DOT_H #define _MSG_DOT_H #include /* Msg typedef */ #ifndef __lint #define MSG_SGS_LOCAL_ARRAY __libelf_msg extern const char __libelf_msg[]; #define MSG_ORIG_STRTAB(_x, _s) &_s[_x] #define MSG_ORIG(x) MSG_ORIG_STRTAB(x, __libelf_msg) extern const char * _libelf_msg(Msg); #define MSG_INTL(x) _libelf_msg(x) #define EINF_NULLERROR 1 #define EINF_NULLERROR_SIZE 11 #define EBUG_COOKSTAT 13 #define EBUG_COOKSTAT_SIZE 27 #define EBUG_COOKTYPE 41 #define EBUG_COOKTYPE_SIZE 30 #define EBUG_SCNLIST 72 #define EBUG_SCNLIST_SIZE 35 #define EBUG_THRDKEY 108 #define EBUG_THRDKEY_SIZE 71 #define EBUG_THRDSET 180 #define EBUG_THRDSET_SIZE 79 #define EFMT_ARFMAG 260 #define EFMT_ARFMAG_SIZE 26 #define EFMT_ARHDRSZ 287 #define EFMT_ARHDRSZ_SIZE 38 #define EFMT_ARMEMSZ 326 #define EFMT_ARMEMSZ_SIZE 38 #define EFMT_ARSYM 365 #define EFMT_ARSYM_SIZE 38 #define EFMT_ARSYMSTR 404 #define EFMT_ARSYMSTR_SIZE 36 #define EFMT_ARSYMSZ 441 #define EFMT_ARSYMSZ_SIZE 33 #define EFMT_DATA 475 #define EFMT_DATA_SIZE 35 #define EFMT_EHDRSZ 511 #define EFMT_EHDRSZ_SIZE 23 #define EFMT_ENTSZ 535 #define EFMT_ENTSZ_SIZE 29 #define EFMT_PHDRSZ 565 #define EFMT_PHDRSZ_SIZE 29 #define EFMT_PHTAB 595 #define EFMT_PHTAB_SIZE 34 #define EFMT_SCNSZ 630 #define EFMT_SCNSZ_SIZE 48 #define EFMT_SHDRSZ 535 #define EFMT_SHDRSZ_SIZE 29 #define EFMT_SHTAB 679 #define EFMT_SHTAB_SIZE 34 #define EFMT_VER2 714 #define EFMT_VER2_SIZE 48 #define EFMT_VM 763 #define EFMT_VM_SIZE 36 #define EFMT_FBIG_CLASS32 800 #define EFMT_FBIG_CLASS32_SIZE 48 #define EFMT_FBIG_LARGEFILE 849 #define EFMT_FBIG_LARGEFILE_SIZE 89 #define EFMT_ARSTRNM 939 #define EFMT_ARSTRNM_SIZE 33 #define EFMT_ARUNKNM 973 #define EFMT_ARUNKNM_SIZE 42 #define EIO_FBIG 1016 #define EIO_FBIG_SIZE 34 #define EIO_FSZ 1051 #define EIO_FSZ_SIZE 24 #define EIO_READ 1076 #define EIO_READ_SIZE 19 #define EIO_SEEK 1096 #define EIO_SEEK_SIZE 15 #define EIO_SYNC 1112 #define EIO_SYNC_SIZE 23 #define EIO_VM 1136 #define EIO_VM_SIZE 22 #define EIO_WRITE 1159 #define EIO_WRITE_SIZE 23 #define EMEM_ARMEM 1183 #define EMEM_ARMEM_SIZE 46 #define EMEM_ARSTR 1230 #define EMEM_ARSTR_SIZE 55 #define EMEM_ARSYM 1286 #define EMEM_ARSYM_SIZE 39 #define EMEM_DATA 1326 #define EMEM_DATA_SIZE 37 #define EMEM_DNODE 1364 #define EMEM_DNODE_SIZE 34 #define EMEM_EHDR 1399 #define EMEM_EHDR_SIZE 29 #define EMEM_ELF 1429 #define EMEM_ELF_SIZE 39 #define EMEM_OUT 1469 #define EMEM_OUT_SIZE 42 #define EMEM_PHDR 1512 #define EMEM_PHDR_SIZE 35 #define EMEM_SCN 1548 #define EMEM_SCN_SIZE 40 #define EMEM_SHDR 1589 #define EMEM_SHDR_SIZE 35 #define EMEM_SNODE 1625 #define EMEM_SNODE_SIZE 37 #define EMEM_VM 1663 #define EMEM_VM_SIZE 33 #define EMEM_ERRMSG 1697 #define EMEM_ERRMSG_SIZE 49 #define EREQ_AR 1747 #define EREQ_AR_SIZE 26 #define EREQ_ARMEMFD 1774 #define EREQ_ARMEMFD_SIZE 45 #define EREQ_ARRDWR 1820 #define EREQ_ARRDWR_SIZE 49 #define EREQ_BEGIN 1870 #define EREQ_BEGIN_SIZE 32 #define EREQ_CLASS 1903 #define EREQ_CLASS_SIZE 41 #define EREQ_CNTLCMD 1945 #define EREQ_CNTLCMD_SIZE 31 #define EREQ_CNTLWRT 1977 #define EREQ_CNTLWRT_SIZE 48 #define EREQ_DATA 2026 #define EREQ_DATA_SIZE 32 #define EREQ_ENCODE 2059 #define EREQ_ENCODE_SIZE 36 #define EREQ_FLAG 2096 #define EREQ_FLAG_SIZE 31 #define EREQ_NDX 2128 #define EREQ_NDX_SIZE 34 #define EREQ_NOFD 2163 #define EREQ_NOFD_SIZE 39 #define EREQ_RAND 2203 #define EREQ_RAND_SIZE 34 #define EREQ_RDWR 2238 #define EREQ_RDWR_SIZE 53 #define EREQ_SCNNULL 2292 #define EREQ_SCNNULL_SIZE 44 #define EREQ_STROFF 2337 #define EREQ_STROFF_SIZE 41 #define EREQ_STRSCN 2379 #define EREQ_STRSCN_SIZE 30 #define EREQ_UPDATE 2410 #define EREQ_UPDATE_SIZE 33 #define EREQ_UPDWRT 2444 #define EREQ_UPDWRT_SIZE 51 #define EREQ_VER 2496 #define EREQ_VER_SIZE 30 #define EREQ_NOWRIMAGE 2527 #define EREQ_NOWRIMAGE_SIZE 54 #define EREQ_DSZ 2582 #define EREQ_DSZ_SIZE 36 #define EREQ_TYPE 2619 #define EREQ_TYPE_SIZE 32 #define ESEQ_EHDR 2652 #define ESEQ_EHDR_SIZE 32 #define ESEQ_VER 2685 #define ESEQ_VER_SIZE 31 #define MSG_SUNW_OST_SGS 2717 #define MSG_SUNW_OST_SGS_SIZE 12 #define MSG_FMT_ERR 2730 #define MSG_FMT_ERR_SIZE 6 #else /* __lint */ extern const char * _libelf_msg(Msg); #ifndef MSG_SGS_LOCAL_ARRAY #define MSG_SGS_LOCAL_ARRAY "" #endif extern const char __libelf_msg[]; #define MSG_ORIG_STRTAB(_x, _s) _x #define MSG_ORIG(x) x #define MSG_INTL(x) x #ifndef LINTSUP_SUPPRESS_STRINGS #define EINF_NULLERROR "Elf error 0" #define EINF_NULLERROR_SIZE 11 #define EBUG_COOKSTAT "Internal error: cook status" #define EBUG_COOKSTAT_SIZE 27 #define EBUG_COOKTYPE "Internal error: cook data type" #define EBUG_COOKTYPE_SIZE 30 #define EBUG_SCNLIST "Internal error: broken section list" #define EBUG_SCNLIST_SIZE 35 #define EBUG_THRDKEY "Internal error: thr_keycreate() failed. Unable to allocate error buffer" #define EBUG_THRDKEY_SIZE 71 #define EBUG_THRDSET "Internal error: thr_setspecific failed. Unable to create TSD for error message." #define EBUG_THRDSET_SIZE 79 #define EFMT_ARFMAG "Format error: archive fmag" #define EFMT_ARFMAG_SIZE 26 #define EFMT_ARHDRSZ "Format error: archive header truncated" #define EFMT_ARHDRSZ_SIZE 38 #define EFMT_ARMEMSZ "Format error: archive member truncated" #define EFMT_ARMEMSZ_SIZE 38 #define EFMT_ARSYM "Format error: archive symtab truncated" #define EFMT_ARSYM_SIZE 38 #define EFMT_ARSYMSTR "Format error: archive symtab strings" #define EFMT_ARSYMSTR_SIZE 36 #define EFMT_ARSYMSZ "Format error: archive symtab size" #define EFMT_ARSYMSZ_SIZE 33 #define EFMT_DATA "Format error: data region truncated" #define EFMT_DATA_SIZE 35 #define EFMT_EHDRSZ "Format error: ehdr size" #define EFMT_EHDRSZ_SIZE 23 #define EFMT_ENTSZ "Format error: shdr entry size" #define EFMT_ENTSZ_SIZE 29 #define EFMT_PHDRSZ "Format error: phdr entry size" #define EFMT_PHDRSZ_SIZE 29 #define EFMT_PHTAB "Format error: phdr table truncated" #define EFMT_PHTAB_SIZE 34 #define EFMT_SCNSZ "Format error: section sh_size too small for data" #define EFMT_SCNSZ_SIZE 48 #define EFMT_SHDRSZ "Format error: shdr entry size" #define EFMT_SHDRSZ_SIZE 29 #define EFMT_SHTAB "Format error: shdr table truncated" #define EFMT_SHTAB_SIZE 34 #define EFMT_VER2 "Format error: ehdr EI_VERSION/e_version mismatch" #define EFMT_VER2_SIZE 48 #define EFMT_VM "Format error: reference outside file" #define EFMT_VM_SIZE 36 #define EFMT_FBIG_CLASS32 "Format error: file size exceeds 4GB 32-bit limit" #define EFMT_FBIG_CLASS32_SIZE 48 #define EFMT_FBIG_LARGEFILE "Format error: file size exceeds 2GB limit of 32-bit linker. 64-bit linker is recommended." #define EFMT_FBIG_LARGEFILE_SIZE 89 #define EFMT_ARSTRNM "Format error: archive strtab name" #define EFMT_ARSTRNM_SIZE 33 #define EFMT_ARUNKNM "Format error: archive special name unknown" #define EFMT_ARUNKNM_SIZE 42 #define EIO_FBIG "I/O error: file too big for memory" #define EIO_FBIG_SIZE 34 #define EIO_FSZ "I/O error: get file size" #define EIO_FSZ_SIZE 24 #define EIO_READ "I/O error: raw read" #define EIO_READ_SIZE 19 #define EIO_SEEK "I/O error: seek" #define EIO_SEEK_SIZE 15 #define EIO_SYNC "I/O error: output msync" #define EIO_SYNC_SIZE 23 #define EIO_VM "I/O error: region read" #define EIO_VM_SIZE 22 #define EIO_WRITE "I/O error: output write" #define EIO_WRITE_SIZE 23 #define EMEM_ARMEM "Memory allocation error: archive member header" #define EMEM_ARMEM_SIZE 46 #define EMEM_ARSTR "Memory allocation error: archive long file name strings" #define EMEM_ARSTR_SIZE 55 #define EMEM_ARSYM "Memory allocation error: archive symtab" #define EMEM_ARSYM_SIZE 39 #define EMEM_DATA "Memory allocation error: section data" #define EMEM_DATA_SIZE 37 #define EMEM_DNODE "Memory allocation error: data node" #define EMEM_DNODE_SIZE 34 #define EMEM_EHDR "Memory allocation error: ehdr" #define EMEM_EHDR_SIZE 29 #define EMEM_ELF "Memory allocation error: elf descriptor" #define EMEM_ELF_SIZE 39 #define EMEM_OUT "Memory allocation error: output file space" #define EMEM_OUT_SIZE 42 #define EMEM_PHDR "Memory allocation error: phdr table" #define EMEM_PHDR_SIZE 35 #define EMEM_SCN "Memory allocation error: scn descriptors" #define EMEM_SCN_SIZE 40 #define EMEM_SHDR "Memory allocation error: shdr table" #define EMEM_SHDR_SIZE 35 #define EMEM_SNODE "Memory allocation error: section node" #define EMEM_SNODE_SIZE 37 #define EMEM_VM "Memory allocation error: vm stats" #define EMEM_VM_SIZE 33 #define EMEM_ERRMSG "Memory allocation error: during errmsg generation" #define EMEM_ERRMSG_SIZE 49 #define EREQ_AR "Request error: not archive" #define EREQ_AR_SIZE 26 #define EREQ_ARMEMFD "Request error: archive/member fildes mismatch" #define EREQ_ARMEMFD_SIZE 45 #define EREQ_ARRDWR "Request error: archive/member begin() for writing" #define EREQ_ARRDWR_SIZE 49 #define EREQ_BEGIN "Request error: begin() ELF_C_..." #define EREQ_BEGIN_SIZE 32 #define EREQ_CLASS "Request error: class file/memory mismatch" #define EREQ_CLASS_SIZE 41 #define EREQ_CNTLCMD "Request error: cntl() ELF_C_..." #define EREQ_CNTLCMD_SIZE 31 #define EREQ_CNTLWRT "Request error: cntl() ELF_C_FD... on output file" #define EREQ_CNTLWRT_SIZE 48 #define EREQ_DATA "Request error: data/scn mismatch" #define EREQ_DATA_SIZE 32 #define EREQ_ENCODE "Request error: unknown data encoding" #define EREQ_ENCODE_SIZE 36 #define EREQ_FLAG "Request error: flag() ELF_C_..." #define EREQ_FLAG_SIZE 31 #define EREQ_NDX "Request error: no section at index" #define EREQ_NDX_SIZE 34 #define EREQ_NOFD "Request error: file descriptor disabled" #define EREQ_NOFD_SIZE 39 #define EREQ_RAND "Request error: offset out of range" #define EREQ_RAND_SIZE 34 #define EREQ_RDWR "Request error: begin() ELF_C_... mismatch with parent" #define EREQ_RDWR_SIZE 53 #define EREQ_SCNNULL "Request error: can't manipulate null section" #define EREQ_SCNNULL_SIZE 44 #define EREQ_STROFF "Request error: string offset out of range" #define EREQ_STROFF_SIZE 41 #define EREQ_STRSCN "Request error: no string table" #define EREQ_STRSCN_SIZE 30 #define EREQ_UPDATE "Request error: update() ELF_C_..." #define EREQ_UPDATE_SIZE 33 #define EREQ_UPDWRT "Request error: update() for write on read-only file" #define EREQ_UPDWRT_SIZE 51 #define EREQ_VER "Request error: unknown version" #define EREQ_VER_SIZE 30 #define EREQ_NOWRIMAGE "Request error: update(WRIMAGE) not performed on parent" #define EREQ_NOWRIMAGE_SIZE 54 #define EREQ_DSZ "Request error: destination too small" #define EREQ_DSZ_SIZE 36 #define EREQ_TYPE "Request error: unknown ELF_T_..." #define EREQ_TYPE_SIZE 32 #define ESEQ_EHDR "Sequence error: ehdr not created" #define ESEQ_EHDR_SIZE 32 #define ESEQ_VER "Sequence error: version not set" #define ESEQ_VER_SIZE 31 #define MSG_SUNW_OST_SGS "SUNW_OST_SGS" #define MSG_SUNW_OST_SGS_SIZE 12 #define MSG_FMT_ERR "%s: %s" #define MSG_FMT_ERR_SIZE 6 #endif /* LINTSUP_SUPPRESS_STRINGS */ #endif /* __lint */ #endif