From: Steve Chamberlain Date: Thu, 29 Jun 1995 07:03:35 +0000 (+0000) Subject: * bfdlink.h (struct bfd_link_info): Added base_file member. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3ca120a5b3fd436ec6b73f278fa0ae6b31d774b5;p=binutils-gdb.git * bfdlink.h (struct bfd_link_info): Added base_file member. --- diff --git a/include/ChangeLog b/include/ChangeLog index f07c8bef84e..d497f593843 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,30 @@ +Thu Jun 29 00:02:45 1995 Steve Chamberlain + + * bfdlink.h (struct bfd_link_info): Added base_file member. + +Tue Jun 20 16:40:04 1995 Steve Chamberlain + + * ansidecl.h: win32s is ANSI enough. + +Thu May 18 04:25:50 1995 Ken Raeburn + + Wed May 10 14:28:16 1995 Richard Earnshaw (rearnsha@armltd.co.uk) + + * dis-asm.h (print_insn_arm): Delete declaration. + (print_insn_{little,big}_arm): New declarations. + + * floatformat.h (floatformat_arm_ext): Declare. + +Sat May 13 10:14:08 1995 Steve Chamberlain + + * coff/pe.h: New file. + * bfdlink.h (subsytem, stack_heap_parameters): New. + * coff/i386.h (NT_SECTION_ALIGNMENT, NT_FILE_ALIGNMENT, + NT_DEF_RESERVE, NT_DEF_COMMIT): New. + * coff/internal.h (internal_filehdr): New fields for PE. + (IMAGE_DATA_DIRECTORY): New. + (internal_aouthdr): New fields for PE. + Thu May 4 14:36:42 1995 Jason Merrill * demangle.h: Don't include ansidecl.h if IN_GCC. diff --git a/include/bfdlink.h b/include/bfdlink.h index 080988c5a68..dc29e43aadc 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