osprey/cygnus/bfd/coff-ppc.c File Reference

#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"

Include dependency graph for coff-ppc.c:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Types

type  ppc_coff_link_hash_entry
type  ppc_coff_link_hash_table
type  list_ele

Defines

#define BADMAG(x)   PPCBADMAG(x)
#define SET_UNALLOCATED(x)   ((x) = 1)
#define IS_UNALLOCATED(x)   ((x) == 1)
#define IS_WRITTEN(x)   ((x) & 1)
#define MARK_AS_WRITTEN(x)   ((x) |= 1)
#define MAKE_ADDR_AGAIN(x)   ((x) &= ~1)
#define HASH_CHECK_DCL
#define HASH_CHECK_INIT(ret)
#define HASH_CHECK(addr)
#define coff_bfd_link_hash_table_create   ppc_coff_link_hash_table_create
#define TOC_LOAD_ADJUSTMENT   (-32768)
#define TOC_SECTION_NAME   ".private.toc"
#define COFF_DEFAULT_SECTION_ALIGNMENT_POWER   (3)
#define MINUS_ONE   (((bfd_vma)0) - 1)
#define IMAGE_REL_PPC_ABSOLUTE   0x0000
#define IMAGE_REL_PPC_ADDR64   0x0001
#define IMAGE_REL_PPC_ADDR32   0x0002
#define IMAGE_REL_PPC_ADDR24   0x0003
#define IMAGE_REL_PPC_ADDR16   0x0004
#define IMAGE_REL_PPC_ADDR14   0x0005
#define IMAGE_REL_PPC_REL24   0x0006
#define IMAGE_REL_PPC_REL14   0x0007
#define IMAGE_REL_PPC_TOCREL16   0x0008
#define IMAGE_REL_PPC_TOCREL14   0x0009
#define IMAGE_REL_PPC_ADDR32NB   0x000A
#define IMAGE_REL_PPC_SECREL   0x000B
#define IMAGE_REL_PPC_SECTION   0x000C
#define IMAGE_REL_PPC_IFGLUE   0x000D
#define IMAGE_REL_PPC_IMGLUE   0x000E
#define IMAGE_REL_PPC_SECREL16   0x000F
#define IMAGE_REL_PPC_REFHI   0x0010
#define IMAGE_REL_PPC_REFLO   0x0011
#define IMAGE_REL_PPC_PAIR   0x0012
#define IMAGE_REL_PPC_TOCREL16_DEFN   0x0013
#define IMAGE_REL_PPC_NEG   0x0100
#define IMAGE_REL_PPC_BRTAKEN   0x0200
#define IMAGE_REL_PPC_BRNTAKEN   0x0400
#define IMAGE_REL_PPC_TOCDEFN   0x0800
#define IMAGE_REL_PPC_TYPEMASK   0x00FF
#define IMAGE_REL_PPC_FLAGMASK   0x0F00
#define EXTRACT_TYPE(x)   ((x) & IMAGE_REL_PPC_TYPEMASK)
#define EXTRACT_FLAGS(x)   ((x) & IMAGE_REL_PPC_FLAGMASK)
#define EXTRACT_JUNK(x)   ((x) & ~(IMAGE_REL_PPC_TYPEMASK | IMAGE_REL_PPC_FLAGMASK))
#define UN_IMPL(x)
#define DUMP_RELOC(n, r)
#define DUMP_RELOC2(n, r)
#define MAX_RELOC_INDEX   (sizeof (ppc_coff_howto_table) / sizeof (ppc_coff_howto_table[0]) - 1)
#define HOW2MAP(bfd_rtype, ppc_rtype)   case bfd_rtype: return &ppc_coff_howto_table[ppc_rtype]
#define RTYPE2HOWTO(cache_ptr, dst)   ppc_coff_rtype2howto (cache_ptr, dst)
#define coff_bfd_reloc_type_lookup   ppc_coff_reloc_type_lookup
#define coff_rtype_to_howto   coff_ppc_rtype_to_howto
#define coff_relocate_section   coff_ppc_relocate_section
#define coff_bfd_final_link   ppc_bfd_coff_final_link
#define SELECT_RELOC(internal, howto)   {internal.r_type=howto->type;}
#define COFF_PAGE_SIZE   0x1000
#define POWERPC_LE_PE
#define COFF_SECTION_ALIGNMENT_ENTRIES

Enumerations

enum  toc_type { default_toc, toc_32, toc_64 }
enum  ref_category { priv, pub, tocdata }

Functions/Subroutines

bfd_boolean ppc_bfd_coff_final_link PARAMS ((bfd *, struct bfd_link_info *))
void dump_toc PARAMS ((PTR))
static struct bfd_hash_entry
*ppc_coff_link_hash_newfunc 
PARAMS ((struct bfd_hash_entry *, struct bfd_hash_table *, const char *))
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 struct
bfd_link_hash_table
*ppc_coff_link_hash_table_create 
PARAMS ((bfd *))
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 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 struct bfd_hash_entryppc_coff_link_hash_newfunc (struct bfd_hash_entry *entry, struct bfd_hash_table *table, const char *string)
static bfd_boolean ppc_coff_link_hash_table_init (struct ppc_coff_link_hash_table *table, bfd *abfd, struct bfd_hash_entry **newfunc)
static struct bfd_link_hash_tableppc_coff_link_hash_table_create (bfd *abfd)
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 bfd_boolean in_reloc_p PARAMS ((bfd *abfd, reloc_howto_type *howto))
static void record_toc PARAMS ((asection *, bfd_signed_vma, enum ref_category, const char *))
static void record_toc (asection *toc_section, bfd_signed_vma our_toc_offset, enum ref_category cat, const char *name)
static bfd_boolean in_reloc_p (abfd, reloc_howto_type *howto)
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 bfd_reloc_status_type ppc_refhi_reloc (abfd, reloc_entry, symbol, data, input_section, bfd *output_bfd, error_message)
static bfd_reloc_status_type ppc_pair_reloc (abfd, reloc_entry, symbol, data, input_section, bfd *output_bfd, error_message)
static bfd_reloc_status_type ppc_toc16_reloc (abfd, reloc_entry, symbol, data, input_section, bfd *output_bfd, error_message)
static bfd_reloc_status_type ppc_secrel_reloc (abfd, reloc_entry, symbol, data, input_section, bfd *output_bfd, error_message)
static bfd_reloc_status_type ppc_section_reloc (abfd, reloc_entry, symbol, data, input_section, bfd *output_bfd, error_message)
static bfd_reloc_status_type ppc_imglue_reloc (abfd, reloc_entry, symbol, data, input_section, bfd *output_bfd, error_message)
static void ppc_coff_rtype2howto PARAMS ((arelent *, struct internal_reloc *))
static void ppc_coff_rtype2howto (arelent *relent, struct internal_reloc *internal)
static reloc_howto_typecoff_ppc_rtype_to_howto (abfd, asection *sec, struct internal_reloc *rel, h, sym, bfd_vma *addendp)
static reloc_howto_type
*ppc_coff_reloc_type_lookup 
PARAMS ((bfd *, bfd_reloc_code_real_type))
static reloc_howto_typeppc_coff_reloc_type_lookup (abfd, bfd_reloc_code_real_type code)
static bfd *ppc_get_last PARAMS ((void))
static bfd_boolean ppc_do_last (bfd *abfd)
static bfdppc_get_last ()
bfd_boolean ppc_bfd_coff_final_link (bfd *abfd, struct bfd_link_info *info)

Variables

static reloc_howto_type ppc_coff_howto_table []
bfdbfd_of_toc_owner
long int global_toc_size
long int import_table_size
long int first_thunk_address
long int thunk_size
struct list_elehead
struct list_eletail


Define Documentation

#define BADMAG (  )     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

#define DUMP_RELOC ( n,
 ) 

#define DUMP_RELOC2 ( n,
 ) 

#define EXTRACT_FLAGS (  )     ((x) & IMAGE_REL_PPC_FLAGMASK)

#define EXTRACT_JUNK (  )     ((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) & IMAGE_REL_PPC_TYPEMASK)

#define HASH_CHECK ( addr   ) 

Definition at line 102 of file coff-ppc.c.

Referenced by coff_ppc_relocate_section().

#define HASH_CHECK_DCL

Definition at line 100 of file coff-ppc.c.

#define HASH_CHECK_INIT ( ret   ) 

Definition at line 101 of file coff-ppc.c.

Referenced by ppc_coff_link_hash_newfunc().

#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

Definition at line 243 of file coff-ppc.c.

Referenced by coff_ppc_relocate_section().

#define IMAGE_REL_PPC_ADDR14   0x0005

Definition at line 258 of file coff-ppc.c.

#define IMAGE_REL_PPC_ADDR16   0x0004

#define IMAGE_REL_PPC_ADDR24   0x0003

#define IMAGE_REL_PPC_ADDR32   0x0002

#define IMAGE_REL_PPC_ADDR32NB   0x000A

#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

#define IMAGE_REL_PPC_IMGLUE   0x000E

#define IMAGE_REL_PPC_NEG   0x0100

Definition at line 303 of file coff-ppc.c.

#define IMAGE_REL_PPC_PAIR   0x0012

Definition at line 295 of file coff-ppc.c.

Referenced by in_reloc_p().

#define IMAGE_REL_PPC_REFHI   0x0010

Definition at line 293 of file coff-ppc.c.

Referenced by in_reloc_p().

#define IMAGE_REL_PPC_REFLO   0x0011

Definition at line 294 of file coff-ppc.c.

Referenced by in_reloc_p().

#define IMAGE_REL_PPC_REL14   0x0007

Definition at line 264 of file coff-ppc.c.

#define IMAGE_REL_PPC_REL24   0x0006

#define IMAGE_REL_PPC_SECREL   0x000B

#define IMAGE_REL_PPC_SECREL16   0x000F

Definition at line 288 of file coff-ppc.c.

Referenced by in_reloc_p().

#define IMAGE_REL_PPC_SECTION   0x000C

#define IMAGE_REL_PPC_TOCDEFN   0x0800

#define IMAGE_REL_PPC_TOCREL14   0x0009

Definition at line 270 of file coff-ppc.c.

#define IMAGE_REL_PPC_TOCREL16   0x0008

#define IMAGE_REL_PPC_TOCREL16_DEFN   0x0013

#define IMAGE_REL_PPC_TYPEMASK   0x00FF

Definition at line 315 of file coff-ppc.c.

#define IS_UNALLOCATED (  )     ((x) == 1)

Definition at line 75 of file coff-ppc.c.

#define IS_WRITTEN (  )     ((x) & 1)

Definition at line 77 of file coff-ppc.c.

Referenced by coff_ppc_relocate_section().

#define MAKE_ADDR_AGAIN (  )     ((x) &= ~1)

Definition at line 79 of file coff-ppc.c.

Referenced by coff_ppc_relocate_section().

#define MARK_AS_WRITTEN (  )     ((x) |= 1)

Definition at line 78 of file coff-ppc.c.

Referenced by coff_ppc_relocate_section().

#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.

#define RTYPE2HOWTO ( cache_ptr,
dst   )     ppc_coff_rtype2howto (cache_ptr, dst)

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) = 1)

Definition at line 74 of file coff-ppc.c.

Referenced by ppc_coff_link_hash_newfunc().

#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 (  ) 


Enumeration Type Documentation

Enumerator:
priv 
pub 
tocdata 

Definition at line 809 of file coff-ppc.c.

enum toc_type

Enumerator:
default_toc 
toc_32 
toc_64 

Definition at line 802 of file coff-ppc.c.


Function Documentation

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]

static bfd_boolean in_reloc_p ( abfd  ,
reloc_howto_type howto 
) [static]

static bfd* ppc_get_last PARAMS ( (void  )  [static]

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]

void dump_toc PARAMS ( (PTR  ) 

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]

static struct bfd_link_hash_table* ppc_coff_link_hash_table_create ( bfd abfd  )  [static, read]

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]

static void ppc_coff_rtype2howto ( arelent relent,
struct internal_reloc internal 
) [static]

static bfd_boolean ppc_do_last ( bfd abfd  )  [static]

Definition at line 2020 of file coff-ppc.c.

References FALSE, and TRUE.

Referenced by ppc_bfd_coff_final_link().

static bfd* ppc_get_last (  )  [static]

Definition at line 2030 of file coff-ppc.c.

Referenced by ppc_bfd_coff_final_link().

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]


Variable Documentation

Definition at line 408 of file coff-ppc.c.


Generated on Wed Apr 8 14:47:00 2009 for Open64 by  doxygen 1.5.6