Home | History | Annotate | Download | only in bfd

Lines Matching refs:symbol

152   /* 32 bit symbol relative relocation.  */
185 /* High 16 bits of symbol value. */
200 /* Low 16 bits of symbol value. */
896 /* MIPS16 high 16 bits of symbol value. */
911 /* MIPS16 low 16 bits of symbol value. */
1056 /* High 16 bits of symbol value. */
1071 /* Low 16 bits of symbol value. */
1373 /* Low 16 bits of symbol value. Note that the high 16 bits of symbol values
1667 /* The linker script will have created a symbol named `_gp' with the
1699 symbol value correctly. We look up the symbol _gp in the output
1701 target data. We don't need to adjust the symbol value for an
1702 external symbol if we are producing relocatable output. */
1705 mips_elf_final_gp (bfd *output_bfd, asymbol *symbol, bfd_boolean relocatable,
1708 if (bfd_is_und_section (symbol->section)
1718 || (symbol->flags & BSF_SECTION_SYM) != 0))
1723 *pgp = symbol->section->output_section->vma /*+ 0x4000*/;
1745 asymbol *symbol, void *data,
1758 && (symbol->flags & BSF_SECTION_SYM) == 0
1759 && (symbol->flags & BSF_LOCAL) != 0)
1762 _("literal relocation occurs for an external symbol");
1771 output_bfd = symbol->section->output_section->owner;
1774 ret = mips_elf_final_gp (output_bfd, symbol, relocatable, error_message,
1782 ret = _bfd_mips_elf_gprel16_with_gp (abfd, symbol, reloc_entry,
1795 mips_elf_gprel32_reloc (bfd *abfd, arelent *reloc_entry, asymbol *symbol,
1805 && (symbol->flags & BSF_SECTION_SYM) == 0
1806 && (symbol->flags & BSF_LOCAL) != 0)
1809 _("32bits gp relative relocation occurs for an external symbol");
1818 output_bfd = symbol->section->output_section->owner;
1821 ret = mips_elf_final_gp (output_bfd, symbol, relocatable,
1826 return gprel32_with_gp (abfd, symbol, reloc_entry, input_section,
1831 gprel32_with_gp (bfd *abfd, asymbol *symbol, arelent *reloc_entry,
1838 if (bfd_is_com_section (symbol->section))
1841 relocation = symbol->value;
1843 relocation += symbol->section->output_section->vma;
1844 relocation += symbol->section->output_offset;
1849 /* Set val to the offset into the section or symbol. */
1857 an external symbol. */
1859 || (symbol->flags & BSF_SECTION_SYM) != 0)
1879 asymbol *symbol ATTRIBUTE_UNUSED,
1913 mips16_gprel_reloc (bfd *abfd, arelent *reloc_entry, asymbol *symbol,
1922 /* If we're relocating, and this is an external symbol, we don't want
1925 && (symbol->flags & BSF_SECTION_SYM) == 0
1926 && (symbol->flags & BSF_LOCAL) != 0)
1937 output_bfd = symbol->section->output_section->owner;
1940 ret = mips_elf_final_gp (output_bfd, symbol, relocatable, error_message,
1948 ret = _bfd_mips_elf_gprel16_with_gp (abfd, symbol, reloc_entry,
2226 when we do the relocation, because the symbol manipulations done
2245 /* Determine whether a symbol is global for the purposes of splitting
2246 the symbol table into global symbols and local symbols. At least
2273 /* Irix 5 and 6 are broken. Object file symbol tables are not always
2275 and the sh_info field in the symbol table is not always right. */
2377 /* Symbol table magic number. */