FreeBSD/contrib/binutils/gas/config/tc-mips.c
/* This function is called after the relocs have been generated.
   We've been storing mips16 text labels as odd.  Here we convert them
   back to even for the convenience of the debugger.  */
This function is called after the relocs have been generated.
We've been storing mips16 text labels as odd.  Here we convert them
back to even for the convenience of the debugger.
This function is called after the relocs have been generated . We ' ve been storing mips16 text labels as odd . Here we convert them back to even for the convenience of the debugger .
void
mips_frob_file_after_relocs (void)
{
  asymbol **syms;
  unsigned int count, i;
  if (!IS_ELF)
    return;
  syms = bfd_get_outsymbols (stdoutput);
  count = bfd_get_symcount (stdoutput);
  for (i = 0; i < count; i++, syms++)
    {
      if (elf_symbol (*syms)->internal_elf_sym.st_other == STO_MIPS16
	  && ((*syms)->value & 1) != 0)
	{
	  (*syms)->value &= ~1;
	  if ((elf_symbol (*syms)->internal_elf_sym.st_size & 1) != 0)
	    ++elf_symbol (*syms)->internal_elf_sym.st_size;
	}
    }
}
void mips_frob_file_after_relocs ( void ) { asymbol * * syms ; unsigned int count , i ; if ( ! IS_ELF ) return ; syms = bfd_get_outsymbols ( stdoutput ) ; count = bfd_get_symcount ( stdoutput ) ; for ( i = 0 ; i < count ; i ++ , syms ++ ) { if ( elf_symbol ( * syms ) -> internal_elf_sym . st_other == STO_MIPS16 && ( ( * syms ) -> value & 1 ) != 0 ) { ( * syms ) -> value &= ~ 1 ; if ( ( elf_symbol ( * syms ) -> internal_elf_sym . st_size & 1 ) != 0 ) ++ elf_symbol ( * syms ) -> internal_elf_sym . st_size ; } } }
This function is called after the relocs have been generated.
This function is called after the relocs have been generated .
/* If the symbol has an odd size, it was probably computed
	     incorrectly, so adjust that as well.  */