diff options
author | Kim Knuttila <krk@cygnus> | 1995-11-07 21:33:33 +0000 |
---|---|---|
committer | Kim Knuttila <krk@cygnus> | 1995-11-07 21:33:33 +0000 |
commit | d6f41a7d3e56c2b8467f39cd05283649050c09cc (patch) | |
tree | 68c2ee8680919e672e72ac7a80fbcc83b107abb7 /bfd/libcoff-in.h | |
parent | ccb98a5afde747f75e0bb24f735be0309f770aff (diff) | |
download | gdb-d6f41a7d3e56c2b8467f39cd05283649050c09cc.zip gdb-d6f41a7d3e56c2b8467f39cd05283649050c09cc.tar.gz gdb-d6f41a7d3e56c2b8467f39cd05283649050c09cc.tar.bz2 |
First round ld support for PPC PE
Diffstat (limited to 'bfd/libcoff-in.h')
-rw-r--r-- | bfd/libcoff-in.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/bfd/libcoff-in.h b/bfd/libcoff-in.h index 1c90879..820a75d 100644 --- a/bfd/libcoff-in.h +++ b/bfd/libcoff-in.h @@ -40,6 +40,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #define obj_coff_keep_strings(bfd) (coff_data (bfd)->keep_strings) #define obj_coff_sym_hashes(bfd) (coff_data (bfd)->sym_hashes) +#define obj_coff_local_toc_table(bfd) (coff_data(bfd)->local_toc_sym_map) + /* `Tdata' information kept for COFF files. */ typedef struct coff_tdata @@ -83,6 +85,9 @@ typedef struct coff_tdata /* Used by the COFF backend linker. */ struct coff_link_hash_entry **sym_hashes; + /* used by the pe linker for PowerPC */ + int *local_toc_sym_map; + struct bfd_link_info *link_info; } coff_data_type; @@ -94,6 +99,7 @@ typedef struct pe_tdata int dll; int has_reloc_section; boolean (*in_reloc_p) PARAMS((bfd *, reloc_howto_type *)); + flagword real_flags; } pe_data_type; #define pe_data(bfd) ((bfd)->tdata.pe_obj_data) @@ -217,6 +223,11 @@ struct coff_link_hash_entry /* Pointer to array of auxiliary entries, if any. */ union internal_auxent *aux; + + /* If this symbol requires an entry in the table of contents, the + processor specific backend uses this field to hold the offset + into the .toc section. */ + bfd_vma toc_offset; }; /* COFF linker hash table. */ |