+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.