Add more documentation about h8300 relaxation.
[platform/upstream/binutils.git] / ld / ChangeLog
1 2004-04-21      Anil Paranjpe   <anilp1@kpitcummins.com>
2
3         * ld.texinfo (synthesizing on H8/300): Information about linker
4         relaxation support for bit manipulation instructions and system
5         control instructions is added.
6
7 2004-04-21  Hans-Peter Nilsson  <hp@axis.com>
8
9         * NEWS: Mention change in DEFINED semantics.
10
11 2004-04-21  Eric Botcazou  <ebotcazou@act-europe.fr>
12
13         * scripttempl/elf.sc (.text): Add KEEP for .text.*personality*.
14         (.data): Add KEEP for .gnu.linkonce.d.*personality*.
15         (.gcc_except_table): Add KEEP for self and accept .gcc_except_table.*.
16
17 2004-04-21  Ben Elliston  <bje@au.ibm.com>
18
19         * ld.texinfo (Simple Example): Add missing punctuation.
20
21 2004-04-20  Chris Demetriou  <cgd@broadcom.com>
22
23         * NEWS: Note that MIPS --embedded-relocs option is deprecated.
24
25 2004-04-19  Jakub Jelinek  <jakub@redhat.com>
26
27         * ldlang.c (lang_do_assignments_1): Handle .tbss output section
28         specially.
29
30 2004-04-18  Danny Smith  <dannysmith@users.sourceforge.net>
31
32         * scriptempl/pe.sc:  Put numbered .ctors.* after .ctors
33         with default priority. Likewise for dtors.
34
35 2004-04-11  Thiemo Seufer  <seufer@csv.ica.uni-stuttgart.de>
36
37         * configure.host: Remove mips*-dec-bsd* target.
38         * configure.tgt: Likewise.
39
40 2004-04-08  Richard Sandiford  <rsandifo@redhat.com>
41
42         * emulparams/elf32bsmip.sh (EXTRA_EM_FILE): Define to irix.
43         * emulparams/elf64bmip.sh (EXTRA_EM_FILE): Likewise.
44         * emulparams/elf32bmipn32.sh (EXTRA_EM_FILE): Likewise.
45         * emultempl/irix.em: New file.
46         * Makefile.am (eelf32bsmip.c, eelf32bmipn32.c, eelf64bmip.c): Update
47         dependencies.
48         * Makefile.in: Regenerate.
49
50 2004-04-01  Paul Brook  <paul@codesourcery.com>
51
52         * emultempl/armelf.em (byteswap_code): Add.
53         (arm_elf_before_allocation): Pass extra parameter.
54         (PARSE_AND_LIST_PROLOGUE): Add OPTION_BE8.
55         (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add be8.
56         (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_BE8.
57         * emultempl/armelf_oabi.em: Pass extra parameter.
58         * ld.texinfo: Document --be8.
59
60 2004-03-30  Stan Shebs  <shebs@apple.com>
61
62         Remove long-obsolete MPW support.
63         * mpw-config.in, mpw-make.sed, mac-ld.r: Remove files.
64         * Makefile.am (mpw): Remove file-presynthesizing actions.
65         * Makefile.in: Likewise.
66         * ldfile.c (slash): Remove MPW case.
67         * ldlex.l [MPW]: Remove unused definition.
68
69 2004-03-30  Galit Heller  <Galit.Heller@nsc.com>
70
71         * Makefile.am (ALL_EMULATIONS): Add eelf32cr16c.o.
72         (eelf32cr16c.c): New target.
73         * Makefile.in: Regenerate.
74         * configure.tgt: Handle cr16c-*-elf*.
75         * emulparams/elf32cr16c.sh: New file.
76         * scripttempl/elfcr16c.sc: Likewise
77         * NEWS: Mention support for new target.
78
79 2004-03-30  Nick Clifton  <nickc@redhat.com>
80
81         * po/sv.po: Updated Swedish translation.
82
83 2004-03-27  Alan Modra  <amodra@bigpond.net.au>
84
85         * emultempl/elf32.em: Update new bfd_elf_discard_info name.
86         * emultempl/hppaelf.em: Likewise.
87         * emultempl/ppc64elf.em: Likewise.
88         * emultempl/sh64elf.em: Likewise.
89
90 2004-03-25  Alan Modra  <amodra@bigpond.net.au>
91
92         * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Update
93         size_dynamic_sections call.
94
95 2004-03-23  Alan Modra  <amodra@bigpond.net.au>
96
97         PR 51.
98         * emultempl/ppc64elf.em (ppc_create_output_section_statements): Set
99         link_info.wrap_char.
100
101 2004-03-20  H.J. Lu  <hongjiu.lu@intel.com>
102
103         * lexsup.c (parse_args): Don't set unresolved_syms_in_objects
104         or unresolved_syms_in_shared_libs for -Bdynamic and -Bstatic.
105
106 2004-03-20  Alexandre Oliva  <aoliva@redhat.com>
107
108         * emulparams/elf32frvfd.sh (MAXPAGESIZE): Change to 16Kb.
109
110 2004-03-19  Alan Modra  <amodra@bigpond.net.au>
111
112         * config.in: Regenerate.
113         * po/ld.pot: Regenerate.
114
115 2004-03-18  Alan Modra  <amodra@bigpond.net.au>
116
117         * ld.texinfo: Add --as-needed doco.
118         * ldmain.c (as_needed): New global var.
119         * ldmain.h (as_needed): Declare.
120         * lexsup.c (option_values): Add OPTION_AS_NEEDED and
121         OPTION_NO_AS_NEEDED.
122         (ld_options): Likewise.
123         (parse_args): Handle them.
124         * ldlang.h (lang_input_statement_type): Add as_needed field.
125         * ldlang.c (new_afile): Set p->as_needed.
126         * emultempl/elf32.em (gld${EMULATION_NAME}_load_symbols): New function.
127         (gld${EMULATION_NAME}_try_needed): Use bfd_elf_set_dyn_lib_class.
128         (ld_${EMULATION_NAME}_emulation): Set LDEMUL_RECOGNIZED_FILE entry.
129
130         * ldlang.c (open_input_bfds): Remove useless cast.
131         (lang_do_assignments_1): Likewise.
132         (lang_for_each_input_section): Delete.
133
134 2004-03-17  Ralf Corsepius <corsepiu@faw.uni-ulm.de>
135
136         * configure.tgt: Switch sh-*-rtems* to ELF.  Add sh-*-rtemscoff*.
137
138 2004-03-08  Danny Smith  <dannysmith@users.sourceforge.net>
139
140         * pe-dll.c (pe_dll_generate_implib): Skip sections marked as
141         private when building implib.
142
143 2004-03-05  Nathan Sidwell  <nathan@codesourcery.com>
144
145         * ldlang.c (lang_add_section): Don't force SEC_LOAD on
146         SEC_THREAD_LOCAL.
147         (IGNORE_SECTION): Ignore .tbss sections too.
148         (lang_size_sections_1): .tbss sections do not advance dot.
149
150 2004-03-01  Andreas Schwab  <schwab@suse.de>
151
152         * ld.texinfo (Options): Fix example for --wrap.
153
154 2004-02-25  Danny Smith  <dannysmith@users.sourceforge.net>
155
156         * pe-dll.c (fill_edata): Check that exported_symbol_sections is
157         not NULL.
158
159 2004-02-23  Ian Lance Taylor  <ian@wasabisystems.com>
160
161         * ldlang.c (lang_check): Use %P, not %E, in error message.
162
163 2004-02-23  Nathan Sidwell  <nathan@codesourcery.com>
164
165         * ldlang.h (struct lang_output_section_state): Change processed
166         field's type.
167         * ldexp.c (check, invalid): Remove.
168         (fold_name): Move valid_p assignments. Create undefined symbol
169         when needed. Directly exampine section's processd flag.
170         * ldlang.c (lang_output_section_statement_lookup): Adjust
171         processed field init.
172         (lang_size_sections_1): Allow LOADADDR when determining section's
173         VMA. Adjust error message. Fold data statement's expr.
174         (lang_size_sections): Correctly increment lang_statement_iteration.
175
176 2004-02-23  Alan Modra <amodra@bigpond.net.au>
177
178         * ldexp.c (fold_tree): Follow indirect symbols.
179
180 2004-02-20  Nathan Sidwell  <nathan@codesourcery.com>
181
182         * ldgram.y (exp): Add two operand ALIGN.
183         * ldexp.c (fold_binary): Add ALIGN_K case.
184         * ld.texinfo (ALIGN): Document two operand version.
185
186 2004-02-19  Nathan Sidwell  <nathan@codesourcery.com>
187
188         * ldlang.c (map_input_to_output_sections): Initialize sections
189         mentioned in a data statement expression.
190         (lang_do_assignments_1): Add data statement's expression's
191         section's vma.
192
193 2004-02-18  Nathan Sidwell  <nathan@codesourcery.com>
194
195         * ldgram.y (statement_anywhere): Add assert rule.
196         * ldlang.c (exp_init_os): Add assert case.
197
198 2004-02-14  Andrew Cagney  <cagney@redhat.com>
199
200         * ldmain.c (remove_output): Call bfd_cache_close.
201
202 2004-02-14  Richard Sandiford  <rsandifo@redhat.com>
203
204         * emulparams/elf32bmipn32-defs.sh (OTHER_SECTIONS): Discard
205         .MIPS.content* and .MIPS.events* sections.
206
207 2004-02-09  Daniel Jacobowitz  <drow@mvista.com>
208
209         * emulparams/armelf.sh, emulparams/armelf_linux.sh: Move
210         .note.gnu.arm.ident to after allocated sections.  Mark its
211         address as 0.
212
213 2004-02-09  Daniel Jacobowitz  <drow@mvista.com>
214
215         * emulparams/armelf_linux.sh (COMMONPAGESIZE): Set to 4KB.
216         * emulparams/elf32bmip.sh (COMMONPAGESIZE): Likewise.
217         * emulparams/elf32bmipn32.sh (COMMONPAGESIZE): Likewise.
218         * emulparams/elf32btsmipn32.sh (COMMONPAGESIZE): Likewise.
219         * emulparams/shlelf_linux.sh (COMMONPAGESIZE): Likewise.
220
221 2004-02-05  Nick Clifton  <nickc@redhat.com>
222
223         * emultempl/pe.em (_after_open): Fix typo in previous delta.
224
225 2004-02-04  Danny Smith  <dannysmith@users.sourceforge.net>
226
227         * emultempl/pe.em (_after_open): Fix thinko in 2003-12-18 patch.
228
229 2004-01-28  Alan Modra  <amodra@bigpond.net.au>
230
231         * genscripts.sh: Fix typo.
232
233         * genscripts.sh: Apply $LIBPATH_SUFFIX to $tool_lib and $libdir too.
234
235 2004-01-24  Jakub Jelinek  <jakub@redhat.com>
236
237         * emulparams/elf64_ia64.sh: Put .rela.opd into
238         OTHER_GOT_RELOC_SECTIONS instead of OTHER_PLT_RELOC_SECTIONS.
239
240 2004-01-20  Danny Smith  <dannysmith@users.sourceforge.net>
241
242         * pe-dll.c (pe_create_import_fixup): Clear WP_TEXT flag.
243         * ld.texinfo (--omagic): Note that writable text section
244         does not conform to published PE-COFF specs.
245         (--enable-auto-import): Likewise.
246
247 2004-01-15  Alan Modra  <amodra@bigpond.net.au>
248
249         * emulparams/elf32ppc.sh (COMMONPAGESIZE): Define.
250
251 2004-01-13  Nick Clifton  <nickc@redhat.com>
252
253         * ldlang.c (lang_get_regions): Add extra parameter 'have_vma'
254         which if true will prevent the LMA region being used as a
255         replacement for a default VMA region.
256         (lang_leave_output_section_statement): Pass extra parameter.
257         (lang_leave_overlay): Likewise.
258         * ld.texinfo (Output Section LMA): Document that the LMA
259         region can be set to the VMA region if no VMA has been set.
260         * ldlang.h (struct lang_output_section_phdr_list): Create a
261         typedef for this type.  Minor formatting fixes.
262
263 2004-01-13  Nick Clifton  <nickc@redhat.com>
264
265         * ldlang.c (lang_size_sections_1): If dot is advanced, then
266         assume that the section should be allocated.
267
268 2004-01-13  Alan Modra  <amodra@bigpond.net.au>
269
270         * ldlang.c (IGNORE_SECTION): Don't ignore SEC_ALLOC && !SEC_LOAD
271         sections.  Do ignore SEC_NEVER_LOAD sections.
272         (lang_size_sections_1): Remove test made redundant with the above.
273
274 2004-01-09  Alan Modra  <amodra@bigpond.net.au>
275
276         * emultempl/ppc64elf.em (ppc_before_allocation): Clear cached
277         program_header_size.
278
279 2004-01-06  Alexandre Oliva  <aoliva@redhat.com>
280
281         2003-11-28  Alexandre Oliva  <aoliva@redhat.com>
282         * emulparams/elf32frvfd.sh (EMBEDDED): Clear.
283         2003-11-05  Alexandre Oliva  <aoliva@redhat.com>
284         * emulparams/elf32frvfd.sh (STACK_ADDR): Unset.
285         (MAXPAGESIZE): Set to 64Kb.
286         (OTHER_READONLY_SECTIONS): Define __ROFIXUP_LIST__ and
287         __ROFIXUP_END__.  Don't map .rofixup.got any more.
288         * emulparams/elf32frv.sh (NOP): Set.
289         2003-10-31  Alexandre Oliva  <aoliva@redhat.com>
290         * configure.tgt: Add frv-*-*linux*.
291         2003-09-30  Alexandre Oliva  <aoliva@redhat.com>
292         * Makefile.am (ALL_EMULATIONS): Added eelf32frvfd.o.
293         (eelf32frvfd.c): New.
294         * configure.tgt <frv-*-*>: Added it to targ_extra_emuls.
295         * emulparams/elf32frv.sh: Reverted previous two patches.
296         * emulparams/elf32frvfd.sh: New.
297         * Makefile.in: Rebuilt.
298         2003-09-18  Alexandre Oliva  <aoliva@redhat.com>
299         * emulparams/elf32frv.sh (OTHER_READONLY_SECTIONS): Added
300         .rofixup.got to .rofixup.
301         2003-09-15  Alexandre Oliva  <aoliva@redhat.com>
302         * emulparams/elf32frv.sh (MAXPAGESIZE): Make it 256KiB, not 256B.
303         (TEMPLATE_NAME, GENERATE_SHLIB_SCRIPT): Set.
304
305 2004-01-05  Jakub Jelinek  <jakub@redhat.com>
306
307         * emulparams/elf_s390.sh (NO_SMALL_DATA): Set to yes.
308         * emulparams/elf64_s390.sh (NO_SMALL_DATA): Set to yes.
309
310 2004-01-03  Alan Modra  <amodra@bigpond.net.au>
311
312         * ldexp.c (align_n): Make static.
313         * ldexp.h (align_n): Delete declaration.
314         * ldlang.h (lang_enter_output_section_statement): Remove
315         block_value param.
316         * ldlang.c (lang_enter_output_section_statement): Likewise.
317         (TO_ADDR, TO_SIZE): Define.
318         (opb_shift): New var.
319         (init_opb): New function.
320         (print_input_section): Call init_opb and use TO_ADDR.
321         (print_data_statement, print_reloc_statement): Likewise.
322         (print_padding_statement): Likewise.
323         (size_input_section): Use TO_SIZE and TO_ADDR, and global opb_shift.
324         (lang_check_section_addresses): Likewise.
325         (lang_size_sections_1): Likewise.
326         (lang_do_assignments_1): Likewise.
327         (lang_set_startof): Likewise.
328         (lang_one_common): Likewise.  Combine power_of_two and opb_shift align.
329         (lang_process): Call init_opb.
330         (lang_abs_symbol_at_end_of): Use TO_ADDR and global opb_shift.
331         (lang_enter_overlay_section): Adjust
332         lang_enter_output_section_statement call.
333         * ldgram.y: Likewise.
334         * mri.c (mri_draw_tree): Likewise.
335         * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Likewise.
336         * emultempl/mmo.em (mmo_place_orphan): Likewise.
337         * emultempl/pe.em (gld${EMULATION_NAME}_place_orphan): Likewise.
338
339         * ldfile.c (ldfile_set_output_arch): Add defarch param.
340         * ldfile.h (ldfile_set_output_arch): Ditto.
341         * emultempl/aix.em (gld${EMULATION_NAME}_before_parse): Use
342         ldfile_set_output_arch.
343         * emultempl/beos.em (gld${EMULATION_NAME}_before_parse): Ditto.
344         * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Ditto.
345         * emultempl/linux.em (gld${EMULATION_NAME}_before_parse): Ditto.
346         * emultempl/mipsecoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
347         * emultempl/pe.em (gld${EMULATION_NAME}_before_parse): Ditto.
348         * emultempl/sunos.em (gld${EMULATION_NAME}_before_parse): Ditto.
349         * ldgram.y: Adjust ldfile_set_output_arch call.
350         * emultempl/armcoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
351         * emultempl/armelf.em (gld${EMULATION_NAME}_before_parse): Ditto.
352         * emultempl/armelf_oabi.em (gld${EMULATION_NAME}_before_parse): Ditto.
353         * emultempl/generic.em (gld${EMULATION_NAME}_before_parse): Ditto.
354         * emultempl/gld960c.em (gld960_set_output_arch): Ditto.
355         * emultempl/m68kcoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
356         * emultempl/ticoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
357
358 2004-01-02  Bernardo Innocenti  <bernie@develer.com>
359
360         * configure.tgt: Add m68k-uClinux target.
361
362 For older changes see ChangeLog-0203
363 \f
364 Local Variables:
365 mode: change-log
366 left-margin: 8
367 fill-column: 74
368 version-control: never
369 End: