diff options
author | Steve Chamberlain <sac@cygnus> | 1995-06-29 07:03:35 +0000 |
---|---|---|
committer | Steve Chamberlain <sac@cygnus> | 1995-06-29 07:03:35 +0000 |
commit | 3ca120a5b3fd436ec6b73f278fa0ae6b31d774b5 (patch) | |
tree | 164ff617a77f3edbec2e15d3eab1b74e88cebcf5 /include/bfdlink.h | |
parent | 0d71f51b8bb46e9807b6a719168accefc54b058e (diff) | |
download | gdb-3ca120a5b3fd436ec6b73f278fa0ae6b31d774b5.zip gdb-3ca120a5b3fd436ec6b73f278fa0ae6b31d774b5.tar.gz gdb-3ca120a5b3fd436ec6b73f278fa0ae6b31d774b5.tar.bz2 |
* bfdlink.h (struct bfd_link_info): Added base_file member.
Diffstat (limited to 'include/bfdlink.h')
-rw-r--r-- | include/bfdlink.h | 28 |
1 files changed, 20 insertions, 8 deletions
diff --git a/include/bfdlink.h b/include/bfdlink.h index 080988c..dc29e43 100644 --- a/include/bfdlink.h +++ b/include/bfdlink.h @@ -109,14 +109,19 @@ struct bfd_link_hash_entry { /* The linker needs to know three things about common symbols: the size, the alignment, and the section in - which the symbol should be placed. On the assumption - that a single common symbol will not take up incredible - amounts of memory, we pack the size and the alignment - into the space of a single integer. The alignment is - stored as a power of two. */ - unsigned int alignment_power : 6; /* Alignment. */ - unsigned int size : 26; /* Common symbol size. */ - asection *section; /* Symbol section. */ + which the symbol should be placed. We store the size + here, and we allocate a small structure to hold the + section and the alignment. The alignment is stored as a + power of two. We don't store all the information + directly because we don't want to increase the size of + the union; this structure is a major space user in the + linker. */ + bfd_size_type size; /* Common symbol size. */ + struct bfd_link_hash_common_entry + { + unsigned int alignment_power; /* Alignment. */ + asection *section; /* Symbol section. */ + } *p; } c; } u; }; @@ -195,6 +200,13 @@ struct bfd_link_info /* Hash table of symbols to report back via notice_callback. If this is NULL no symbols are reported back. */ struct bfd_hash_table *notice_hash; + + + enum bfd_link_subsystem subsystem; + bfd_link_stack_heap stack_heap_parameters; + + /* If a base output file is wanted, then this points to it */ + FILE *base_file; }; /* This structures holds a set of callback functions. These are |