1 2004-04-21 Anil Paranjpe <anilp1@kpitcummins.com>
3 * ld.texinfo (synthesizing on H8/300): Information about linker
4 relaxation support for bit manipulation instructions and system
5 control instructions is added.
7 2004-04-21 Hans-Peter Nilsson <hp@axis.com>
9 * NEWS: Mention change in DEFINED semantics.
11 2004-04-21 Eric Botcazou <ebotcazou@act-europe.fr>
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.*.
17 2004-04-21 Ben Elliston <bje@au.ibm.com>
19 * ld.texinfo (Simple Example): Add missing punctuation.
21 2004-04-20 Chris Demetriou <cgd@broadcom.com>
23 * NEWS: Note that MIPS --embedded-relocs option is deprecated.
25 2004-04-19 Jakub Jelinek <jakub@redhat.com>
27 * ldlang.c (lang_do_assignments_1): Handle .tbss output section
30 2004-04-18 Danny Smith <dannysmith@users.sourceforge.net>
32 * scriptempl/pe.sc: Put numbered .ctors.* after .ctors
33 with default priority. Likewise for dtors.
35 2004-04-11 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
37 * configure.host: Remove mips*-dec-bsd* target.
38 * configure.tgt: Likewise.
40 2004-04-08 Richard Sandiford <rsandifo@redhat.com>
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
48 * Makefile.in: Regenerate.
50 2004-04-01 Paul Brook <paul@codesourcery.com>
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.
60 2004-03-30 Stan Shebs <shebs@apple.com>
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.
69 2004-03-30 Galit Heller <Galit.Heller@nsc.com>
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.
79 2004-03-30 Nick Clifton <nickc@redhat.com>
81 * po/sv.po: Updated Swedish translation.
83 2004-03-27 Alan Modra <amodra@bigpond.net.au>
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.
90 2004-03-25 Alan Modra <amodra@bigpond.net.au>
92 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Update
93 size_dynamic_sections call.
95 2004-03-23 Alan Modra <amodra@bigpond.net.au>
98 * emultempl/ppc64elf.em (ppc_create_output_section_statements): Set
101 2004-03-20 H.J. Lu <hongjiu.lu@intel.com>
103 * lexsup.c (parse_args): Don't set unresolved_syms_in_objects
104 or unresolved_syms_in_shared_libs for -Bdynamic and -Bstatic.
106 2004-03-20 Alexandre Oliva <aoliva@redhat.com>
108 * emulparams/elf32frvfd.sh (MAXPAGESIZE): Change to 16Kb.
110 2004-03-19 Alan Modra <amodra@bigpond.net.au>
112 * config.in: Regenerate.
113 * po/ld.pot: Regenerate.
115 2004-03-18 Alan Modra <amodra@bigpond.net.au>
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
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.
130 * ldlang.c (open_input_bfds): Remove useless cast.
131 (lang_do_assignments_1): Likewise.
132 (lang_for_each_input_section): Delete.
134 2004-03-17 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
136 * configure.tgt: Switch sh-*-rtems* to ELF. Add sh-*-rtemscoff*.
138 2004-03-08 Danny Smith <dannysmith@users.sourceforge.net>
140 * pe-dll.c (pe_dll_generate_implib): Skip sections marked as
141 private when building implib.
143 2004-03-05 Nathan Sidwell <nathan@codesourcery.com>
145 * ldlang.c (lang_add_section): Don't force SEC_LOAD on
147 (IGNORE_SECTION): Ignore .tbss sections too.
148 (lang_size_sections_1): .tbss sections do not advance dot.
150 2004-03-01 Andreas Schwab <schwab@suse.de>
152 * ld.texinfo (Options): Fix example for --wrap.
154 2004-02-25 Danny Smith <dannysmith@users.sourceforge.net>
156 * pe-dll.c (fill_edata): Check that exported_symbol_sections is
159 2004-02-23 Ian Lance Taylor <ian@wasabisystems.com>
161 * ldlang.c (lang_check): Use %P, not %E, in error message.
163 2004-02-23 Nathan Sidwell <nathan@codesourcery.com>
165 * ldlang.h (struct lang_output_section_state): Change processed
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.
176 2004-02-23 Alan Modra <amodra@bigpond.net.au>
178 * ldexp.c (fold_tree): Follow indirect symbols.
180 2004-02-20 Nathan Sidwell <nathan@codesourcery.com>
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.
186 2004-02-19 Nathan Sidwell <nathan@codesourcery.com>
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
193 2004-02-18 Nathan Sidwell <nathan@codesourcery.com>
195 * ldgram.y (statement_anywhere): Add assert rule.
196 * ldlang.c (exp_init_os): Add assert case.
198 2004-02-14 Andrew Cagney <cagney@redhat.com>
200 * ldmain.c (remove_output): Call bfd_cache_close.
202 2004-02-14 Richard Sandiford <rsandifo@redhat.com>
204 * emulparams/elf32bmipn32-defs.sh (OTHER_SECTIONS): Discard
205 .MIPS.content* and .MIPS.events* sections.
207 2004-02-09 Daniel Jacobowitz <drow@mvista.com>
209 * emulparams/armelf.sh, emulparams/armelf_linux.sh: Move
210 .note.gnu.arm.ident to after allocated sections. Mark its
213 2004-02-09 Daniel Jacobowitz <drow@mvista.com>
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.
221 2004-02-05 Nick Clifton <nickc@redhat.com>
223 * emultempl/pe.em (_after_open): Fix typo in previous delta.
225 2004-02-04 Danny Smith <dannysmith@users.sourceforge.net>
227 * emultempl/pe.em (_after_open): Fix thinko in 2003-12-18 patch.
229 2004-01-28 Alan Modra <amodra@bigpond.net.au>
231 * genscripts.sh: Fix typo.
233 * genscripts.sh: Apply $LIBPATH_SUFFIX to $tool_lib and $libdir too.
235 2004-01-24 Jakub Jelinek <jakub@redhat.com>
237 * emulparams/elf64_ia64.sh: Put .rela.opd into
238 OTHER_GOT_RELOC_SECTIONS instead of OTHER_PLT_RELOC_SECTIONS.
240 2004-01-20 Danny Smith <dannysmith@users.sourceforge.net>
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.
247 2004-01-15 Alan Modra <amodra@bigpond.net.au>
249 * emulparams/elf32ppc.sh (COMMONPAGESIZE): Define.
251 2004-01-13 Nick Clifton <nickc@redhat.com>
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.
263 2004-01-13 Nick Clifton <nickc@redhat.com>
265 * ldlang.c (lang_size_sections_1): If dot is advanced, then
266 assume that the section should be allocated.
268 2004-01-13 Alan Modra <amodra@bigpond.net.au>
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.
274 2004-01-09 Alan Modra <amodra@bigpond.net.au>
276 * emultempl/ppc64elf.em (ppc_before_allocation): Clear cached
279 2004-01-06 Alexandre Oliva <aoliva@redhat.com>
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.
305 2004-01-05 Jakub Jelinek <jakub@redhat.com>
307 * emulparams/elf_s390.sh (NO_SMALL_DATA): Set to yes.
308 * emulparams/elf64_s390.sh (NO_SMALL_DATA): Set to yes.
310 2004-01-03 Alan Modra <amodra@bigpond.net.au>
312 * ldexp.c (align_n): Make static.
313 * ldexp.h (align_n): Delete declaration.
314 * ldlang.h (lang_enter_output_section_statement): Remove
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.
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.
358 2004-01-02 Bernardo Innocenti <bernie@develer.com>
360 * configure.tgt: Add m68k-uClinux target.
362 For older changes see ChangeLog-0203
368 version-control: never