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