#include "bfd.h"#include "sysdep.h"#include "libbfd.h"#include "coff/powerpc.h"#include "coff/internal.h"#include "coff/pe.h"#include "libcoff.h"#include "coffcode.h"


Go to the source code of this file.
| #define BADMAG | ( | x | ) | PPCBADMAG(x) |
Definition at line 54 of file coff-ppc.c.
| #define coff_bfd_final_link ppc_bfd_coff_final_link |
Definition at line 1984 of file coff-ppc.c.
| #define coff_bfd_link_hash_table_create ppc_coff_link_hash_table_create |
Definition at line 224 of file coff-ppc.c.
| #define coff_bfd_reloc_type_lookup ppc_coff_reloc_type_lookup |
Definition at line 1981 of file coff-ppc.c.
| #define COFF_DEFAULT_SECTION_ALIGNMENT_POWER (3) |
Definition at line 234 of file coff-ppc.c.
| #define COFF_PAGE_SIZE 0x1000 |
Definition at line 1991 of file coff-ppc.c.
| #define coff_relocate_section coff_ppc_relocate_section |
Definition at line 1983 of file coff-ppc.c.
| #define coff_rtype_to_howto coff_ppc_rtype_to_howto |
Definition at line 1982 of file coff-ppc.c.
| #define COFF_SECTION_ALIGNMENT_ENTRIES |
Value:
{ COFF_SECTION_NAME_EXACT_MATCH (".idata$2"), \
COFF_ALIGNMENT_FIELD_EMPTY, COFF_ALIGNMENT_FIELD_EMPTY, 0 }, \
{ COFF_SECTION_NAME_EXACT_MATCH (".idata$3"), \
COFF_ALIGNMENT_FIELD_EMPTY, COFF_ALIGNMENT_FIELD_EMPTY, 0 }, \
{ COFF_SECTION_NAME_EXACT_MATCH (".idata$4"), \
COFF_ALIGNMENT_FIELD_EMPTY, COFF_ALIGNMENT_FIELD_EMPTY, 2 }, \
{ COFF_SECTION_NAME_EXACT_MATCH (".idata$5"), \
COFF_ALIGNMENT_FIELD_EMPTY, COFF_ALIGNMENT_FIELD_EMPTY, 2 }, \
{ COFF_SECTION_NAME_EXACT_MATCH (".idata$6"), \
COFF_ALIGNMENT_FIELD_EMPTY, COFF_ALIGNMENT_FIELD_EMPTY, 1 }, \
{ COFF_SECTION_NAME_EXACT_MATCH (".reloc"), \
COFF_ALIGNMENT_FIELD_EMPTY, COFF_ALIGNMENT_FIELD_EMPTY, 1 }
Definition at line 1998 of file coff-ppc.c.
| #define DUMP_RELOC | ( | n, | |||
| r | ) |
Definition at line 787 of file coff-ppc.c.
Referenced by ppc_imglue_reloc(), ppc_pair_reloc(), ppc_refhi_reloc(), ppc_secrel_reloc(), ppc_section_reloc(), and ppc_toc16_reloc().
| #define DUMP_RELOC2 | ( | n, | |||
| r | ) |
Definition at line 788 of file coff-ppc.c.
Referenced by coff_ppc_relocate_section(), coff_ppc_rtype_to_howto(), and ppc_coff_rtype2howto().
| #define EXTRACT_FLAGS | ( | x | ) | ((x) & IMAGE_REL_PPC_FLAGMASK) |
Definition at line 319 of file coff-ppc.c.
Referenced by coff_ppc_relocate_section(), coff_ppc_rtype_to_howto(), and ppc_coff_rtype2howto().
| #define EXTRACT_JUNK | ( | x | ) | ((x) & ~(IMAGE_REL_PPC_TYPEMASK | IMAGE_REL_PPC_FLAGMASK)) |
Definition at line 320 of file coff-ppc.c.
Referenced by coff_ppc_rtype_to_howto(), and ppc_coff_rtype2howto().
| #define EXTRACT_TYPE | ( | x | ) | ((x) & IMAGE_REL_PPC_TYPEMASK) |
Definition at line 318 of file coff-ppc.c.
Referenced by coff_ppc_relocate_section(), coff_ppc_rtype_to_howto(), and ppc_coff_rtype2howto().
| #define HASH_CHECK | ( | addr | ) |
| #define HASH_CHECK_DCL |
Definition at line 100 of file coff-ppc.c.
| #define HASH_CHECK_INIT | ( | ret | ) |
| #define HOW2MAP | ( | bfd_rtype, | |||
| ppc_rtype | ) | case bfd_rtype: return &ppc_coff_howto_table[ppc_rtype] |
Definition at line 1946 of file coff-ppc.c.
| #define IMAGE_REL_PPC_ABSOLUTE 0x0000 |
| #define IMAGE_REL_PPC_ADDR14 0x0005 |
Definition at line 258 of file coff-ppc.c.
| #define IMAGE_REL_PPC_ADDR16 0x0004 |
Definition at line 255 of file coff-ppc.c.
Referenced by coff_ppc_relocate_section(), coff_ppc_rtype_to_howto(), ppc_coff_reloc_type_lookup(), and ppc_coff_rtype2howto().
| #define IMAGE_REL_PPC_ADDR24 0x0003 |
Definition at line 252 of file coff-ppc.c.
Referenced by coff_ppc_relocate_section(), coff_ppc_rtype_to_howto(), ppc_coff_reloc_type_lookup(), and ppc_coff_rtype2howto().
| #define IMAGE_REL_PPC_ADDR32 0x0002 |
Definition at line 249 of file coff-ppc.c.
Referenced by coff_ppc_relocate_section(), coff_ppc_rtype_to_howto(), ppc_coff_reloc_type_lookup(), and ppc_coff_rtype2howto().
| #define IMAGE_REL_PPC_ADDR32NB 0x000A |
Definition at line 273 of file coff-ppc.c.
Referenced by coff_ppc_relocate_section(), coff_ppc_rtype_to_howto(), in_reloc_p(), ppc_coff_reloc_type_lookup(), and ppc_coff_rtype2howto().
| #define IMAGE_REL_PPC_ADDR64 0x0001 |
Definition at line 246 of file coff-ppc.c.
| #define IMAGE_REL_PPC_BRNTAKEN 0x0400 |
Definition at line 309 of file coff-ppc.c.
| #define IMAGE_REL_PPC_BRTAKEN 0x0200 |
Definition at line 306 of file coff-ppc.c.
| #define IMAGE_REL_PPC_FLAGMASK 0x0F00 |
Definition at line 316 of file coff-ppc.c.
| #define IMAGE_REL_PPC_IFGLUE 0x000D |
Definition at line 282 of file coff-ppc.c.
Referenced by coff_ppc_relocate_section(), coff_ppc_rtype_to_howto(), in_reloc_p(), ppc_coff_reloc_type_lookup(), and ppc_coff_rtype2howto().
| #define IMAGE_REL_PPC_IMGLUE 0x000E |
Definition at line 285 of file coff-ppc.c.
Referenced by coff_ppc_relocate_section(), coff_ppc_rtype_to_howto(), in_reloc_p(), ppc_coff_reloc_type_lookup(), and ppc_coff_rtype2howto().
| #define IMAGE_REL_PPC_NEG 0x0100 |
Definition at line 303 of file coff-ppc.c.
| #define IMAGE_REL_PPC_PAIR 0x0012 |
| #define IMAGE_REL_PPC_REFHI 0x0010 |
| #define IMAGE_REL_PPC_REFLO 0x0011 |
| #define IMAGE_REL_PPC_REL14 0x0007 |
Definition at line 264 of file coff-ppc.c.
| #define IMAGE_REL_PPC_REL24 0x0006 |
Definition at line 261 of file coff-ppc.c.
Referenced by coff_ppc_relocate_section(), coff_ppc_rtype_to_howto(), ppc_coff_reloc_type_lookup(), and ppc_coff_rtype2howto().
| #define IMAGE_REL_PPC_SECREL 0x000B |
Definition at line 276 of file coff-ppc.c.
Referenced by coff_ppc_relocate_section(), coff_ppc_rtype_to_howto(), in_reloc_p(), and ppc_coff_rtype2howto().
| #define IMAGE_REL_PPC_SECREL16 0x000F |
| #define IMAGE_REL_PPC_SECTION 0x000C |
Definition at line 279 of file coff-ppc.c.
Referenced by coff_ppc_relocate_section(), coff_ppc_rtype_to_howto(), in_reloc_p(), and ppc_coff_rtype2howto().
| #define IMAGE_REL_PPC_TOCDEFN 0x0800 |
Definition at line 312 of file coff-ppc.c.
Referenced by coff_ppc_relocate_section(), coff_ppc_rtype_to_howto(), and ppc_coff_rtype2howto().
| #define IMAGE_REL_PPC_TOCREL14 0x0009 |
Definition at line 270 of file coff-ppc.c.
| #define IMAGE_REL_PPC_TOCREL16 0x0008 |
Definition at line 267 of file coff-ppc.c.
Referenced by coff_ppc_relocate_section(), coff_ppc_rtype_to_howto(), in_reloc_p(), ppc_coff_reloc_type_lookup(), and ppc_coff_rtype2howto().
| #define IMAGE_REL_PPC_TOCREL16_DEFN 0x0013 |
Definition at line 298 of file coff-ppc.c.
Referenced by coff_ppc_rtype_to_howto(), in_reloc_p(), ppc_coff_reloc_type_lookup(), and ppc_coff_rtype2howto().
| #define IMAGE_REL_PPC_TYPEMASK 0x00FF |
Definition at line 315 of file coff-ppc.c.
| #define IS_UNALLOCATED | ( | x | ) | ((x) == 1) |
Definition at line 75 of file coff-ppc.c.
| #define IS_WRITTEN | ( | x | ) | ((x) & 1) |
| #define MAKE_ADDR_AGAIN | ( | x | ) | ((x) &= ~1) |
| #define MARK_AS_WRITTEN | ( | x | ) | ((x) |= 1) |
| #define MAX_RELOC_INDEX (sizeof (ppc_coff_howto_table) / sizeof (ppc_coff_howto_table[0]) - 1) |
Definition at line 1801 of file coff-ppc.c.
Referenced by coff_ppc_rtype_to_howto(), and ppc_coff_rtype2howto().
| #define MINUS_ONE (((bfd_vma)0) - 1) |
Definition at line 238 of file coff-ppc.c.
| #define POWERPC_LE_PE |
Definition at line 1996 of file coff-ppc.c.
Definition at line 1977 of file coff-ppc.c.
| #define SELECT_RELOC | ( | internal, | |||
| howto | ) | {internal.r_type=howto->type;} |
Definition at line 1989 of file coff-ppc.c.
| #define SET_UNALLOCATED | ( | x | ) | ((x) = 1) |
| #define TOC_LOAD_ADJUSTMENT (-32768) |
Definition at line 229 of file coff-ppc.c.
| #define TOC_SECTION_NAME ".private.toc" |
Definition at line 230 of file coff-ppc.c.
| #define UN_IMPL | ( | x | ) |
Definition at line 786 of file coff-ppc.c.
Referenced by ppc_imglue_reloc(), ppc_pair_reloc(), ppc_refhi_reloc(), ppc_secrel_reloc(), ppc_section_reloc(), and ppc_toc16_reloc().
| enum ref_category |
| enum toc_type |
| static bfd_boolean coff_ppc_relocate_section | ( | bfd * | output_bfd, | |
| struct bfd_link_info * | info, | |||
| bfd * | input_bfd, | |||
| asection * | input_section, | |||
| bfd_byte * | contents, | |||
| struct internal_reloc * | relocs, | |||
| struct internal_syment * | syms, | |||
| asection ** | sections | |||
| ) | [static] |
Definition at line 997 of file coff-ppc.c.
References _, _bfd_error_handler, _bfd_relocate_contents(), internal_syment::_n, internal_syment::_n_n, internal_syment::_n_name, abort, addr(), bfd_link_info::base_file, bfd_abs_section_ptr, bfd_error_bad_value, bfd_get_32, bfd_get_section_by_name(), bfd_link_hash_defined, bfd_link_hash_defweak, bfd_put_32, bfd_reloc_ok, bfd_reloc_overflow, bfd_set_error(), buf, bfd_link_info::callbacks, coff_data, coff_hash_table, coff_link_hash_lookup, bfd_section::contents, bfd_link_hash_entry::def, DUMP_RELOC2, EXTRACT_FLAGS, EXTRACT_TYPE, FALSE, fwrite, ppc_coff_link_hash_entry::glue_insn, HASH_CHECK, IMAGE_REL_PPC_ABSOLUTE, IMAGE_REL_PPC_ADDR16, IMAGE_REL_PPC_ADDR24, IMAGE_REL_PPC_ADDR32, IMAGE_REL_PPC_ADDR32NB, IMAGE_REL_PPC_IFGLUE, IMAGE_REL_PPC_IMGLUE, IMAGE_REL_PPC_REL24, IMAGE_REL_PPC_SECREL, IMAGE_REL_PPC_SECTION, IMAGE_REL_PPC_TOCDEFN, IMAGE_REL_PPC_TOCREL16, in_reloc_p(), IS_WRITTEN, long, MAKE_ADDR_AGAIN, MARK_AS_WRITTEN, internal_syment::n_value, reloc_howto_struct::name, bfd_section::name, NULL, obj_coff_local_toc_table, obj_coff_strings, obj_coff_sym_hashes, obj_pe, bfd_section::output_offset, bfd_section::output_section, pe, pe_data, priv, pub, internal_reloc::r_symndx, internal_reloc::r_type, internal_reloc::r_vaddr, record_toc(), bfd_section::reloc_count, bfd_link_callbacks::reloc_overflow, bfd_link_info::relocatable, coff_link_hash_entry::root, ppc_coff_link_hash_entry::root, bfd_link_hash_entry::root, sec, bfd_section::size, strcmp(), strdup, bfd_hash_entry::string, strncmp(), strncpy(), ppc_coff_link_hash_entry::symbol_is_glue, SYMNMLEN, target, TOC_LOAD_ADJUSTMENT, ppc_coff_link_hash_entry::toc_offset, toc_section(), TOC_SECTION_NAME, TRUE, bfd_link_hash_entry::type, bfd_link_hash_entry::u, bfd_link_callbacks::undefined_symbol, val, bfd_section::vma, and x.
| static reloc_howto_type* coff_ppc_rtype_to_howto | ( | abfd | , | |
| asection * | sec, | |||
| struct internal_reloc * | rel, | |||
| h | , | |||
| sym | , | |||
| bfd_vma * | addendp | |||
| ) | [static] |
Definition at line 1873 of file coff-ppc.c.
References _, abort, DUMP_RELOC2, EXTRACT_FLAGS, EXTRACT_JUNK, EXTRACT_TYPE, fprintf(), IMAGE_REL_PPC_ADDR16, IMAGE_REL_PPC_ADDR24, IMAGE_REL_PPC_ADDR32, IMAGE_REL_PPC_ADDR32NB, IMAGE_REL_PPC_IFGLUE, IMAGE_REL_PPC_IMGLUE, IMAGE_REL_PPC_REL24, IMAGE_REL_PPC_SECREL, IMAGE_REL_PPC_SECTION, IMAGE_REL_PPC_TOCDEFN, IMAGE_REL_PPC_TOCREL16, IMAGE_REL_PPC_TOCREL16_DEFN, MAX_RELOC_INDEX, bfd_section::output_section, bfd_section::owner, pe_data, and internal_reloc::r_type.
| static bfd_boolean in_reloc_p | ( | abfd | , | |
| reloc_howto_type * | howto | |||
| ) | [static] |
Definition at line 975 of file coff-ppc.c.
References IMAGE_REL_PPC_ADDR32NB, IMAGE_REL_PPC_IFGLUE, IMAGE_REL_PPC_IMGLUE, IMAGE_REL_PPC_PAIR, IMAGE_REL_PPC_REFHI, IMAGE_REL_PPC_REFLO, IMAGE_REL_PPC_SECREL, IMAGE_REL_PPC_SECREL16, IMAGE_REL_PPC_SECTION, IMAGE_REL_PPC_TOCREL16, IMAGE_REL_PPC_TOCREL16_DEFN, reloc_howto_struct::pc_relative, and reloc_howto_struct::type.
Definition at line 77 of file cplus-dem.c.
| static reloc_howto_type* ppc_coff_reloc_type_lookup PARAMS | ( | (bfd *, bfd_reloc_code_real_type) | ) | [static] |
| static void ppc_coff_rtype2howto PARAMS | ( | (arelent *, struct internal_reloc *) | ) | [static] |
| static void record_toc PARAMS | ( | (asection *, bfd_signed_vma, enum ref_category, const char *) | ) | [static] |
| static bfd_boolean in_reloc_p PARAMS | ( | (bfd *abfd, reloc_howto_type *howto) | ) | [static] |
| static bfd_reloc_status_type ppc_refhi_reloc PARAMS | ( | (bfd *abfd, arelent *reloc, asymbol *symbol, PTR data, asection *section, bfd *output_bfd, char **error) | ) | [static] |
| static reloc_howto_type* coff_ppc_rtype_to_howto PARAMS | ( | (bfd *, asection *, struct internal_reloc *, struct coff_link_hash_entry *, struct internal_syment *, bfd_vma *) | ) | [static] |
| static bfd_boolean coff_ppc_relocate_section PARAMS | ( | (bfd *, struct bfd_link_info *, bfd *, asection *, bfd_byte *, struct internal_reloc *, struct internal_syment *, asection **) | ) | [static] |
| static struct bfd_link_hash_table* ppc_coff_link_hash_table_create PARAMS | ( | (bfd *) | ) | [static, read] |
| static bfd_boolean ppc_coff_link_hash_table_init PARAMS | ( | (struct ppc_coff_link_hash_table *, bfd *, struct bfd_hash_entry *(*)(struct bfd_hash_entry *, struct bfd_hash_table *, const char *)) | ) | [static] |
| static struct bfd_hash_entry* ppc_coff_link_hash_newfunc PARAMS | ( | (struct bfd_hash_entry *, struct bfd_hash_table *, const char *) | ) | [static, read] |
| bfd_boolean ppc_bfd_coff_final_link PARAMS | ( | (bfd *, struct bfd_link_info *) | ) |
| bfd_boolean ppc_bfd_coff_final_link | ( | bfd * | abfd, | |
| struct bfd_link_info * | info | |||
| ) |
Definition at line 2049 of file coff-ppc.c.
References _bfd_coff_link_input_bfd(), _bfd_coff_reloc_link_order(), _bfd_coff_write_global_sym(), _bfd_default_link_order(), _bfd_stringtab_emit(), _bfd_stringtab_free(), _bfd_stringtab_init(), _bfd_stringtab_size(), _bfd_write_stab_strings(), BFD_ASSERT, bfd_bwrite(), bfd_coff_compute_section_file_positions, bfd_coff_linesz, bfd_coff_relsz, bfd_coff_start_final_link, bfd_coff_swap_reloc_out, bfd_coff_swap_sym_out, bfd_coff_symesz, bfd_get_flavour, bfd_get_symcount, bfd_indirect_link_order, bfd_malloc(), bfd_section_reloc_link_order, bfd_seek(), bfd_symbol_reloc_link_order, bfd_target_coff_flavour, coff_backend_info, coff_data, coff_debug_merge_hash_table_free, coff_debug_merge_hash_table_init, coff_hash_table, coff_link_hash_traverse, coff_final_link_info::contents, coff_final_link_info::debug_merge, coff_final_link_info::external_relocs, coff_final_link_info::failed, FALSE, bfd_section::flags, free(), H_PUT_32, bfd_link_order::indirect, coff_final_link_info::info, bfd_link_info::input_bfds, coff_final_link_info::internal_relocs, coff_final_link_info::internal_syms, coff_final_link_info::last_bf_index, coff_final_link_info::last_file, coff_final_link_info::last_file_index, bfd_section::line_filepos, bfd_section::lineno_count, coff_final_link_info::linenos, bfd::link_next, bfd_section::link_order_head, bfd_section::linker_mark, long, internal_syment::n_value, bfd_section::next, bfd_link_order::next, NULL, o, obj_raw_syment_count, obj_relocbase, obj_sym_filepos, coff_final_link_info::output_bfd, bfd::output_has_begun, coff_final_link_info::outsyms, p, pos(), ppc_do_last(), ppc_get_last(), PTR, internal_reloc::r_symndx, bfd_section::rawsize, bfd_section::rel_filepos, coff_link_section_info::rel_hashes, bfd_section::reloc_count, bfd_link_info::relocatable, coff_link_section_info::relocs, coff_final_link_info::sec_ptrs, SEC_RELOC, coff_final_link_info::section_info, SEEK_SET, bfd_section::size, STRING_SIZE_SIZE, bfd_link_info::strip, strip_none, strip_some, coff_final_link_info::strtab, sub, coff_final_link_info::sym_indices, sz(), bfd_section::target_index, TRUE, bfd_link_order::type, and bfd_link_order::u.
| static struct bfd_hash_entry* ppc_coff_link_hash_newfunc | ( | struct bfd_hash_entry * | entry, | |
| struct bfd_hash_table * | table, | |||
| const char * | string | |||
| ) | [static, read] |
Definition at line 152 of file coff-ppc.c.
References _bfd_coff_link_hash_newfunc(), bfd_hash_allocate(), ppc_coff_link_hash_entry::glue_insn, HASH_CHECK_INIT, NULL, ret, SET_UNALLOCATED, ppc_coff_link_hash_entry::symbol_is_glue, and ppc_coff_link_hash_entry::toc_offset.
Referenced by ppc_coff_link_hash_table_create().
| static struct bfd_link_hash_table* ppc_coff_link_hash_table_create | ( | bfd * | abfd | ) | [static, read] |
Definition at line 204 of file coff-ppc.c.
References bfd_malloc(), free(), NULL, ppc_coff_link_hash_newfunc(), ppc_coff_link_hash_table_init(), ret, coff_link_hash_table::root, and ppc_coff_link_hash_table::root.
| static bfd_boolean ppc_coff_link_hash_table_init | ( | struct ppc_coff_link_hash_table * | table, | |
| bfd * | abfd, | |||
| struct bfd_hash_entry ** | newfunc | |||
| ) | [static] |
Definition at line 191 of file coff-ppc.c.
References _bfd_coff_link_hash_table_init().
Referenced by ppc_coff_link_hash_table_create().
| static reloc_howto_type* ppc_coff_reloc_type_lookup | ( | abfd | , | |
| bfd_reloc_code_real_type | code | |||
| ) | [static] |
Definition at line 1953 of file coff-ppc.c.
References BFD_RELOC_16, BFD_RELOC_16_GOT_PCREL, BFD_RELOC_16_GOTOFF, BFD_RELOC_32, BFD_RELOC_32_GOTOFF, BFD_RELOC_PPC_B26, BFD_RELOC_PPC_BA26, BFD_RELOC_PPC_TOC16, BFD_RELOC_RVA, HOW2MAP, IMAGE_REL_PPC_ADDR16, IMAGE_REL_PPC_ADDR24, IMAGE_REL_PPC_ADDR32, IMAGE_REL_PPC_ADDR32NB, IMAGE_REL_PPC_IFGLUE, IMAGE_REL_PPC_IMGLUE, IMAGE_REL_PPC_REL24, IMAGE_REL_PPC_TOCREL16, IMAGE_REL_PPC_TOCREL16_DEFN, and NULL.
| static void ppc_coff_rtype2howto | ( | arelent * | relent, | |
| struct internal_reloc * | internal | |||
| ) | [static] |
Definition at line 1810 of file coff-ppc.c.
References _, abort, DUMP_RELOC2, EXTRACT_FLAGS, EXTRACT_JUNK, EXTRACT_TYPE, fprintf(), reloc_cache_entry::howto, IMAGE_REL_PPC_ADDR16, IMAGE_REL_PPC_ADDR24, IMAGE_REL_PPC_ADDR32, IMAGE_REL_PPC_ADDR32NB, IMAGE_REL_PPC_IFGLUE, IMAGE_REL_PPC_IMGLUE, IMAGE_REL_PPC_REL24, IMAGE_REL_PPC_SECREL, IMAGE_REL_PPC_SECTION, IMAGE_REL_PPC_TOCDEFN, IMAGE_REL_PPC_TOCREL16, IMAGE_REL_PPC_TOCREL16_DEFN, MAX_RELOC_INDEX, and internal_reloc::r_type.
| static bfd_boolean ppc_do_last | ( | bfd * | abfd | ) | [static] |
| static bfd* ppc_get_last | ( | ) | [static] |
| static bfd_reloc_status_type ppc_imglue_reloc | ( | abfd | , | |
| reloc_entry | , | |||
| symbol | , | |||
| data | , | |||
| input_section | , | |||
| bfd * | output_bfd, | |||
| error_message | ||||
| ) | [static] |
Definition at line 1782 of file coff-ppc.c.
References bfd_reloc_continue, bfd_reloc_ok, DUMP_RELOC, NULL, and UN_IMPL.
| static bfd_reloc_status_type ppc_pair_reloc | ( | abfd | , | |
| reloc_entry | , | |||
| symbol | , | |||
| data | , | |||
| input_section | , | |||
| bfd * | output_bfd, | |||
| error_message | ||||
| ) | [static] |
Definition at line 1702 of file coff-ppc.c.
References bfd_reloc_continue, bfd_reloc_undefined, DUMP_RELOC, NULL, and UN_IMPL.
| static bfd_reloc_status_type ppc_refhi_reloc | ( | abfd | , | |
| reloc_entry | , | |||
| symbol | , | |||
| data | , | |||
| input_section | , | |||
| bfd * | output_bfd, | |||
| error_message | ||||
| ) | [static] |
Definition at line 1682 of file coff-ppc.c.
References bfd_reloc_continue, bfd_reloc_undefined, DUMP_RELOC, NULL, and UN_IMPL.
| static bfd_reloc_status_type ppc_secrel_reloc | ( | abfd | , | |
| reloc_entry | , | |||
| symbol | , | |||
| data | , | |||
| input_section | , | |||
| bfd * | output_bfd, | |||
| error_message | ||||
| ) | [static] |
Definition at line 1742 of file coff-ppc.c.
References bfd_reloc_continue, bfd_reloc_ok, DUMP_RELOC, NULL, and UN_IMPL.
| static bfd_reloc_status_type ppc_section_reloc | ( | abfd | , | |
| reloc_entry | , | |||
| symbol | , | |||
| data | , | |||
| input_section | , | |||
| bfd * | output_bfd, | |||
| error_message | ||||
| ) | [static] |
Definition at line 1762 of file coff-ppc.c.
References bfd_reloc_continue, bfd_reloc_ok, DUMP_RELOC, NULL, and UN_IMPL.
| static bfd_reloc_status_type ppc_toc16_reloc | ( | abfd | , | |
| reloc_entry | , | |||
| symbol | , | |||
| data | , | |||
| input_section | , | |||
| bfd * | output_bfd, | |||
| error_message | ||||
| ) | [static] |
Definition at line 1722 of file coff-ppc.c.
References bfd_reloc_continue, bfd_reloc_ok, DUMP_RELOC, NULL, and UN_IMPL.
| static void record_toc | ( | asection * | toc_section, | |
| bfd_signed_vma | our_toc_offset, | |||
| enum ref_category | cat, | |||
| const char * | name | |||
| ) | [static] |
Definition at line 832 of file coff-ppc.c.
References abort, list_ele::addr, bfd_malloc(), list_ele::cat, list_ele::name, list_ele::next, NULL, and list_ele::offset.
Referenced by coff_ppc_relocate_section().
Referenced by _bfd_XXi_swap_aouthdr_in().
| long int global_toc_size |
Referenced by _bfd_XXi_swap_aouthdr_in().
reloc_howto_type ppc_coff_howto_table[] [static] |
Definition at line 408 of file coff-ppc.c.
Referenced by add_class_reference(), attribute_hash_list(), bfin_reorg_loops(), bfs_walk(), build_asm_expr(), build_asm_stmt(), build_intra_loop_deps(), build_ivar_chain(), c_expand_asm_operands(), IPO_SYMTAB::Clone_INITVs_For_EH(), Construct_List(), copy_constant(), copy_pu_tree(), cp_parser_parameter_declaration_list(), directory_path(), drop_path(), expand_asm_expr(), expand_asm_operands(), expand_cleanups(), ffestu_symter_end_transition_(), ffestu_symter_exec_transition_(), finalize_maybe_linker_options(), find_regmode_weight(), finish_builtin_struct(), group_sections(), integrate_parm_decls(), list_length(), lookup_tag(), lookup_tag_reverse(), LOOP_DESCR_Find_Unique_Tail(), merge_scc_to_form_new_loop(), mt_reorg_loops(), objc_copy_list(), output_queue::output_queue(), Perform_SWP(), pop_arguments(), process_init_constructor(), IF_CONVERTOR::Reduce_By_Type(), TOPO_ITER::rev_topo_sort(), rs6000_override_options(), schedule_ebbs(), set_init_label(), sh_insert_attributes(), simplify_using_initial_values(), store_parm_decls(), TOPO_ITER::topo_sort(), tsi_link_after(), tsi_link_before(), type_hash_list(), EXP_WORKLST::Verify_dpo_order(), Wfe_Expand_Asm_Operands(), and Wgen_Expand_Asm_Operands().
| long int thunk_size |
Referenced by _bfd_XXi_swap_aouthdr_in().
1.5.6