* bfd/bfd-in.h (bfd_elf32_arm_process_before_allocation): Update.
[binutils.git] / ld / ChangeLog
blob0afd3f64ce46ee9e4b31d0c812a5ef8b39f2ae5e
1 2004-04-01  Paul Brook  <paul@codesourcery.com>
3         * emultempl/armelf.em (byteswap_code): Add.
4         (arm_elf_before_allocation): Pass extra parameter.
5         (PARSE_AND_LIST_PROLOGUE): Add OPTION_BE8.
6         (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add be8.
7         (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_BE8.
8         * emultempl/armelf_oabi.em: Pass extra parameter.
9         * ld.texinfo: Document --be8.
11 2004-03-30  Stan Shebs  <shebs@apple.com>
13         Remove long-obsolete MPW support.
14         * mpw-config.in, mpw-make.sed, mac-ld.r: Remove files.
15         * Makefile.am (mpw): Remove file-presynthesizing actions.
16         * Makefile.in: Likewise.
17         * ldfile.c (slash): Remove MPW case.
18         * ldlex.l [MPW]: Remove unused definition.
20 2004-03-30  Galit Heller  <Galit.Heller@nsc.com>
22         * Makefile.am (ALL_EMULATIONS): Add eelf32cr16c.o.
23         (eelf32cr16c.c): New target.
24         * Makefile.in: Regenerate.
25         * configure.tgt: Handle cr16c-*-elf*.
26         * emulparams/elf32cr16c.sh: New file.
27         * scripttempl/elfcr16c.sc: Likewise
28         * NEWS: Mention support for new target.
30 2004-03-30  Nick Clifton  <nickc@redhat.com>
32         * po/sv.po: Updated Swedish translation.
34 2004-03-27  Alan Modra  <amodra@bigpond.net.au>
36         * emultempl/elf32.em: Update new bfd_elf_discard_info name.
37         * emultempl/hppaelf.em: Likewise.
38         * emultempl/ppc64elf.em: Likewise.
39         * emultempl/sh64elf.em: Likewise.
41 2004-03-25  Alan Modra  <amodra@bigpond.net.au>
43         * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Update
44         size_dynamic_sections call.
46 2004-03-23  Alan Modra  <amodra@bigpond.net.au>
48         PR 51.
49         * emultempl/ppc64elf.em (ppc_create_output_section_statements): Set
50         link_info.wrap_char.
52 2004-03-20  H.J. Lu  <hongjiu.lu@intel.com>
54         * lexsup.c (parse_args): Don't set unresolved_syms_in_objects
55         or unresolved_syms_in_shared_libs for -Bdynamic and -Bstatic.
57 2004-03-20  Alexandre Oliva  <aoliva@redhat.com>
59         * emulparams/elf32frvfd.sh (MAXPAGESIZE): Change to 16Kb.
61 2004-03-19  Alan Modra  <amodra@bigpond.net.au>
63         * config.in: Regenerate.
64         * po/ld.pot: Regenerate.
66 2004-03-18  Alan Modra  <amodra@bigpond.net.au>
68         * ld.texinfo: Add --as-needed doco.
69         * ldmain.c (as_needed): New global var.
70         * ldmain.h (as_needed): Declare.
71         * lexsup.c (option_values): Add OPTION_AS_NEEDED and
72         OPTION_NO_AS_NEEDED.
73         (ld_options): Likewise.
74         (parse_args): Handle them.
75         * ldlang.h (lang_input_statement_type): Add as_needed field.
76         * ldlang.c (new_afile): Set p->as_needed.
77         * emultempl/elf32.em (gld${EMULATION_NAME}_load_symbols): New function.
78         (gld${EMULATION_NAME}_try_needed): Use bfd_elf_set_dyn_lib_class.
79         (ld_${EMULATION_NAME}_emulation): Set LDEMUL_RECOGNIZED_FILE entry.
81         * ldlang.c (open_input_bfds): Remove useless cast.
82         (lang_do_assignments_1): Likewise.
83         (lang_for_each_input_section): Delete.
85 2004-03-17  Ralf Corsepius <corsepiu@faw.uni-ulm.de>
87         * configure.tgt: Switch sh-*-rtems* to ELF.  Add sh-*-rtemscoff*.
89 2004-03-08  Danny Smith  <dannysmith@users.sourceforge.net>
91         * pe-dll.c (pe_dll_generate_implib): Skip sections marked as
92         private when building implib.
94 2004-03-05  Nathan Sidwell  <nathan@codesourcery.com>
96         * ldlang.c (lang_add_section): Don't force SEC_LOAD on
97         SEC_THREAD_LOCAL.
98         (IGNORE_SECTION): Ignore .tbss sections too.
99         (lang_size_sections_1): .tbss sections do not advance dot.
101 2004-03-01  Andreas Schwab  <schwab@suse.de>
103         * ld.texinfo (Options): Fix example for --wrap.
105 2004-02-25  Danny Smith  <dannysmith@users.sourceforge.net>
107         * pe-dll.c (fill_edata): Check that exported_symbol_sections is
108         not NULL.
110 2004-02-23  Ian Lance Taylor  <ian@wasabisystems.com>
112         * ldlang.c (lang_check): Use %P, not %E, in error message.
114 2004-02-23  Nathan Sidwell  <nathan@codesourcery.com>
116         * ldlang.h (struct lang_output_section_state): Change processed
117         field's type.
118         * ldexp.c (check, invalid): Remove.
119         (fold_name): Move valid_p assignments. Create undefined symbol
120         when needed. Directly exampine section's processd flag.
121         * ldlang.c (lang_output_section_statement_lookup): Adjust
122         processed field init.
123         (lang_size_sections_1): Allow LOADADDR when determining section's
124         VMA. Adjust error message. Fold data statement's expr.
125         (lang_size_sections): Correctly increment lang_statement_iteration.
127 2004-02-23  Alan Modra <amodra@bigpond.net.au>
129         * ldexp.c (fold_tree): Follow indirect symbols.
131 2004-02-20  Nathan Sidwell  <nathan@codesourcery.com>
133         * ldgram.y (exp): Add two operand ALIGN.
134         * ldexp.c (fold_binary): Add ALIGN_K case.
135         * ld.texinfo (ALIGN): Document two operand version.
137 2004-02-19  Nathan Sidwell  <nathan@codesourcery.com>
139         * ldlang.c (map_input_to_output_sections): Initialize sections
140         mentioned in a data statement expression.
141         (lang_do_assignments_1): Add data statement's expression's
142         section's vma.
144 2004-02-18  Nathan Sidwell  <nathan@codesourcery.com>
146         * ldgram.y (statement_anywhere): Add assert rule.
147         * ldlang.c (exp_init_os): Add assert case.
149 2004-02-14  Andrew Cagney  <cagney@redhat.com>
151         * ldmain.c (remove_output): Call bfd_cache_close.
153 2004-02-14  Richard Sandiford  <rsandifo@redhat.com>
155         * emulparams/elf32bmipn32-defs.sh (OTHER_SECTIONS): Discard
156         .MIPS.content* and .MIPS.events* sections.
158 2004-02-09  Daniel Jacobowitz  <drow@mvista.com>
160         * emulparams/armelf.sh, emulparams/armelf_linux.sh: Move
161         .note.gnu.arm.ident to after allocated sections.  Mark its
162         address as 0.
164 2004-02-09  Daniel Jacobowitz  <drow@mvista.com>
166         * emulparams/armelf_linux.sh (COMMONPAGESIZE): Set to 4KB.
167         * emulparams/elf32bmip.sh (COMMONPAGESIZE): Likewise.
168         * emulparams/elf32bmipn32.sh (COMMONPAGESIZE): Likewise.
169         * emulparams/elf32btsmipn32.sh (COMMONPAGESIZE): Likewise.
170         * emulparams/shlelf_linux.sh (COMMONPAGESIZE): Likewise.
172 2004-02-05  Nick Clifton  <nickc@redhat.com>
174         * emultempl/pe.em (_after_open): Fix typo in previous delta.
176 2004-02-04  Danny Smith  <dannysmith@users.sourceforge.net>
178         * emultempl/pe.em (_after_open): Fix thinko in 2003-12-18 patch.
180 2004-01-28  Alan Modra  <amodra@bigpond.net.au>
182         * genscripts.sh: Fix typo.
184         * genscripts.sh: Apply $LIBPATH_SUFFIX to $tool_lib and $libdir too.
186 2004-01-24  Jakub Jelinek  <jakub@redhat.com>
188         * emulparams/elf64_ia64.sh: Put .rela.opd into
189         OTHER_GOT_RELOC_SECTIONS instead of OTHER_PLT_RELOC_SECTIONS.
191 2004-01-20  Danny Smith  <dannysmith@users.sourceforge.net>
193         * pe-dll.c (pe_create_import_fixup): Clear WP_TEXT flag.
194         * ld.texinfo (--omagic): Note that writable text section
195         does not conform to published PE-COFF specs.
196         (--enable-auto-import): Likewise.
198 2004-01-15  Alan Modra  <amodra@bigpond.net.au>
200         * emulparams/elf32ppc.sh (COMMONPAGESIZE): Define.
202 2004-01-13  Nick Clifton  <nickc@redhat.com>
204         * ldlang.c (lang_get_regions): Add extra parameter 'have_vma'
205         which if true will prevent the LMA region being used as a
206         replacement for a default VMA region.
207         (lang_leave_output_section_statement): Pass extra parameter.
208         (lang_leave_overlay): Likewise.
209         * ld.texinfo (Output Section LMA): Document that the LMA
210         region can be set to the VMA region if no VMA has been set.
211         * ldlang.h (struct lang_output_section_phdr_list): Create a
212         typedef for this type.  Minor formatting fixes.
214 2004-01-13  Nick Clifton  <nickc@redhat.com>
216         * ldlang.c (lang_size_sections_1): If dot is advanced, then
217         assume that the section should be allocated.
219 2004-01-13  Alan Modra  <amodra@bigpond.net.au>
221         * ldlang.c (IGNORE_SECTION): Don't ignore SEC_ALLOC && !SEC_LOAD
222         sections.  Do ignore SEC_NEVER_LOAD sections.
223         (lang_size_sections_1): Remove test made redundant with the above.
225 2004-01-09  Alan Modra  <amodra@bigpond.net.au>
227         * emultempl/ppc64elf.em (ppc_before_allocation): Clear cached
228         program_header_size.
230 2004-01-06  Alexandre Oliva  <aoliva@redhat.com>
232         2003-11-28  Alexandre Oliva  <aoliva@redhat.com>
233         * emulparams/elf32frvfd.sh (EMBEDDED): Clear.
234         2003-11-05  Alexandre Oliva  <aoliva@redhat.com>
235         * emulparams/elf32frvfd.sh (STACK_ADDR): Unset.
236         (MAXPAGESIZE): Set to 64Kb.
237         (OTHER_READONLY_SECTIONS): Define __ROFIXUP_LIST__ and
238         __ROFIXUP_END__.  Don't map .rofixup.got any more.
239         * emulparams/elf32frv.sh (NOP): Set.
240         2003-10-31  Alexandre Oliva  <aoliva@redhat.com>
241         * configure.tgt: Add frv-*-*linux*.
242         2003-09-30  Alexandre Oliva  <aoliva@redhat.com>
243         * Makefile.am (ALL_EMULATIONS): Added eelf32frvfd.o.
244         (eelf32frvfd.c): New.
245         * configure.tgt <frv-*-*>: Added it to targ_extra_emuls.
246         * emulparams/elf32frv.sh: Reverted previous two patches.
247         * emulparams/elf32frvfd.sh: New.
248         * Makefile.in: Rebuilt.
249         2003-09-18  Alexandre Oliva  <aoliva@redhat.com>
250         * emulparams/elf32frv.sh (OTHER_READONLY_SECTIONS): Added
251         .rofixup.got to .rofixup.
252         2003-09-15  Alexandre Oliva  <aoliva@redhat.com>
253         * emulparams/elf32frv.sh (MAXPAGESIZE): Make it 256KiB, not 256B.
254         (TEMPLATE_NAME, GENERATE_SHLIB_SCRIPT): Set.
256 2004-01-05  Jakub Jelinek  <jakub@redhat.com>
258         * emulparams/elf_s390.sh (NO_SMALL_DATA): Set to yes.
259         * emulparams/elf64_s390.sh (NO_SMALL_DATA): Set to yes.
261 2004-01-03  Alan Modra  <amodra@bigpond.net.au>
263         * ldexp.c (align_n): Make static.
264         * ldexp.h (align_n): Delete declaration.
265         * ldlang.h (lang_enter_output_section_statement): Remove
266         block_value param.
267         * ldlang.c (lang_enter_output_section_statement): Likewise.
268         (TO_ADDR, TO_SIZE): Define.
269         (opb_shift): New var.
270         (init_opb): New function.
271         (print_input_section): Call init_opb and use TO_ADDR.
272         (print_data_statement, print_reloc_statement): Likewise.
273         (print_padding_statement): Likewise.
274         (size_input_section): Use TO_SIZE and TO_ADDR, and global opb_shift.
275         (lang_check_section_addresses): Likewise.
276         (lang_size_sections_1): Likewise.
277         (lang_do_assignments_1): Likewise.
278         (lang_set_startof): Likewise.
279         (lang_one_common): Likewise.  Combine power_of_two and opb_shift align.
280         (lang_process): Call init_opb.
281         (lang_abs_symbol_at_end_of): Use TO_ADDR and global opb_shift.
282         (lang_enter_overlay_section): Adjust
283         lang_enter_output_section_statement call.
284         * ldgram.y: Likewise.
285         * mri.c (mri_draw_tree): Likewise.
286         * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Likewise.
287         * emultempl/mmo.em (mmo_place_orphan): Likewise.
288         * emultempl/pe.em (gld${EMULATION_NAME}_place_orphan): Likewise.
290         * ldfile.c (ldfile_set_output_arch): Add defarch param.
291         * ldfile.h (ldfile_set_output_arch): Ditto.
292         * emultempl/aix.em (gld${EMULATION_NAME}_before_parse): Use
293         ldfile_set_output_arch.
294         * emultempl/beos.em (gld${EMULATION_NAME}_before_parse): Ditto.
295         * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Ditto.
296         * emultempl/linux.em (gld${EMULATION_NAME}_before_parse): Ditto.
297         * emultempl/mipsecoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
298         * emultempl/pe.em (gld${EMULATION_NAME}_before_parse): Ditto.
299         * emultempl/sunos.em (gld${EMULATION_NAME}_before_parse): Ditto.
300         * ldgram.y: Adjust ldfile_set_output_arch call.
301         * emultempl/armcoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
302         * emultempl/armelf.em (gld${EMULATION_NAME}_before_parse): Ditto.
303         * emultempl/armelf_oabi.em (gld${EMULATION_NAME}_before_parse): Ditto.
304         * emultempl/generic.em (gld${EMULATION_NAME}_before_parse): Ditto.
305         * emultempl/gld960c.em (gld960_set_output_arch): Ditto.
306         * emultempl/m68kcoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
307         * emultempl/ticoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
309 2004-01-02  Bernardo Innocenti  <bernie@develer.com>
311         * configure.tgt: Add m68k-uClinux target.
313 For older changes see ChangeLog-0203
315 Local Variables:
316 mode: change-log
317 left-margin: 8
318 fill-column: 74
319 version-control: never
320 End: