2002-03-07 H.J. Lu (hjl@gnu.org)
[deliverable/binutils-gdb.git] / ld / ChangeLog
index b70fbc5099a2ee756f9e8396dd9caaf76e33ae12..66a68ff82f579476371301fa9fd52509503c69d8 100644 (file)
@@ -1,3 +1,197 @@
+2002-03-05  Jakub Jelinek  <jakub@redhat.com>
+
+       * scripttempl/elf.sc: Only use DATA_SEGMENT_END() together with
+       DATA_SEGMENT_ALIGN.
+
+2002-03-04  H.J. Lu <hjl@gnu.org>
+
+       * scripttempl/elf.sc: Put .preinit_array, .init_array and
+       .fini_array in the data segment.
+
+2002-03-04  Alan Modra  <amodra@bigpond.net.au>
+
+       * scripttempl/elf.sc: Correct syntax errors in 2002-03-01 commit.
+
+2002-03-01  David Mosberger  <davidm@hpl.hp.com>
+
+       * scripttempl/elf.sc (SECTIONS): Add entries for .preinit_array,
+       .init_array, and .fini_array.
+
+2002-02-20  Andreas Schwab  <schwab@suse.de>
+
+       * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Don't fold
+       .IA64_unwind* in a relocatable link.
+
+2002-02-20  Nick Clifton  <nickc@cambridge.redhat.com>
+
+       * NEWS: Mark 2.12 branch.
+
+2002-02-19  Martin Schwidefsky  <schwidefsky@de.ibm.com>
+
+       * emulparams/elf64_s390.sh (ARCH): Change to "s390:64-bit".
+       * emulparams/elf_s390.sh (ARCH): Change to "s390:31-bit".
+
+2002-02-18  Tom Rix  <trix@redhat.com>
+
+       * emultempl/aix.em (gld*_parse_args): Add -brtl support.
+       (gld*_before_allocation): Same.
+       (gld*_create_output_section_statements): Generate 
+       __rtinit if run time linking.  Add librtl.a to the link.
+       (gld*_read_file): Clean.
+
+2002-02-18  Alan Modra  <amodra@bigpond.net.au>
+
+       * emulparams/elf64ppc.sh (OTHER_TEXT_SECTIONS): Define.
+
+2002-02-18  David O'Brien  <obrien@FreeBSD.org>
+
+       * Makefile.am: Add new files earmelf_fbsd, eelf32ppc_fbsd,
+       eelf_i386_fbsd, eelf64_ia64_fbsd, eelf_x86_64_fbsd, eelf64_sparc_fbsd,
+       and eelf64alpha_fbsd.
+       * Makefile.in: Regenerate.
+       * configure.tgt(sparc64-*-freebsd, ia64-*-freebsd, i[3456]86-*-freebsd,
+       x86_64-*-freebsd, arm-*-freebsd, alpha*-*-freebsd, powerpc-*-freebsd):
+       use a FreeBSD-specific emulation rather than the psABI one.
+       * emulparams/elf_fbsd.sh (ELF_INTERPRETER_NAME): Set appropriate value
+       for all FreeBSD ELF systems.
+       * emulparams/armelf_fbsd.sh: Bridge elf_fbsd.sh and the "native" psABI
+       emulation.
+       * emulparams/elf32ppc_fbsd.sh: Likewise.
+       * emulparams/elf64_ia64_fbsd.sh: Likewise.
+       * emulparams/elf64_sparc_fbsd.sh: Likewise.
+       * emulparams/elf64alpha_fbsd.sh: Likewise.
+       * emulparams/elf_i386_fbsd.sh: Likewise.
+       * emulparams/elf_x86_64_fbsd.sh: Likewise.
+
+2002-02-18  Nick Clifton  <nickc@cambridge.redhat.com>
+
+       * po/tr.po: Updated version.
+
+2002-02-18  Alan Modra  <amodra@bigpond.net.au>
+
+       * ld.texinfo (Output Section Fill): Fix amateur texinfo.
+       (FILL): Likewise.
+
+2002-02-17  Hans-Peter Nilsson  <hp@bitrange.com>
+
+       * emultempl/mmo.em (mmo_after_open): Don't call
+       _bfd_mmix_check_all_relocs when producing ELF output.
+
+2002-02-15  Richard Henderson  <rth@redhat.com>
+
+       * emulparams/elf64alpha.sh (NOP): Adjust for big-endian
+       definition.  Emit a unop+nop pair.
+
+2002-02-15  Hans-Peter Nilsson  <hp@bitrange.com>
+
+       * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Also check
+       for presence of .MMIX.reg_contents.linker_allocated before early
+       exit.
+
+       * NEWS: Mention support for MMIX.
+
+2002-02-15  Alan Modra  <amodra@bigpond.net.au>
+
+       Support arbitrary length fill patterns.
+       * ld.texinfo (Output Section Fill): Describe fill expressions.
+       (FILL): Refer to the above.
+       * ldexp.h (etree_value_type): Add "str" field.
+       (union etree_union): Add "str" to "value" struct.
+       (exp_bigintop): Declare.
+       (exp_get_fill): Declare.
+       * ldexp.c: Include "safe-ctype.h".
+       (exp_intop): Set value.str to NULL.
+       (exp_bigintop): New function.
+       (new_rel): Pass in "str", and set new.str from it.
+       (new_rel_from_section): Set new.str to NULL.
+       (fold_name): Adjust calls to new_rel.
+       (exp_fold_tree): Likewise.
+       (exp_get_fill): New function.
+       * ldgram.y (struct big_int bigint, fill_type *fill): New.
+       (INT): Returns a "bigint".  Adjust all code handling INTs.
+       (fill_opt): Returns a "fill".
+       (fill_exp): Split out of fill_opt, use for FILL.
+       * ldlang.h (struct _fill_type): New.
+       (fill_type): Move typedef to ldexp.h.
+       (lang_output_section_statement_type): "fill" is now a pointer.
+       (lang_fill_statement_type): Likewise.
+       (lang_padding_statement_type): Likewise.
+       (lang_add_fill): Now takes a "fill_type *" param.
+       (lang_leave_output_section_statement): Likewise.
+       (lang_do_assignments): Likewise.
+       (lang_size_sections): Likewise.
+       (lang_leave_overlay_section): Likewise.
+       (lang_leave_overlay): Likewise.
+       * ldlang.c: Include ldgram.h after ldexp.h.
+       (lang_output_section_statement_lookup): Adjust for fill_type change.
+       (print_fill_statement): Likewise.
+       (print_padding_statement): Likewise.
+       (insert_pad): Now takes a "fill_type *" arg.
+       (size_input_section): Likewise.
+       (lang_size_sections_1): Likewise.
+       (lang_size_sections): Likewise.
+       (lang_do_assignments): Likewise.
+       (lang_add_fill): Likewise.
+       (lang_leave_output_section_statement): Likewise.
+       (lang_leave_overlay_section): Likewise.
+       (lang_leave_overlay): Likewise.
+       Adjust all callers of the above function.
+       * ldlex.l: Include ldgram.h after ldexp.h.  Allow hex numbers
+       starting with "0X" as well as "0x".  Return bigint.str for hex
+       numbers starting with "0x" or "0X", zero bigint.str otherwise.
+       Always use base 16 for numbers starting with "$".
+       * ldmain.c: Include ldgram.h after ldexp.h.
+       * ldwrite.c (build_link_order): Use bfd_data_link_order in place
+       of bfd_fill_link_order.
+       * pe-dll.c: Adjust lang_do_assignments calls.
+       * emultempl/elf32.em: Likewise.
+       * emultempl/hppaelf.em: Likewise.
+       * emultempl/ppc64elf.em: Likewise.
+       * emultempl/beos.em: Include ldgram.h after ldexp.h, adjust
+       lang_add_assignment call.
+       * emultempl/pe.em: Likewise.
+
+2002-02-14  Phil Edwards  <pme@gcc.gnu.org>
+
+       * ld.texinfo (VERSION scripts):  Symbol names are globbing patterns.
+       * ldgram.y (lang_new_vers_regex):  Rename to lang_new_vers_pattern;
+       the pattern in question is not a regexp.
+       * ldlang.c:  Likewise.
+       * ldlang.h:  Likewise.
+       * ldlex.l (V_IDENTIFIER):  Allow '[', ']', '-', '!', and '^' also.
+
+2002-02-12  Jakub Jelinek  <jakub@redhat.com>
+
+       * ldlex.l (DATA_SEGMENT_ALIGN, DATA_SEGMENT_END): New tokens.
+       * ldgram.y (DATA_SEGMENT_ALIGN, DATA_SEGMENT_END): New tokens.
+       (exp): Add DATA_SEGMENT_ALIGN (exp, exp) and DATA_SEGMENT_END (exp).
+       * ldexp.c (exp_data_seg): New variable.
+       (exp_print_token): Handle DATA_SEGMENT_ALIGN and DATA_SEGMENT_END.
+       (fold_binary): Handle DATA_SEGMENT_ALIGN.
+       (exp_fold_tree): Handle DATA_SEGMENT_END.
+       Pass allocation_done when recursing instead of hardcoding
+       lang_allocating_phase_enum.
+       * ldexp.h (exp_data_seg): New.
+       * ldlang.c (lang_size_sections_1): Renamed from lang_size_sections.
+       (lang_size_sections): New.
+       * ld.texinfo (DATA_SEGMENT_ALIGN, DATA_SEGMENT_END): Document.
+       * scripttempl/elf.sc: Use DATA_SEGMENT_ALIGN and DATA_SEGMENT_END
+       if COMMONPAGESIZE is defined.
+       * emulparams/elf_i386.sh (COMMONPAGESIZE): Set to 4K.
+       * emulparams/elf32_sparc.sh (COMMONPAGESIZE): Set to 8K.
+       * emulparams/elf64_sparc.sh (COMMONPAGESIZE): Set to 8K.
+       * emulparams/elf64alpha.sh (COMMONPAGESIZE): Set to 8K.
+       * emulparams/elf64_ia64.sh (COMMONPAGESIZE): Set to 16K for shared
+       libraries only.
+
+2002-02-11  Alan Modra  <amodra@bigpond.net.au>
+
+       * Makefile.in: Regenerate.
+
+2002-02-10  Daniel Jacobowitz  <drow@mvista.com>
+
+       * lexsup.c: Remove strtoul declaration.
+
 2002-02-10  Daniel Jacobowitz  <drow@mvista.com>
 
        * ldmain.c: Add prototype for main ().
        * po/ld.pot: Regenerate.
 
 2002-01-29  Chris Demetriou  <cgd@broadcom.com>
-            Mitch Lichtenberg  <mpl@broadcom.com>
+           Mitch Lichtenberg  <mpl@broadcom.com>
 
        * emulparams/elf32bmip.sh (EXTRA_EM_FILE): Define to be mipself.
        * emultempl/mipself.em: New file to handle MIPS ELF embedded
This page took 0.025269 seconds and 4 git commands to generate.