* Makefile.am: Run "make dep-am".
[binutils-gdb.git] / ld / ChangeLog
index f77eb4084b1bf602a5e3f83e4e3d92ff299c6436..a1a68237698dce16c113efc050000113aa15c7b8 100644 (file)
@@ -1,3 +1,552 @@
+2004-09-17  Alan Modra  <amodra@bigpond.net.au>
+
+       * Makefile.am: Run "make dep-am".
+       * Makefile.in: Regenerate.
+       * config.in: Regenerate.
+       * configure: Regenerate.
+       * aclocal.m4: Regenerate.
+       * po/ld.pot: Regenerate.
+
+2004-09-16  Tomer Levi  <Tomer.Levi@nsc.com>
+
+       * scripttempl/elf32crx.sc (.init): Add KEEP for section's *personality*.
+       (.fini): Likewise.
+       (.jcr): Likewise.
+
+2004-09-16  Alan Modra  <amodra@bigpond.net.au>
+
+       * emultempl/armelf_oabi.em (before_allocation): Add extra zero param
+       to bfd_elf32_arm_process_before_allocation call.
+
+2004-09-13  Paul Brook  <paul@codesourcery.com>
+
+       * emulparams/armsymbian.sh: Set TARGET1_IS_REL.
+       * emultempl/armelf.em: Use TARGET1_IS_REL.  Add --target1-{rel,abs}.
+
+2004-09-07  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * configure: Regenerated with autconfig 2.13.
+
+2004-09-07  Andreas Schwab  <schwab@suse.de>
+
+       * ldexp.c (fold_binary) [DATA_SEGMENT_ALIGN]: Apply data segment
+       alignment before adjusting DATA_SEGMENT_RELRO_END.
+
+2004-09-06  Mark Mitchell  <mark@codesourcery.com>
+
+       * emulparams/armsymbian.sh: Use armbpabi script.
+       * scripttempl/armbpabi.sc: New script.
+
+2004-09-02  Mark Mitchell  <mark@codesourcery.com>
+
+       * Makefile.am (ALL_EMULATIONS): Add earmsymbian.o.
+       (earmsymbian.c): New target.
+       * configure.tgt: Use armsymbian emulation for arm*-*-symbianelf*.
+       * Makefile.in: Regenerated.
+       * aclocal.m4: Likewise.
+       * configure: Likewise.
+       * emulparams/armsymbian.sh: New file.
+
+2004-09-03  Tomer Levi  <Tomer.Levi@nsc.com>
+
+       * scripttempl/elf32crx.sc: Edit file with comments.
+       (.init): Add new section.
+       (.fini): Likewise.
+       (.ctor): Control the linkage order.
+       (.dtor): Likewise.
+
+2004-08-27  Nick Clifton  <nickc@redhat.com>
+
+       * emultempl/pe.em (after_open): Do not assume that either bfd is
+       an archive.
+
+2004-08-26  Alan Modra  <amodra@bigpond.net.au>
+
+       * ldlang.c (lang_init): Don't compare with TRUE.
+
+2004-08-25  Dmitry Diky  <diwil@spec.ru>
+
+       * emulparams/msp430all.sh: Fix RAM sizes for all targets.
+       * scripttempl/elf32msp430.sc: Add .profiler section definition.
+
+2004-08-24  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * ldlang.c (wildcardp): Defined as a macro with strpbrk.
+
+2004-08-19  Mark Mitchell  <mark@codesourcery.com>
+
+       * configure.tgt (arm*-*-symbianelf*): New target.
+       (arm*-*-eabi*): Likewise.
+
+2004-08-19  Jakub Jelinek  <jakub@redhat.com>
+
+       * emultempl/ppc64elf.em (non_overlapping_opd): New variable.
+       (ppc_before_allocation): Pass it to ppc64_elf_edit_opd).
+       (OPTION_NON_OVERLAPPING_OPD): Define.
+       (PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Add
+       --non-overlapping-opd option.
+
+2004-08-18  Alan Modra  <amodra@bigpond.net.au>
+
+       PR 338
+       * ldexp.c (fold_name): Don't call bfd_link_add_undef if the symbol
+       was already on the undefs list.
+
+2004-08-17  Alan Modra  <amodra@bigpond.net.au>
+
+       * emultempl/ppc64elf.em (gld${EMULATION_NAME}_new_vers_pattern): Dot
+       prefix the symbol field too.
+
+2004-08-13  Alan Modra  <amodra@bigpond.net.au>
+
+       * ldmain.c (link_callbacks): Remove "error_handler".
+       * ldmisc.c: Include elf-bfd.h.
+       (vfinfo): Sort comment.  Handle %A.  Use %A instead of
+       bfd_get_section_indent.
+       (error_handler): Delete.
+       * ldmisc.h (error_handler): Delete declaration.
+
+2004-08-10  Alan Modra  <amodra@bigpond.net.au>
+
+       * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Call
+       ppc64_elf_restore_symbols.
+
+2004-08-09  Alan Modra  <amodra@bigpond.net.au>
+
+       * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Error if
+       .toc is too large on relocatable linking.
+
+2004-08-09  Alan Modra  <amodra@bigpond.net.au>
+
+       * emultempl/ppc64elf.em (ppc_after_open): Delete.
+       (LDEMUL_AFTER_OPEN): Don't define.
+
+2004-08-02  Stephane Carrez  <stcarrez@nerim.fr>
+
+       * ld.texinfo (Top): Document specific options of 68HC11 and 68HC12.
+
+2004-08-01  Stephane Carrez  <stcarrez@nerim.fr>
+
+       * scripttempl/elfm68hc12.sc: Align text, rodata and data section
+       on power of 2.
+
+2004-07-27  Jason Thorpe  <thorpej@wasabisystems.com>
+
+       * emulparams/hppanbsd.sh (OUTPUT_FORMAT): Set to "elf32-hppa-netbsd".
+
+2004-07-26  Dmitry Diky  <diwil@spec.ru>
+
+       * Makefile.am: Add new subtargets: msp430x1610, msp430x1611,
+       msp430x1612, msp430x415, msp430x417, msp430xG437, msp430xG438,
+       msp430xG439.
+       * configure.tgt: Likewise.
+       * emulparams/msp430all.sh: Likewise.
+       * Makefile.in: Regenerate.
+
+2004-07-23  Nick Clifton  <nickc@redhat.com>
+
+       * emultempl/elf32.em (_place_orphan): Use an already existing
+       section name if that section does not have any flags set.
+
+2004-07-21  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * ldlang.c (already_linked_hash_entry): Removed.
+       (already_linked): Likewise.
+       (already_linked_table): Likewise.
+       (section_already_linked): Call bfd_section_already_linked.
+       (lang_process): Replace already_linked_table_init with
+       bfd_section_already_linked_table_init and check return. Replace
+       already_linked_table_free with bfd_section_already_linked_table_free.
+
+2004-07-21  Nick Clifton  <nickc@redhat.com>
+
+       * ldlang.c (init_os): Make sure that the newly allocated userdata
+       structure is zeroed out.
+
+2004-07-19  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * NEWS: Mention the new --add-needed/--no-add-needed and
+       --as-needed/--no-as-needed options.
+
+2004-07-19  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * emultempl/elf32.em (gld${EMULATION_NAME}_load_symbols): Also
+       check the add_needed field.
+       (dt_needed): New struct.
+       (gld${EMULATION_NAME}_try_needed): Change the first argument
+       to a pointer to struct dt_needed. Check the DYN_NO_ADD_NEEDED
+       bit in the file where the DT_NEEDED entry comes from.
+       (gld${EMULATION_NAME}_search_needed): Change the second
+       argument to a pointer to struct dt_needed.
+       (gld${EMULATION_NAME}_check_ld_so_conf): Updated.
+       (gld${EMULATION_NAME}_after_open): Likewise.
+
+       * ld.texinfo: Add --add-needed document.
+       * ldlang.c (new_afile): Set p->add_needed.
+       * ldlang.h (lang_input_statement_type): Add add_needed field.
+       * ldmain.h (add_needed): Declare.
+       * ldmain.c (add_needed): New global var.
+       * lexsup.c (option_values): Add OPTION_ADD_NEEDED and
+       OPTION_NO_ADD_NEEDED.
+       (ld_options): Likewise.
+       (parse_args): Handle them.
+
+2004-07-13  Christof Petig  <christof@petig-baender.de>
+
+       * emultempl/pe.em (make_import_fixup): Use bfd_get_32 to correct
+       for endian-ness of extracted addend.
+
+2004-07-13  Danny Smith  <dannysmith@usesr.sourceforge.net>
+
+       * pe-dll.c (auto_export):  Filter on just the import prefix,
+       "_imp_", not "_imp__".
+
+2004-07-09  Nick Clifton  <nickc@redhat.com>
+
+       * configure.tgt: Change sh-sybmian-elf to sh-*-symbianelf.
+
+2004-07-06  Tomer Levi  <Tomer.Levi@nsc.com>
+
+       * Makefile.am (ALL_EMULATIONS): Add eelf32crx.o.
+       (eelf32crx.c): New target.
+       * Makefile.in: Regenerate.
+       * configure.tgt: Handle crx-*-elf*.
+       * emulparams/elf32crx.sh: New file.
+       * emultempl/crxelf.em: New file.
+       * scripttempl/elf32crx.sc: New file.
+       * NEWS: Mention new target.
+
+2004-07-06  Nick Clifton  <nickc@redhat.com>
+
+       * Makefile.am: Add eshlsymbian.c.
+       * Makefile.in: Regenerate.
+       * configure.tgt: Add sh*-symbian-elf target.
+       * emulparams/shlsymbian.sh: New file.  Configure the
+       sh-symbian-elf linker scripts.
+       * scripttemp/elf32sh-symbian.sc: New file.  Linker script
+       template for the sh-symbian-elf target.
+
+2004-07-05  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
+
+       * emulparams/hppa64linux.sh: Define PLT_BEFORE_GOT.
+       * emulparams/hppalinux.sh: Likewise.
+       * scripttempl/elf.sc: Place .plt just before .got when .plt is in
+       data segment and PLT_BEFORE_GOT is defined.
+
+2004-07-03  Aaron W. LaFramboise  <aaron98wiridge9@aaronwl.com>
+
+       * ld.texinfo (WIN32): Document PE weak symbols.
+
+2004-07-02  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
+
+       * emulparams/shlelf32_linux.sh (COMMONPAGESIZE): Set to 4KB.
+
+2004-07-01  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * ldmisc.c (vfinfo): Call bfd_get_section_ident to identify
+       the section.
+
+2004-06-29  Alan Modra  <amodra@bigpond.net.au>
+
+       * ldlang.c (lang_reset_memory_regions): Save last relax pass section
+       size in rawsize.
+
+2004-06-24  Alan Modra  <amodra@bigpond.net.au>
+
+       * ldlang.c (print_output_section_statement): Don't print size before
+       relaxation.
+       (IGNORE_SECTION): Remove bfd arg.  Update all callers.
+
+       * ldexp.c (fold_name): .. See below.
+       * ldlang.c (section_already_linked, print_output_section_statement,
+       print_input_section, insert_pad, size_input_section,
+       lang_check_section_addresses, lang_size_sections_1,
+       lang_size_sections, lang_do_assignments_1, lang_set_startof,
+       lang_one_common, lang_reset_memory_regions, lang_process,
+       lang_abs_symbol_at_end_of, lang_do_version_exports_section): ..
+       * ldwrite.c (build_link_order, clone_section, ds, split_sections): ..
+       * pe-dll.c (process_def_file, generate_reloc): ..
+       * emultempl/elf32.em (gld${EMULATION_NAME}_find_statement_assignment,
+       gld${EMULATION_NAME}_before_allocation): ..
+       * emultempl/mmix-elfnmmo.em (mmix_after_allocation): ..
+       * emultempl/sh64elf.em (sh64_elf_${EMULATION_NAME}_before_allocation,
+       sh64_elf_${EMULATION_NAME}_after_allocation): ..
+       * emultempl/sunos.em (gld${EMULATION_NAME}_before_allocation): ..
+       * emultempl/xtensaelf.em (ld_assign_relative_paged_dot,
+       ld_local_file_relocations_fit, ld_xtensa_insert_page_offsets): Use
+       "size" instead of "_raw_size" and "_cooked_size".  Expand
+       bfd_section_size macro invocations.
+
+2004-06-22  Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
+
+       * ld/scripttemp/pe.sc (.CRT): Define ___crt_xc_start__,
+       ___crt_xc_end__, ___crt_xi_start__, ___crt_xi_end__, ___crt_xl_start__,
+       ___crt_xp_start__, ___crt_xp_end__, ___crt_xt_start__ and
+       ___crt_xt_end__.
+       (.tls): Define ___tls_start__ and ___tls_end__.
+
+2004-06-21  Alexandre Oliva  <aoliva@redhat.com>
+
+       * emulparams/elf32frvfd.sh (GENERATE_PIE_SCRIPT): Set to yes.
+
+2004-06-18  Adam Nemet  <anemet@lnxw.com>
+
+       * configure.in: Set EXTRA_SHLIB_EXTENSION to .a for LynxOS.
+       * configure: Regenerate.
+
+2004-06-15  Jakub Jelinek  <jakub@redhat.com>
+
+       * scripttempl/elf.sc: Readd KEEP and .gcc_except_table.* to
+       .gcc_except_table output sections lost accidentally with
+       -z relro patch.
+
+2004-06-15  Alan Modra  <amodra@bigpond.net.au>
+
+       * ldwrite.c (build_link_order): Use bfd_get_section_size
+       instead of bfd_get_section_size_before_reloc or _raw_size.
+       * pe-dll.c (process_def_file): Likewise.
+
+2004-06-14  Alan Modra  <amodra@bigpond.net.au>
+
+       From Richard Wirth <r.wirth@wirthware.de>
+       * ldlang.c (lang_finish): Don't free lang_definedness_table.
+
+2004-05-29  Alan Modra  <amodra@bigpond.net.au>
+
+       * ldlang.c (gc_section_callback): Move SEC_EXCLUDE twiddles..
+       (lang_gc_sections): .. to a LANG_FOR_EACH_INPUT_STATEMENT loop here.
+
+2004-05-28  Andrew Stubbs <andrew.stubbs@superh.com>
+
+       * testsuite/ld-sh/arch/arch.exp: New test script.
+       * testsuite/ld-sh/arch/arch_expected.txt: New file.
+       * testsuite/ld-sh/arch/sh.s: New file.
+       * testsuite/ld-sh/arch/sh2.s: New file.
+       * testsuite/ld-sh/arch/sh-dsp.s: New file.
+       * testsuite/ld-sh/arch/sh2e.s: New file.
+       * testsuite/ld-sh/arch/sh3-nommu.s: New file.
+       * testsuite/ld-sh/arch/sh3.s: New file.
+       * testsuite/ld-sh/arch/sh3-dsp.s: New file.
+       * testsuite/ld-sh/arch/sh3e.s: New file.
+       * testsuite/ld-sh/arch/sh4-nommu-nofpu.s: New file.
+       * testsuite/ld-sh/arch/sh4-nofpu.s: New file.
+       * testsuite/ld-sh/arch/sh4.s: New file.
+       * testsuite/ld-sh/arch/sh4a-nofpu.s: New file.
+       * testsuite/ld-sh/arch/sh4al-dsp.s: New file.
+       * testsuite/ld-sh/arch/sh4a.s: New file.
+
+2004-05-28  Alan Modra  <amodra@bigpond.net.au>
+
+       * ldlang.c: Formatting.  Wrap long lines, expand bfd_get_section_flags
+       throughout file.
+       * lexsup.c: Formatting.  Wrap long lines.
+       * ldwrite.c: Update copyright date.
+
+       * ldlang.c (lang_add_section): Don't twidlle SEC_EXCLUDE here.
+       (output_section_callback): Nor SEC_KEEP here.
+       (gc_section_callback): Twiddle SEC_EXCLUDE here.
+       (lang_gc_wild): Delete.  Fold into..
+       (lang_gc_sections_1): ..here.  Only call bfd_gc_sections when garbage
+       collecting.
+       (lang_process): Always call lang_gc_sections.
+       (lang_place_orphans): Handle SEC_EXCLUDE sections.
+       * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Remove
+       SEC_EXCLUDE code.
+
+2004-05-26  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Clear
+       SEC_EXCLUDE on non-SEC_DEBUGGING sections for relocatable link.
+       * ldlang.c (lang_add_section): Likewise.
+
+2004-05-26  Alan Modra  <amodra@bigpond.net.au>
+
+       * ldlang.c (lang_add_section): Set SEC_EXCLUDE for SEC_GROUP
+       sections when doing a final link.  Clear SEC_EXCLUDE when doing
+       a relocable link, except for SEC_DEBUGGING sections.
+       * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Use the
+       same condition here to drop SEC_EXCLUDE orphan sections.
+
+2004-05-25  Alan Modra  <amodra@bigpond.net.au>
+
+       * ldlang.c (lang_process): Call bfd_merge_sections later, and
+       only when not a relocatable link.
+       (print_input_section): Handle SEC_EXCLUDE sections.
+       (size_input_section): Don't update dot on SEC_EXCLUDE sections.
+       (lang_do_assignments_1): Likewise.
+       * ldwrite.c (build_link_order): Ignore SEC_EXCLUDE input sections.
+       * emultempl/armelf.em (arm_elf_set_bfd_for_interworking): Likewise.
+       * emultempl/hppaelf.em (build_section_lists): Likewise.
+       * emultempl/ppc64elf.em (build_toc_list): Likewise.
+       (build_section_lists): Likewise.
+
+2004-05-23  Andreas Schwab  <schwab@suse.de>
+
+       * ld.texinfo (Options): Fix typo in last change.
+
+2004-05-21  Andy Chittenden  <achittenden@bluearc.com>
+
+       * ld.h (ld_config_type): Add new field: hash_table_size.
+       * ldmain.c: Initialise the new field to zero.  If it is non-zero
+       after parsing the linker's command line call
+       bfd_hash_set_default_size.
+       * lexsup.c (option_values): Add OPTION_HASH_SIZE.
+       (ld_options): Add hash-size.
+       (parse_args): Parse --hash-size option.  Allow
+       --reduce-memory-overheads to set the default hash table size as
+       well.
+       * ld.texinfo: Document the new switch.  Also mention that
+       --reduce-memory-overheads can affect the hash table size.
+       * NEWS: Mention the new feature.
+
+2004-05-19  J"orn Rennecke <joern.rennecke@superh.com>
+
+       * NEWS: Mention new linker map file generation and the
+       --reduce-memory-overheads option.
+       * ld.texinfo: Document --reduce-memory-overheads option.
+       * ld.h (map_symbol_def): New struct.
+       (struct user_section_struct, section_userdata_type): Rename to:
+       (struct lean_user_section_struct, lean_section_userdata_type).
+       (struct fat_user_section_struct, fat_section_userdata_type): New.
+       (SECTION_USERDATA_SIZE): Define.
+       (args_type): New member reduce_memory_overheads.
+       * ldlang.c (map_obstack): New static variable.
+       (init_map_userdata, print_all_symbols, sort_def_symbol): New functions.
+       (lang_map): Unless command_line.reduce_memory_overheads is set,
+       initialize lists of defined symbols for each section.
+       (print_input_section): Unless command_line.reduce_memory_overheads
+       is set, use print_all_symbols.
+       (init_os): Use lean_section_userdata_type / SECTION_USERDATA_SIZE.
+       * ldmain.c (main): Initialize command_line.reduce_memory_overheads.
+       * lexsup.c (enum option_values): Add OPTION_REDUCE_MEMORY_OVERHEADS.
+       (ld_options): Add entry for --reduce-memory-overheads.
+       (parse_args): Handle OPTION_REDUCE_MEMORY_OVERHEADS.
+
+2004-05-19  Jakub Jelinek  <jakub@redhat.com>
+
+       * ldgram.y (sect_constraint): New.
+       (ONLY_IF_RO, ONLY_IF_RW): New tokens.
+       (section): Add sect_constraint.  Pass additional argument
+       to lang_enter_output_section_statement.
+       * mri.c (mri_draw_tree): Pass additional argument to
+       lang_enter_output_section_statement.
+       * emultempl/pe.em (place_orphan): Likewise.
+       (output_prev_sec_find): Disregard output section statements with
+       constraint == -1.
+       * emultempl/mmo.em (output_prev_sec_find): Likewise.
+       (mmo_place_orphan): Pass additional argument to
+       lang_enter_output_section_statement.
+       * emultempl/elf32.em (output_prev_sec_find): Disregard output section
+       statements with constraint == -1.
+       (place_orphan): Pass additional argument to
+       lang_enter_output_section_statement.
+       * ldlang.c (lang_enter_overlay_section): Likewise.
+       (lang_output_section_find_1): New.
+       (lang_output_section_find): Use it.
+       (lang_output_section_statement_lookup_1): New.
+       (lang_output_section_statement_lookup): Use it.
+       (check_section_callback, check_input_sections): New.
+       (map_input_to_output_sections): Check if all input sections
+       are readonly if ONLY_IF_RO or ONLY_IF_RW was seen.
+       (strip_excluded_output_sections): Disregard output section statements
+       with constraint == -1.
+       (lang_record_phdrs): Likewise.
+       (lang_enter_output_section_statement): Add constraint argument.
+       Use lang_output_section_statement_lookup_1.
+       * ldlang.h (lang_output_section_statement_type): Add constraint
+       and all_input_readonly fields.
+       (lang_enter_output_section_statement): Adjust prototype.
+       * ldlex.l (ONLY_IF_RO, ONLY_IF_RW): New tokens.
+       * scripttempl/elf.sc (.eh_frame, .gcc_except_table): Move into text
+       segment if all input sections are readonly.
+
+2004-05-19  Adam Nemet  <anemet@lnxw.com>
+
+       * scripttempl/i386lynx.sc: Remove file.
+
+2004-05-17  Bob Wilson  <bob.wilson@acm.org>
+
+       * ld.texinfo (Output Section Address): Correct subsection name.
+
+2004-05-17  Adam Nemet  <anemet@lnxw.com>
+
+       * configure.tgt (powerpc-*-lynxos* case): New case.
+       * configure.host (i[3-7]86-*-lynxos* case): Remove case.
+       * emulparams/ppclynx.sh: New file.
+       * emulparams/i386lynx.sh (SCRIPT_NAME): Update to LynxOS 4.0.
+       * Makefile.am (ALL_EMULATIONS): Add eppclynx.o
+       (ei386lynx.c): Update rule to LynxOS 4.0 ELF.
+       (eppclynx.c): New rule.
+       * Makefile.in: Regenerate.
+
+2004-05-13  Joel Sherrill <joel@oarcorp.com>
+
+       * configure.tgt (or32-*-rtems*): Switch to elf and
+       support versioned targets.
+
+2004-05-13  Nick Clifton  <nickc@redhat.com>
+
+       * po/fr.po: Updated French translation.
+
+2004-05-11  Jakub Jelinek  <jakub@redhat.com>
+
+       * genscripts.sh: Generate -z combreloc -z now -z relro scripts
+       for binaries, -shared and -pie.
+       * emulparams/elf_i386.sh (SEPARATE_GOTPLT): Set.
+       * emulparams/elf_x86_64.sh (SEPARATE_GOTPLT): Set.
+       * emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS): Rename to...
+       (OTHER_RELRO_SECTIONS): ... this.
+       * ldlex.l (DATA_SEGMENT_RELRO_END): Add.
+       * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Handle
+       -z relro and -z norelro.
+       (gld${EMULATION_NAME}_list_options): Add it to usage.
+       (gld${EMULATION_NAME}_get_script): Return -z combreloc -z now
+       -z relro scripts when appropriate.
+       * scripttempl/elf.sc: Unset SEPARATE_GOTPLT if RELRO_NOW is set.
+       Create separate .got.plt section if SEPARATE_GOTPLT.
+       Move sections which are only written during relocation handling
+       to the beginning of RW segment.  If NO_SMALL_DATA, move .got
+       before .data.  Add DATA_SEGMENT_RELRO_END directive.
+       Include OTHER_RELRO_SECTIONS.
+       * ldgram.y (DATA_SEGMENT_RELRO_END): Add.
+       * ldexp.c (exp_print_token): Handle DATA_SEGMENT_RELRO_END.
+       (fold_unary): Likewise.
+       (fold_binary): Handle -z relro.
+       * ldexp.h (struct exp_data_seg): Add exp_dataseg_relro_seen and
+       exp_dataseg_relro_adjust phases.  Add relro_end field.
+       * ldmain.c (main): Initialize link_info.relro to FALSE.
+       * ldlang.c (lang_size_sections): Handle -z relro.
+
+2004-05-08  Marek Michalkiewicz  <marekm@amelek.gda.pl>
+
+       * scripttempl/avr.sc: Do not set LMA for "eeprom" section.
+
+2004-05-07  J"orn Rennecke <joern.rennecke@superh.com>
+
+       * ldlang.c (print_padding_statement): Cast size_t to bfd_vma
+       before printing it with %W.
+
+2004-05-07  Brian Ford  <ford@vss.fsi.com>
+           DJ Delorie  <dj@redhat.com>
+
+       * emultempl/pe.em (real_flags): New static.
+       (OPTION_LARGE_ADDRESS_AWARE): New define.
+       (gld${EMULATION_NAME}_add_options): Add --large-address-aware option.
+       (gld_${EMULATION_NAME}_list_options): Likewise.
+       (gld${EMULATION_NAME}_handle_option): Likewise.
+       (gld_${EMULATION_NAME}_after_open): Pass real_flags to PE private data.
+       * ld.texinfo: Document it.
+       * NEWS: Mention it.
+
+2004-05-07  Brian Ford  <ford@vss.fsi.com>
+
+       * NEWS: Mention DWARF 2 support for i386pe.
+
+2004-05-05  Alexandre Oliva  <aoliva@redhat.com>
+
+       * emulparams/elf32frvfd.sh (OUTPUT_FORMAT): Switch to new
+       elf32-frvfdpic.
+
 2004-04-30  Alan Modra  <amodra@bigpond.net.au>
 
        * ldlang.c (unique_section_p): Pass section parm, return true on
@@ -8,7 +557,7 @@
 
 2004-04-30  Eric Botcazou  <ebotcazou@act-europe.fr>
 
-       * ld.texinfo (--gc-sections): Remove restriction for 
+       * ld.texinfo (--gc-sections): Remove restriction for
        dynamic linking.
 
 2004-04-29  Brian Ford  <ford@vss.fsi.com>