Changeset View
Changeset View
Standalone View
Standalone View
contrib/binutils/bfd/elfxx-mips.c
- This file is larger than 256 KB, so syntax highlighting is disabled by default.
Show First 20 Lines • Show All 3,960 Lines • ▼ Show 20 Lines | addend += sec->output_section->vma + sec->output_offset; | ||||
/* MIPS16 text labels should be treated as odd. */ | /* MIPS16 text labels should be treated as odd. */ | ||||
if (sym->st_other == STO_MIPS16) | if (sym->st_other == STO_MIPS16) | ||||
++symbol; | ++symbol; | ||||
/* Record the name of this symbol, for our caller. */ | /* Record the name of this symbol, for our caller. */ | ||||
*namep = bfd_elf_string_from_elf_section (input_bfd, | *namep = bfd_elf_string_from_elf_section (input_bfd, | ||||
symtab_hdr->sh_link, | symtab_hdr->sh_link, | ||||
sym->st_name); | sym->st_name); | ||||
if (*namep == '\0') | if (*namep == NULL || **namep == '\0') | ||||
*namep = bfd_section_name (input_bfd, sec); | *namep = bfd_section_name (input_bfd, sec); | ||||
target_is_16_bit_code_p = (sym->st_other == STO_MIPS16); | target_is_16_bit_code_p = (sym->st_other == STO_MIPS16); | ||||
} | } | ||||
else | else | ||||
{ | { | ||||
/* ??? Could we use RELOC_FOR_GLOBAL_SYMBOL here ? */ | /* ??? Could we use RELOC_FOR_GLOBAL_SYMBOL here ? */ | ||||
▲ Show 20 Lines • Show All 7,468 Lines • Show Last 20 Lines |