Print this page
3616 SHF_GROUP sections should not be discarded via other COMDAT mechanisms
3709 need sloppy relocation for GNU .debug_macro
Reviewed by: Joshua M. Clulow <josh@sysmgr.org>
Reviewed by: Robert Mustacchi <rm@joyent.com>


 454 # ELF processing messages
 455 
 456 @ MSG_ELF_LIBELF        "libelf: version not supported: %d"
 457 
 458 @ MSG_ELF_ARMEM         "file %s: unable to locate archive member;\n\t\
 459                          offset=%x, symbol=%s"
 460 
 461 @ MSG_ELF_ARSYM         "file %s ignored: unable to locate archive symbol table"
 462 
 463 @ MSG_ELF_VERSYM        "file %s: version symbol section entry mismatch:\n\t\
 464                          (section [%u]%s entries=%d; section [%u]%s entries=%d)"
 465 
 466 @ MSG_ELF_NOGROUPSECT   "file %s: section [%u]%s: SHF_GROUP flag set, but no \
 467                          corresponding SHT_GROUP section found"
 468 
 469 # Section processing errors
 470 
 471 @ MSG_SCN_NONALLOC      "%s: non-allocatable section '%s' directed to a \
 472                          loadable segment: %s"
 473 



 474 # Symbol processing errors
 475 
 476 @ MSG_SYM_NOSECDEF      "symbol '%s' in file %s has no section definition"
 477 @ MSG_SYM_INVSEC        "symbol '%s' in file %s associated with invalid \
 478                          section[%lld]"
 479 @ MSG_SYM_TLS           "symbol '%s' in file %s (STT_TLS), is defined \
 480                          in a non-SHF_TLS section"
 481 @ MSG_SYM_BADADDR       "symbol '%s' in file %s: section [%u]%s: size %#llx: \
 482                          symbol (address %#llx, size %#llx) lies outside \
 483                          of containing section"
 484 @ MSG_SYM_BADADDR_ROTXT "symbol '%s' in file %s: readonly text section \
 485                          [%u]%s: size %#llx: symbol (address %#llx, \
 486                          size %#llx) lies outside of containing section"
 487 @ MSG_SYM_MULDEF        "symbol '%s' is multiply-defined:"
 488 @ MSG_SYM_CONFVIS       "symbol '%s' has conflicting visibilities:"
 489 @ MSG_SYM_DIFFTYPE      "symbol '%s' has differing types:"
 490 @ MSG_SYM_DIFFATTR      "symbol '%s' has differing %s:\n\
 491                          \t(file %s value=0x%llx; file %s value=0x%llx);"
 492 @ MSG_SYM_FILETYPES     "\t(file %s type=%s; file %s type=%s);"
 493 @ MSG_SYM_VISTYPES      "\t(file %s visibility=%s; file %s visibility=%s);"


 731 @ MSG_STR_ISALIST       "$ISALIST"
 732 @ MSG_STR_OSNAME        "$OSNAME"
 733 @ MSG_STR_OSREL         "$OSREL"
 734 @ MSG_STR_UU_REAL_U     "__real_"
 735 @ MSG_STR_UU_WRAP_U     "__wrap_"
 736 @ MSG_STR_UELF32        "_ELF32"
 737 @ MSG_STR_UELF64        "_ELF64"
 738 @ MSG_STR_USPARC        "_sparc"
 739 @ MSG_STR_UX86          "_x86"
 740 @ MSG_STR_TRUE          "true"
 741 
 742 @ MSG_STR_CDIR_ADD      "$add"
 743 @ MSG_STR_CDIR_CLEAR    "$clear"
 744 @ MSG_STR_CDIR_ERROR    "$error"
 745 @ MSG_STR_CDIR_MFVER    "$mapfile_version"
 746 @ MSG_STR_CDIR_IF       "$if"
 747 @ MSG_STR_CDIR_ELIF     "$elif"
 748 @ MSG_STR_CDIR_ELSE     "$else"
 749 @ MSG_STR_CDIR_ENDIF    "$endif"
 750 


 751 
 752 @ MSG_FMT_ARMEM         "%s(%s)"
 753 @ MSG_FMT_COLPATH       "%s:%s"
 754 @ MSG_FMT_SYMNAM        "'%s'"
 755 @ MSG_FMT_NULLSYMNAM    "%s[%d]"
 756 @ MSG_FMT_STRCAT        "%s%s"
 757 
 758 @ MSG_PTH_RTLD          "/usr/lib/ld.so.1"
 759 
 760 @ MSG_SUNW_OST_SGS      "SUNW_OST_SGS"
 761 
 762 
 763 # Section strings
 764 
 765 @ MSG_SCN_BSS           ".bss"
 766 @ MSG_SCN_DATA          ".data"
 767 @ MSG_SCN_COMMENT       ".comment"
 768 @ MSG_SCN_DEBUG         ".debug"
 769 @ MSG_SCN_DEBUG_INFO    ".debug_info"
 770 @ MSG_SCN_DYNAMIC       ".dynamic"




 454 # ELF processing messages
 455 
 456 @ MSG_ELF_LIBELF        "libelf: version not supported: %d"
 457 
 458 @ MSG_ELF_ARMEM         "file %s: unable to locate archive member;\n\t\
 459                          offset=%x, symbol=%s"
 460 
 461 @ MSG_ELF_ARSYM         "file %s ignored: unable to locate archive symbol table"
 462 
 463 @ MSG_ELF_VERSYM        "file %s: version symbol section entry mismatch:\n\t\
 464                          (section [%u]%s entries=%d; section [%u]%s entries=%d)"
 465 
 466 @ MSG_ELF_NOGROUPSECT   "file %s: section [%u]%s: SHF_GROUP flag set, but no \
 467                          corresponding SHT_GROUP section found"
 468 
 469 # Section processing errors
 470 
 471 @ MSG_SCN_NONALLOC      "%s: non-allocatable section '%s' directed to a \
 472                          loadable segment: %s"
 473 
 474 @ MSG_SCN_MULTICOMDAT   "file %s: section [%u]%s: cannot be susceptible to multiple \
 475                          COMDAT mechanisms: %s"
 476 
 477 # Symbol processing errors
 478 
 479 @ MSG_SYM_NOSECDEF      "symbol '%s' in file %s has no section definition"
 480 @ MSG_SYM_INVSEC        "symbol '%s' in file %s associated with invalid \
 481                          section[%lld]"
 482 @ MSG_SYM_TLS           "symbol '%s' in file %s (STT_TLS), is defined \
 483                          in a non-SHF_TLS section"
 484 @ MSG_SYM_BADADDR       "symbol '%s' in file %s: section [%u]%s: size %#llx: \
 485                          symbol (address %#llx, size %#llx) lies outside \
 486                          of containing section"
 487 @ MSG_SYM_BADADDR_ROTXT "symbol '%s' in file %s: readonly text section \
 488                          [%u]%s: size %#llx: symbol (address %#llx, \
 489                          size %#llx) lies outside of containing section"
 490 @ MSG_SYM_MULDEF        "symbol '%s' is multiply-defined:"
 491 @ MSG_SYM_CONFVIS       "symbol '%s' has conflicting visibilities:"
 492 @ MSG_SYM_DIFFTYPE      "symbol '%s' has differing types:"
 493 @ MSG_SYM_DIFFATTR      "symbol '%s' has differing %s:\n\
 494                          \t(file %s value=0x%llx; file %s value=0x%llx);"
 495 @ MSG_SYM_FILETYPES     "\t(file %s type=%s; file %s type=%s);"
 496 @ MSG_SYM_VISTYPES      "\t(file %s visibility=%s; file %s visibility=%s);"


 734 @ MSG_STR_ISALIST       "$ISALIST"
 735 @ MSG_STR_OSNAME        "$OSNAME"
 736 @ MSG_STR_OSREL         "$OSREL"
 737 @ MSG_STR_UU_REAL_U     "__real_"
 738 @ MSG_STR_UU_WRAP_U     "__wrap_"
 739 @ MSG_STR_UELF32        "_ELF32"
 740 @ MSG_STR_UELF64        "_ELF64"
 741 @ MSG_STR_USPARC        "_sparc"
 742 @ MSG_STR_UX86          "_x86"
 743 @ MSG_STR_TRUE          "true"
 744 
 745 @ MSG_STR_CDIR_ADD      "$add"
 746 @ MSG_STR_CDIR_CLEAR    "$clear"
 747 @ MSG_STR_CDIR_ERROR    "$error"
 748 @ MSG_STR_CDIR_MFVER    "$mapfile_version"
 749 @ MSG_STR_CDIR_IF       "$if"
 750 @ MSG_STR_CDIR_ELIF     "$elif"
 751 @ MSG_STR_CDIR_ELSE     "$else"
 752 @ MSG_STR_CDIR_ENDIF    "$endif"
 753 
 754 @ MSG_STR_GROUP         "GROUP"
 755 @ MSG_STR_SUNW_COMDAT   "SUNW_COMDAT"
 756 
 757 @ MSG_FMT_ARMEM         "%s(%s)"
 758 @ MSG_FMT_COLPATH       "%s:%s"
 759 @ MSG_FMT_SYMNAM        "'%s'"
 760 @ MSG_FMT_NULLSYMNAM    "%s[%d]"
 761 @ MSG_FMT_STRCAT        "%s%s"
 762 
 763 @ MSG_PTH_RTLD          "/usr/lib/ld.so.1"
 764 
 765 @ MSG_SUNW_OST_SGS      "SUNW_OST_SGS"
 766 
 767 
 768 # Section strings
 769 
 770 @ MSG_SCN_BSS           ".bss"
 771 @ MSG_SCN_DATA          ".data"
 772 @ MSG_SCN_COMMENT       ".comment"
 773 @ MSG_SCN_DEBUG         ".debug"
 774 @ MSG_SCN_DEBUG_INFO    ".debug_info"
 775 @ MSG_SCN_DYNAMIC       ".dynamic"