Switch sh-*-rtems* to ELF. Add sh-*-rtemscoff*.
[binutils.git] / ld / ChangeLog
blob0b3407f7c798d99ff929f6c08c5de6a3d8014bf4
1 2004-03-17  Ralf Corsepius <corsepiu@faw.uni-ulm.de>
3         * configure.tgt: Switch sh-*-rtems* to ELF.  Add sh-*-rtemscoff*.
5 2004-03-08  Danny Smith  <dannysmith@users.sourceforge.net>
7         * pe-dll.c (pe_dll_generate_implib): Skip sections marked as
8         private when building implib.
10 2004-03-05  Nathan Sidwell  <nathan@codesourcery.com>
12         * ldlang.c (lang_add_section): Don't force SEC_LOAD on
13         SEC_THREAD_LOCAL.
14         (IGNORE_SECTION): Ignore .tbss sections too.
15         (lang_size_sections_1): .tbss sections do not advance dot.
17 2004-03-01  Andreas Schwab  <schwab@suse.de>
19         * ld.texinfo (Options): Fix example for --wrap.
21 2004-02-25  Danny Smith  <dannysmith@users.sourceforge.net>
23         * pe-dll.c (fill_edata): Check that exported_symbol_sections is
24         not NULL.
26 2004-02-23  Ian Lance Taylor  <ian@wasabisystems.com>
28         * ldlang.c (lang_check): Use %P, not %E, in error message.
30 2004-02-23  Nathan Sidwell  <nathan@codesourcery.com>
32         * ldlang.h (struct lang_output_section_state): Change processed
33         field's type.
34         * ldexp.c (check, invalid): Remove.
35         (fold_name): Move valid_p assignments. Create undefined symbol
36         when needed. Directly exampine section's processd flag.
37         * ldlang.c (lang_output_section_statement_lookup): Adjust
38         processed field init.
39         (lang_size_sections_1): Allow LOADADDR when determining section's
40         VMA. Adjust error message. Fold data statement's expr.
41         (lang_size_sections): Correctly increment lang_statement_iteration.
43 2004-02-23  Alan Modra <amodra@bigpond.net.au>
45         * ldexp.c (fold_tree): Follow indirect symbols.
46         
47 2004-02-20  Nathan Sidwell  <nathan@codesourcery.com>
49         * ldgram.y (exp): Add two operand ALIGN.
50         * ldexp.c (fold_binary): Add ALIGN_K case.
51         * ld.texinfo (ALIGN): Document two operand version.
53 2004-02-19  Nathan Sidwell  <nathan@codesourcery.com>
55         * ldlang.c (map_input_to_output_sections): Initialize sections
56         mentioned in a data statement expression.
57         (lang_do_assignments_1): Add data statement's expression's
58         section's vma.
60 2004-02-18  Nathan Sidwell  <nathan@codesourcery.com>
62         * ldgram.y (statement_anywhere): Add assert rule.
63         * ldlang.c (exp_init_os): Add assert case.
65 2004-02-14  Andrew Cagney  <cagney@redhat.com>
67         * ldmain.c (remove_output): Call bfd_cache_close.
69 2004-02-14  Richard Sandiford  <rsandifo@redhat.com>
71         * emulparams/elf32bmipn32-defs.sh (OTHER_SECTIONS): Discard
72         .MIPS.content* and .MIPS.events* sections.
74 2004-02-09  Daniel Jacobowitz  <drow@mvista.com>
76         * emulparams/armelf.sh, emulparams/armelf_linux.sh: Move
77         .note.gnu.arm.ident to after allocated sections.  Mark its
78         address as 0.
80 2004-02-09  Daniel Jacobowitz  <drow@mvista.com>
82         * emulparams/armelf_linux.sh (COMMONPAGESIZE): Set to 4KB.
83         * emulparams/elf32bmip.sh (COMMONPAGESIZE): Likewise.
84         * emulparams/elf32bmipn32.sh (COMMONPAGESIZE): Likewise.
85         * emulparams/elf32btsmipn32.sh (COMMONPAGESIZE): Likewise.
86         * emulparams/shlelf_linux.sh (COMMONPAGESIZE): Likewise.
88 2004-02-05  Nick Clifton  <nickc@redhat.com>
90         * emultempl/pe.em (_after_open): Fix typo in previous delta.
92 2004-02-04  Danny Smith  <dannysmith@users.sourceforge.net>
94         * emultempl/pe.em (_after_open): Fix thinko in 2003-12-18 patch.
96 2004-01-28  Alan Modra  <amodra@bigpond.net.au>
98         * genscripts.sh: Fix typo.
100         * genscripts.sh: Apply $LIBPATH_SUFFIX to $tool_lib and $libdir too.
102 2004-01-24  Jakub Jelinek  <jakub@redhat.com>
104         * emulparams/elf64_ia64.sh: Put .rela.opd into
105         OTHER_GOT_RELOC_SECTIONS instead of OTHER_PLT_RELOC_SECTIONS.
107 2004-01-20  Danny Smith  <dannysmith@users.sourceforge.net>
109         * pe-dll.c (pe_create_import_fixup): Clear WP_TEXT flag.
110         * ld.texinfo (--omagic): Note that writable text section
111         does not conform to published PE-COFF specs.
112         (--enable-auto-import): Likewise.
114 2004-01-15  Alan Modra  <amodra@bigpond.net.au>
116         * emulparams/elf32ppc.sh (COMMONPAGESIZE): Define.
118 2004-01-13  Nick Clifton  <nickc@redhat.com>
120         * ldlang.c (lang_get_regions): Add extra parameter 'have_vma'
121         which if true will prevent the LMA region being used as a
122         replacement for a default VMA region.
123         (lang_leave_output_section_statement): Pass extra parameter.
124         (lang_leave_overlay): Likewise.
125         * ld.texinfo (Output Section LMA): Document that the LMA
126         region can be set to the VMA region if no VMA has been set.
127         * ldlang.h (struct lang_output_section_phdr_list): Create a
128         typedef for this type.  Minor formatting fixes.
130 2004-01-13  Nick Clifton  <nickc@redhat.com>
132         * ldlang.c (lang_size_sections_1): If dot is advanced, then
133         assume that the section should be allocated.
135 2004-01-13  Alan Modra  <amodra@bigpond.net.au>
137         * ldlang.c (IGNORE_SECTION): Don't ignore SEC_ALLOC && !SEC_LOAD
138         sections.  Do ignore SEC_NEVER_LOAD sections.
139         (lang_size_sections_1): Remove test made redundant with the above.
141 2004-01-09  Alan Modra  <amodra@bigpond.net.au>
143         * emultempl/ppc64elf.em (ppc_before_allocation): Clear cached
144         program_header_size.
146 2004-01-06  Alexandre Oliva  <aoliva@redhat.com>
148         2003-11-28  Alexandre Oliva  <aoliva@redhat.com>
149         * emulparams/elf32frvfd.sh (EMBEDDED): Clear.
150         2003-11-05  Alexandre Oliva  <aoliva@redhat.com>
151         * emulparams/elf32frvfd.sh (STACK_ADDR): Unset.
152         (MAXPAGESIZE): Set to 64Kb.
153         (OTHER_READONLY_SECTIONS): Define __ROFIXUP_LIST__ and
154         __ROFIXUP_END__.  Don't map .rofixup.got any more.
155         * emulparams/elf32frv.sh (NOP): Set.
156         2003-10-31  Alexandre Oliva  <aoliva@redhat.com>
157         * configure.tgt: Add frv-*-*linux*.
158         2003-09-30  Alexandre Oliva  <aoliva@redhat.com>
159         * Makefile.am (ALL_EMULATIONS): Added eelf32frvfd.o.
160         (eelf32frvfd.c): New.
161         * configure.tgt <frv-*-*>: Added it to targ_extra_emuls.
162         * emulparams/elf32frv.sh: Reverted previous two patches.
163         * emulparams/elf32frvfd.sh: New.
164         * Makefile.in: Rebuilt.
165         2003-09-18  Alexandre Oliva  <aoliva@redhat.com>
166         * emulparams/elf32frv.sh (OTHER_READONLY_SECTIONS): Added
167         .rofixup.got to .rofixup.
168         2003-09-15  Alexandre Oliva  <aoliva@redhat.com>
169         * emulparams/elf32frv.sh (MAXPAGESIZE): Make it 256KiB, not 256B.
170         (TEMPLATE_NAME, GENERATE_SHLIB_SCRIPT): Set.
172 2004-01-05  Jakub Jelinek  <jakub@redhat.com>
174         * emulparams/elf_s390.sh (NO_SMALL_DATA): Set to yes.
175         * emulparams/elf64_s390.sh (NO_SMALL_DATA): Set to yes.
177 2004-01-03  Alan Modra  <amodra@bigpond.net.au>
179         * ldexp.c (align_n): Make static.
180         * ldexp.h (align_n): Delete declaration.
181         * ldlang.h (lang_enter_output_section_statement): Remove
182         block_value param.
183         * ldlang.c (lang_enter_output_section_statement): Likewise.
184         (TO_ADDR, TO_SIZE): Define.
185         (opb_shift): New var.
186         (init_opb): New function.
187         (print_input_section): Call init_opb and use TO_ADDR.
188         (print_data_statement, print_reloc_statement): Likewise.
189         (print_padding_statement): Likewise.
190         (size_input_section): Use TO_SIZE and TO_ADDR, and global opb_shift.
191         (lang_check_section_addresses): Likewise.
192         (lang_size_sections_1): Likewise.
193         (lang_do_assignments_1): Likewise.
194         (lang_set_startof): Likewise.
195         (lang_one_common): Likewise.  Combine power_of_two and opb_shift align.
196         (lang_process): Call init_opb.
197         (lang_abs_symbol_at_end_of): Use TO_ADDR and global opb_shift.
198         (lang_enter_overlay_section): Adjust
199         lang_enter_output_section_statement call.
200         * ldgram.y: Likewise.
201         * mri.c (mri_draw_tree): Likewise.
202         * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Likewise.
203         * emultempl/mmo.em (mmo_place_orphan): Likewise.
204         * emultempl/pe.em (gld${EMULATION_NAME}_place_orphan): Likewise.
206         * ldfile.c (ldfile_set_output_arch): Add defarch param.
207         * ldfile.h (ldfile_set_output_arch): Ditto.
208         * emultempl/aix.em (gld${EMULATION_NAME}_before_parse): Use
209         ldfile_set_output_arch.
210         * emultempl/beos.em (gld${EMULATION_NAME}_before_parse): Ditto.
211         * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Ditto.
212         * emultempl/linux.em (gld${EMULATION_NAME}_before_parse): Ditto.
213         * emultempl/mipsecoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
214         * emultempl/pe.em (gld${EMULATION_NAME}_before_parse): Ditto.
215         * emultempl/sunos.em (gld${EMULATION_NAME}_before_parse): Ditto.
216         * ldgram.y: Adjust ldfile_set_output_arch call.
217         * emultempl/armcoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
218         * emultempl/armelf.em (gld${EMULATION_NAME}_before_parse): Ditto.
219         * emultempl/armelf_oabi.em (gld${EMULATION_NAME}_before_parse): Ditto.
220         * emultempl/generic.em (gld${EMULATION_NAME}_before_parse): Ditto.
221         * emultempl/gld960c.em (gld960_set_output_arch): Ditto.
222         * emultempl/m68kcoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
223         * emultempl/ticoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
225 2004-01-02  Bernardo Innocenti  <bernie@develer.com>
227         * configure.tgt: Add m68k-uClinux target.
229 For older changes see ChangeLog-0203
231 Local Variables:
232 mode: change-log
233 left-margin: 8
234 fill-column: 74
235 version-control: never
236 End: