Print this page
10366 ld(1) should support GNU-style linker sets
10367 ld(1) tests should be a real test suite
10368 want an ld(1) regression test for i386 LD tls transition (10267)

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/sgs/libld/common/libld.msg
          +++ new/usr/src/cmd/sgs/libld/common/libld.msg
↓ open down ↓ 28 lines elided ↑ open up ↑
  29   29  #
  30   30  
  31   31  @ _START_
  32   32  
  33   33  # Message file for cmd/sgs/libld.
  34   34  
  35   35  @ MSG_ID_LIBLD
  36   36  
  37   37  #
  38   38  # TRANSLATION_NOTE -- Beginning of USAGE message
  39      -#       The following messages are the usage messages for the ld command.
       39 +#       The following messages are the usage messages for the ld command.
  40   40  #       Tab characters (\t) are used to align the messages.
  41   41  #
  42   42  #       Each usage message starts with \t, and if the message has more than one
  43   43  #               line, the following messages are aligned by 3 tab characters.
  44   44  #               When you see \n\t\t\t, the first \n is used to change the line,
  45   45  #               and following 3 tab characters are used to align the line.
  46   46  #
  47   47  #       Each usage message option is surrounded by [ and ].  Then the
  48   48  #       description of the option follows. The descriptions should be aligned,
  49   49  #       so tab characters are padded as needed after the closing bracket ].
  50   50  #
  51   51  #       How to align the messages are up to the translators and the
  52   52  #       localization engineers.
  53   53  #
  54   54  #       In C locale, the first 3 messages would look like the following:
  55   55  #
  56   56  #       usage: ld [-6:abc:.....] file(s)
  57      -#               [-a]            create an absolute file
  58      -#               [-b]            do not do special PIC relocations in a.out
  59      -#               [-c file]       record configuration 'file'
       57 +#               [-a]            create an absolute file
       58 +#               [-b]            do not do special PIC relocations in a.out
       59 +#               [-c file]       record configuration 'file'
  60   60  #
  61   61  @ MSG_ARG_USAGE         "usage: ld [-%s] file(s)\n"
  62   62  @ MSG_ARG_DETAIL_3      "\t[-32]\t\tenforce a 32-bit link-edit\n"
  63   63  @ MSG_ARG_DETAIL_6      "\t[-64]\t\tenforce a 64-bit link-edit\n"
  64   64  @ MSG_ARG_DETAIL_A      "\t[-a]\t\tcreate an absolute file\n"
  65   65  @ MSG_ARG_DETAIL_B      "\t[-b]\t\tdo not do special PIC relocations in a.out\n"
  66   66  @ MSG_ARG_DETAIL_CBDR   "\t[-B direct | nodirect]\n\
  67   67                           \t\t\testablish direct bindings, or inhibit direct \
  68   68                           binding\n\
  69   69                           \t\t\tto, the object being created\n"
↓ open down ↓ 276 lines elided ↑ open up ↑
 346  346                           section [%u]%s: redirected to file %s"
 347  347  @ MSG_REL_SLOPCDATNOSYM "relocation warning: %s: file %s: section [%u]%s: \
 348  348                           symbol %s: relocation against discarded COMDAT \
 349  349                           section [%u]%s: symbol not found, relocation ignored"
 350  350  
 351  351  @ MSG_REL_NOREG         "relocation error: REGISTER relocation not supported \
 352  352                           on target architecture"
 353  353  
 354  354  #
 355  355  # TRANSLATION_NOTE
 356      -#       The following 7 messages are the message to print the
      356 +#       The following 7 messages are the message to print the
 357  357  #       following example messages.
 358  358  #
 359  359  #Text relocation remains                      referenced
 360  360  #    against symbol                 offset      in file
 361      -#str                                 0x14       main.o
 362      -#printf                              0x1c       main.o
      361 +#str                                 0x14       main.o
      362 +#printf                              0x1c       main.o
 363  363  #
 364  364  #       The first two lines are the header, and the next msgid
 365  365  #       is the format string for the header.
 366  366  #       Tabs and spaces are used for alignment.
 367  367  #       The first and third %s are for: "Text relocation remains against symbol"
 368  368  #       The second %s and fourth %s are for: "referenced in file"
 369  369  #       The third %s is for: "offset"
 370  370  #
 371  371  @ MSG_REL_REMAIN_FMT_1  "%-40s\t%s\n    %s\t\t    %s\t%s"
 372  372  #
↓ open down ↓ 96 lines elided ↑ open up ↑
 469  469  # Section processing errors
 470  470  
 471  471  @ MSG_SCN_NONALLOC      "%s: non-allocatable section '%s' directed to a \
 472  472                           loadable segment: %s"
 473  473  
 474  474  @ MSG_SCN_MULTICOMDAT   "file %s: section [%u]%s: cannot be susceptible to multiple \
 475  475                           COMDAT mechanisms: %s"
 476  476  
 477  477  @ MSG_SCN_DWFOVRFLW     "%s: section %s: encoded DWARF data exceeds \
 478  478                           section size"
 479      -@ MSG_SCN_DWFBADENC     "%s: section %s: invalid DWARF encoding: %#x"                         
      479 +@ MSG_SCN_DWFBADENC     "%s: section %s: invalid DWARF encoding: %#x"
 480  480  
 481  481  # Symbol processing errors
 482  482  
 483  483  @ MSG_SYM_NOSECDEF      "symbol '%s' in file %s has no section definition"
 484  484  @ MSG_SYM_INVSEC        "symbol '%s' in file %s associated with invalid \
 485  485                           section[%lld]"
 486  486  @ MSG_SYM_TLS           "symbol '%s' in file %s (STT_TLS), is defined \
 487  487                           in a non-SHF_TLS section"
 488  488  @ MSG_SYM_BADADDR       "symbol '%s' in file %s: section [%u]%s: size %#llx: \
 489  489                           symbol (address %#llx, size %#llx) lies outside \
↓ open down ↓ 46 lines elided ↑ open up ↑
 536  536  # Support library failures
 537  537  #
 538  538  @ MSG_SUP_NOLOAD        "dlopen() of support library (%s) failed with \
 539  539                           error: %s"
 540  540  @ MSG_SUP_BADVERSION    "initialization of support library (%s) failed with \
 541  541                           bad version.  supported: %d returned: %d"
 542  542  
 543  543  
 544  544  #
 545  545  # TRANSLATION_NOTE
 546      -#       The following 7 messages are the message to print the
      546 +#       The following 7 messages are the message to print the
 547  547  #       following example messages.
 548  548  #
 549  549  #Undefined                      first referenced
 550      -# symbol                            in file
      550 +# symbol                            in file
 551  551  #inquire                            halt_hold.o
 552  552  #
 553  553  @ MSG_SYM_FMT_UNDEF     "%s\t\t\t%s\
 554  554                           \n %s  \t\t\t    %s"
 555  555  
 556  556  #
 557  557  # TRANSLATION_NOTE
 558  558  #       The next two msdid make a sentence. So translate:
 559  559  #               "Undefined symbol"
 560  560  #       And separate them into two msgstr considering the proper
↓ open down ↓ 311 lines elided ↑ open up ↑
 872  872  @ MSG_SYM_PLKTBL        "PROCEDURE_LINKAGE_TABLE_"
 873  873  @ MSG_SYM_PLKTBL_U      "_PROCEDURE_LINKAGE_TABLE_"
 874  874  @ MSG_SYM_TLSGETADDR_U  "__tls_get_addr"
 875  875  @ MSG_SYM_TLSGETADDR_UU "___tls_get_addr"
 876  876  
 877  877  @ MSG_SYM_L_END         "END_"
 878  878  @ MSG_SYM_L_END_U       "_END_"
 879  879  @ MSG_SYM_L_START       "START_"
 880  880  @ MSG_SYM_L_START_U     "_START_"
 881  881  
      882 +@ MSG_SYM_SECBOUND_START "__start_"
      883 +@ MSG_SYM_SECBOUND_STOP "__stop_"
      884 +
 882  885  # Support functions
 883  886  
 884  887  @ MSG_SUP_VERSION       "ld_version"
 885  888  @ MSG_SUP_INPUT_DONE    "ld_input_done"
 886  889  
 887  890  @ MSG_SUP_START_64      "ld_start64"
 888  891  @ MSG_SUP_ATEXIT_64     "ld_atexit64"
 889  892  @ MSG_SUP_OPEN_64       "ld_open64"
 890  893  @ MSG_SUP_FILE_64       "ld_file64"
 891  894  @ MSG_SUP_INSEC_64      "ld_input_section64"
 892  895  @ MSG_SUP_SEC_64        "ld_section64"
 893  896  
 894  897  @ MSG_SUP_START         "ld_start"
 895  898  @ MSG_SUP_ATEXIT        "ld_atexit"
 896  899  @ MSG_SUP_OPEN          "ld_open"
 897  900  @ MSG_SUP_FILE          "ld_file"
 898  901  @ MSG_SUP_INSEC         "ld_input_section"
 899  902  @ MSG_SUP_SEC           "ld_section"
 900  903  
 901      -# 
      904 +#
 902  905  # Message previously in 'ld'
 903  906  #
 904      -# 
      907 +#
 905  908  @ _START_
 906  909  
 907  910  # System error messages
 908  911  
 909  912  @ MSG_SYS_STAT          "file %s: stat failed: %s"
 910  913  @ MSG_SYS_READ          "file %s: read failed: %s"
 911  914  @ MSG_SYS_NOTREG        "file %s: is not a regular file"
 912  915  
 913  916  # Argument processing messages
 914  917  
↓ open down ↓ 57 lines elided ↑ open up ↑
 972  975  
 973  976  @ MSG_ENT_MAP_FMT_TIL_1 "\t\t%s\n\n"
 974  977  @ MSG_ENT_MAP_TITLE_1   "LINK EDITOR MEMORY MAP"
 975  978  
 976  979  #
 977  980  # TRANSLATION_NOTE -- Entry map header
 978  981  #
 979  982  # The next message is a format string for a title. The title is composed of
 980  983  # two lines. In C locale, it would look like:
 981  984  #
 982      -#       output          input           new
      985 +#       output          input           new
 983  986  #       section         section         displacement    size
 984  987  #
 985  988  # The \t characters are used for alignment.  (output section), (input section),
 986  989  # and (new displacement) have to be aligned.
 987  990  #
 988  991  @ MSG_ENT_MAP_FMT_TIL_2 "\n%s\t\t%s\t\t%s\n%s\t\t%s\t\t%s\t%s\n\n"
 989  992  @ MSG_ENT_MAP_FMT_TIL_3 "\n%s\t\t%s\t\t%s\n%s\t\t%s\t\t%s\t\t%s\n\n"
 990  993  @ MSG_ENT_ITM_OUTPUT    "output"
 991  994  @ MSG_ENT_ITM_INPUT     "input"
 992  995  @ MSG_ENT_ITM_NEW       "new"
↓ open down ↓ 307 lines elided ↑ open up ↑
1300 1303  @ MSG_DBG_CLS64_FMT     "64: "
1301 1304  
1302 1305  @ MSG_STR_PATHTOK       ";:"
1303 1306  @ MSG_STR_AOUT          "a.out"
1304 1307  
1305 1308  @ MSG_STR_LIB_A         "%s/lib%s.a"
1306 1309  @ MSG_STR_LIB_SO        "%s/lib%s.so"
1307 1310  @ MSG_STR_PATH          "%s/%s"
1308 1311  @ MSG_STR_STRNL         "%s\n"
1309 1312  @ MSG_STR_NL            "\n"
1310      -@ MSG_STR_CAPGROUPID    "CAP_GROUP_%d"
     1313 +@ MSG_STR_CAPGROUPID    "CAP_GROUP_%d"
1311 1314  
1312 1315  @ MSG_STR_LD_DYNAMIC    "dynamic"
1313 1316  @ MSG_STR_SYMBOLIC      "symbolic"
1314 1317  @ MSG_STR_ELIMINATE     "eliminate"
1315 1318  @ MSG_STR_LOCAL         "local"
1316 1319  @ MSG_STR_PROGBITS      "progbits"
1317 1320  @ MSG_STR_SYMTAB        "symtab"
1318 1321  @ MSG_STR_DYNSYM        "dynsym"
1319 1322  @ MSG_STR_REL           "rel"
1320 1323  @ MSG_STR_RELA          "rela"
↓ open down ↓ 284 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX