Spelling errors fixed in elf32.em

Hans-Peter Nilsson hans-peter.nilsson@axis.com
Tue Jan 23 22:17:00 GMT 2001


While learning ELF shlibs, I found reason to read through this
file.  Committed as obvious.

	* emultempl/elf32.em: Correct spelling in comments and listed
	options.

Index: elf32.em
===================================================================
RCS file: /cvs/src/src/ld/emultempl/elf32.em,v
retrieving revision 1.40
diff -p -c -r1.40 elf32.em
*** elf32.em	2001/01/14 04:36:35	1.40
--- elf32.em	2001/01/24 05:50:34
*************** if test -n "$EXTRA_EM_FILE" ; then
*** 77,83 ****
  . ${srcdir}/emultempl/${EXTRA_EM_FILE}.em
  fi
  
! # Functions in this file can be overriden by setting the LDEMUL_* shell
  # variables.  If the name of the overriding function is the same as is
  # defined in this file, then don't output this file's version.
  # If a different overriding name is given then output the standard function
--- 77,83 ----
  . ${srcdir}/emultempl/${EXTRA_EM_FILE}.em
  fi
  
! # Functions in this file can be overridden by setting the LDEMUL_* shell
  # variables.  If the name of the overriding function is the same as is
  # defined in this file, then don't output this file's version.
  # If a different overriding name is given then output the standard function
*************** static boolean global_vercheck_failed;
*** 123,129 ****
  
     This is called via lang_for_each_input_file.
     GLOBAL_VERCHECK_NEEDED is the list of objects needed by the object
!    which we ar checking.  This sets GLOBAL_VERCHECK_FAILED if we find
     a conflicting version.  */
  
  static void
--- 123,129 ----
  
     This is called via lang_for_each_input_file.
     GLOBAL_VERCHECK_NEEDED is the list of objects needed by the object
!    which we are checking.  This sets GLOBAL_VERCHECK_FAILED if we find
     a conflicting version.  */
  
  static void
*************** gld${EMULATION_NAME}_stat_needed (s)
*** 216,222 ****
       different versions of the same shared library.  For example,
       there may be a problem if -lc picks up libc.so.6 but some other
       shared library has a DT_NEEDED entry of libc.so.5.  This is a
!      hueristic test, and it will only work if the name looks like
       NAME.so.VERSION.  FIXME: Depending on file names is error-prone.
       If we really want to issue warnings about mixing version numbers
       of shared libraries, we need to find a better way.  */
--- 216,222 ----
       different versions of the same shared library.  For example,
       there may be a problem if -lc picks up libc.so.6 but some other
       shared library has a DT_NEEDED entry of libc.so.5.  This is a
!      heuristic test, and it will only work if the name looks like
       NAME.so.VERSION.  FIXME: Depending on file names is error-prone.
       If we really want to issue warnings about mixing version numbers
       of shared libraries, we need to find a better way.  */
*************** gld${EMULATION_NAME}_place_orphan (file,
*** 1102,1108 ****
  
    /* Choose a unique name for the section.  This will be needed if the
       same section name appears in the input file with different
!      loadable or allocateable characteristics.  */
    outsecname = secname;
    if (bfd_get_section_by_name (output_bfd, outsecname) != NULL)
      {
--- 1102,1108 ----
  
    /* Choose a unique name for the section.  This will be needed if the
       same section name appears in the input file with different
!      loadable or allocatable characteristics.  */
    outsecname = secname;
    if (bfd_get_section_by_name (output_bfd, outsecname) != NULL)
      {
*************** if test x"$GENERATE_SHLIB_SCRIPT" = xyes
*** 1465,1477 ****
  cat >>e${EMULATION_NAME}.c <<EOF
    fprintf (file, _("  --disable-new-dtags\tDisable new dynamic tags\n"));
    fprintf (file, _("  --enable-new-dtags\tEnable new dynamic tags\n"));
!   fprintf (file, _("  -z initfirst\t\tMark DSO to be initialized first at rutime\n"));
!   fprintf (file, _("  -z interpose\t\tMark object to interpose all DSOs but execuable\n"));
    fprintf (file, _("  -z loadfltr\t\tMark object requiring immediate process\n"));
    fprintf (file, _("  -z nodefaultlib\tMark object not to use default search paths\n"));
    fprintf (file, _("  -z nodelete\t\tMark DSO non-deletable at runtime\n"));
!   fprintf (file, _("  -z nodlopen\t\tMark DSO not availale to dlopen\n"));
!   fprintf (file, _("  -z nodump\t\tMark DSO not availale to dldump\n"));
    fprintf (file, _("  -z now\t\tMark object non-lazy runtime binding\n"));
    fprintf (file, _("  -z origin\t\tMark object requiring immediate \$ORIGIN processing\n"));
    fprintf (file, _("\t\t\t  at runtime\n"));
--- 1465,1477 ----
  cat >>e${EMULATION_NAME}.c <<EOF
    fprintf (file, _("  --disable-new-dtags\tDisable new dynamic tags\n"));
    fprintf (file, _("  --enable-new-dtags\tEnable new dynamic tags\n"));
!   fprintf (file, _("  -z initfirst\t\tMark DSO to be initialized first at runtime\n"));
!   fprintf (file, _("  -z interpose\t\tMark object to interpose all DSOs but executable\n"));
    fprintf (file, _("  -z loadfltr\t\tMark object requiring immediate process\n"));
    fprintf (file, _("  -z nodefaultlib\tMark object not to use default search paths\n"));
    fprintf (file, _("  -z nodelete\t\tMark DSO non-deletable at runtime\n"));
!   fprintf (file, _("  -z nodlopen\t\tMark DSO not available to dlopen\n"));
!   fprintf (file, _("  -z nodump\t\tMark DSO not available to dldump\n"));
    fprintf (file, _("  -z now\t\tMark object non-lazy runtime binding\n"));
    fprintf (file, _("  -z origin\t\tMark object requiring immediate \$ORIGIN processing\n"));
    fprintf (file, _("\t\t\t  at runtime\n"));

brgds, H-P


More information about the Binutils mailing list