1 2004-03-30 Galit Heller <Galit.Heller@nsc.com>
3 * Makefile.am (ALL_EMULATIONS): Add eelf32cr16c.o.
4 (eelf32cr16c.c): New target.
5 * Makefile.in: Regenerate.
6 * configure.tgt: Handle cr16c-*-elf*.
7 * emulparams/elf32cr16c.sh: New file.
8 * scripttempl/elfcr16c.sc: Likewise
9 * NEWS: Mention support for new target.
11 2004-03-30 Nick Clifton <nickc@redhat.com>
13 * po/sv.po: Updated Swedish translation.
15 2004-03-27 Alan Modra <amodra@bigpond.net.au>
17 * emultempl/elf32.em: Update new bfd_elf_discard_info name.
18 * emultempl/hppaelf.em: Likewise.
19 * emultempl/ppc64elf.em: Likewise.
20 * emultempl/sh64elf.em: Likewise.
22 2004-03-25 Alan Modra <amodra@bigpond.net.au>
24 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Update
25 size_dynamic_sections call.
27 2004-03-23 Alan Modra <amodra@bigpond.net.au>
30 * emultempl/ppc64elf.em (ppc_create_output_section_statements): Set
33 2004-03-20 H.J. Lu <hongjiu.lu@intel.com>
35 * lexsup.c (parse_args): Don't set unresolved_syms_in_objects
36 or unresolved_syms_in_shared_libs for -Bdynamic and -Bstatic.
38 2004-03-20 Alexandre Oliva <aoliva@redhat.com>
40 * emulparams/elf32frvfd.sh (MAXPAGESIZE): Change to 16Kb.
42 2004-03-19 Alan Modra <amodra@bigpond.net.au>
44 * config.in: Regenerate.
45 * po/ld.pot: Regenerate.
47 2004-03-18 Alan Modra <amodra@bigpond.net.au>
49 * ld.texinfo: Add --as-needed doco.
50 * ldmain.c (as_needed): New global var.
51 * ldmain.h (as_needed): Declare.
52 * lexsup.c (option_values): Add OPTION_AS_NEEDED and
54 (ld_options): Likewise.
55 (parse_args): Handle them.
56 * ldlang.h (lang_input_statement_type): Add as_needed field.
57 * ldlang.c (new_afile): Set p->as_needed.
58 * emultempl/elf32.em (gld${EMULATION_NAME}_load_symbols): New function.
59 (gld${EMULATION_NAME}_try_needed): Use bfd_elf_set_dyn_lib_class.
60 (ld_${EMULATION_NAME}_emulation): Set LDEMUL_RECOGNIZED_FILE entry.
62 * ldlang.c (open_input_bfds): Remove useless cast.
63 (lang_do_assignments_1): Likewise.
64 (lang_for_each_input_section): Delete.
66 2004-03-17 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
68 * configure.tgt: Switch sh-*-rtems* to ELF. Add sh-*-rtemscoff*.
70 2004-03-08 Danny Smith <dannysmith@users.sourceforge.net>
72 * pe-dll.c (pe_dll_generate_implib): Skip sections marked as
73 private when building implib.
75 2004-03-05 Nathan Sidwell <nathan@codesourcery.com>
77 * ldlang.c (lang_add_section): Don't force SEC_LOAD on
79 (IGNORE_SECTION): Ignore .tbss sections too.
80 (lang_size_sections_1): .tbss sections do not advance dot.
82 2004-03-01 Andreas Schwab <schwab@suse.de>
84 * ld.texinfo (Options): Fix example for --wrap.
86 2004-02-25 Danny Smith <dannysmith@users.sourceforge.net>
88 * pe-dll.c (fill_edata): Check that exported_symbol_sections is
91 2004-02-23 Ian Lance Taylor <ian@wasabisystems.com>
93 * ldlang.c (lang_check): Use %P, not %E, in error message.
95 2004-02-23 Nathan Sidwell <nathan@codesourcery.com>
97 * ldlang.h (struct lang_output_section_state): Change processed
99 * ldexp.c (check, invalid): Remove.
100 (fold_name): Move valid_p assignments. Create undefined symbol
101 when needed. Directly exampine section's processd flag.
102 * ldlang.c (lang_output_section_statement_lookup): Adjust
103 processed field init.
104 (lang_size_sections_1): Allow LOADADDR when determining section's
105 VMA. Adjust error message. Fold data statement's expr.
106 (lang_size_sections): Correctly increment lang_statement_iteration.
108 2004-02-23 Alan Modra <amodra@bigpond.net.au>
110 * ldexp.c (fold_tree): Follow indirect symbols.
112 2004-02-20 Nathan Sidwell <nathan@codesourcery.com>
114 * ldgram.y (exp): Add two operand ALIGN.
115 * ldexp.c (fold_binary): Add ALIGN_K case.
116 * ld.texinfo (ALIGN): Document two operand version.
118 2004-02-19 Nathan Sidwell <nathan@codesourcery.com>
120 * ldlang.c (map_input_to_output_sections): Initialize sections
121 mentioned in a data statement expression.
122 (lang_do_assignments_1): Add data statement's expression's
125 2004-02-18 Nathan Sidwell <nathan@codesourcery.com>
127 * ldgram.y (statement_anywhere): Add assert rule.
128 * ldlang.c (exp_init_os): Add assert case.
130 2004-02-14 Andrew Cagney <cagney@redhat.com>
132 * ldmain.c (remove_output): Call bfd_cache_close.
134 2004-02-14 Richard Sandiford <rsandifo@redhat.com>
136 * emulparams/elf32bmipn32-defs.sh (OTHER_SECTIONS): Discard
137 .MIPS.content* and .MIPS.events* sections.
139 2004-02-09 Daniel Jacobowitz <drow@mvista.com>
141 * emulparams/armelf.sh, emulparams/armelf_linux.sh: Move
142 .note.gnu.arm.ident to after allocated sections. Mark its
145 2004-02-09 Daniel Jacobowitz <drow@mvista.com>
147 * emulparams/armelf_linux.sh (COMMONPAGESIZE): Set to 4KB.
148 * emulparams/elf32bmip.sh (COMMONPAGESIZE): Likewise.
149 * emulparams/elf32bmipn32.sh (COMMONPAGESIZE): Likewise.
150 * emulparams/elf32btsmipn32.sh (COMMONPAGESIZE): Likewise.
151 * emulparams/shlelf_linux.sh (COMMONPAGESIZE): Likewise.
153 2004-02-05 Nick Clifton <nickc@redhat.com>
155 * emultempl/pe.em (_after_open): Fix typo in previous delta.
157 2004-02-04 Danny Smith <dannysmith@users.sourceforge.net>
159 * emultempl/pe.em (_after_open): Fix thinko in 2003-12-18 patch.
161 2004-01-28 Alan Modra <amodra@bigpond.net.au>
163 * genscripts.sh: Fix typo.
165 * genscripts.sh: Apply $LIBPATH_SUFFIX to $tool_lib and $libdir too.
167 2004-01-24 Jakub Jelinek <jakub@redhat.com>
169 * emulparams/elf64_ia64.sh: Put .rela.opd into
170 OTHER_GOT_RELOC_SECTIONS instead of OTHER_PLT_RELOC_SECTIONS.
172 2004-01-20 Danny Smith <dannysmith@users.sourceforge.net>
174 * pe-dll.c (pe_create_import_fixup): Clear WP_TEXT flag.
175 * ld.texinfo (--omagic): Note that writable text section
176 does not conform to published PE-COFF specs.
177 (--enable-auto-import): Likewise.
179 2004-01-15 Alan Modra <amodra@bigpond.net.au>
181 * emulparams/elf32ppc.sh (COMMONPAGESIZE): Define.
183 2004-01-13 Nick Clifton <nickc@redhat.com>
185 * ldlang.c (lang_get_regions): Add extra parameter 'have_vma'
186 which if true will prevent the LMA region being used as a
187 replacement for a default VMA region.
188 (lang_leave_output_section_statement): Pass extra parameter.
189 (lang_leave_overlay): Likewise.
190 * ld.texinfo (Output Section LMA): Document that the LMA
191 region can be set to the VMA region if no VMA has been set.
192 * ldlang.h (struct lang_output_section_phdr_list): Create a
193 typedef for this type. Minor formatting fixes.
195 2004-01-13 Nick Clifton <nickc@redhat.com>
197 * ldlang.c (lang_size_sections_1): If dot is advanced, then
198 assume that the section should be allocated.
200 2004-01-13 Alan Modra <amodra@bigpond.net.au>
202 * ldlang.c (IGNORE_SECTION): Don't ignore SEC_ALLOC && !SEC_LOAD
203 sections. Do ignore SEC_NEVER_LOAD sections.
204 (lang_size_sections_1): Remove test made redundant with the above.
206 2004-01-09 Alan Modra <amodra@bigpond.net.au>
208 * emultempl/ppc64elf.em (ppc_before_allocation): Clear cached
211 2004-01-06 Alexandre Oliva <aoliva@redhat.com>
213 2003-11-28 Alexandre Oliva <aoliva@redhat.com>
214 * emulparams/elf32frvfd.sh (EMBEDDED): Clear.
215 2003-11-05 Alexandre Oliva <aoliva@redhat.com>
216 * emulparams/elf32frvfd.sh (STACK_ADDR): Unset.
217 (MAXPAGESIZE): Set to 64Kb.
218 (OTHER_READONLY_SECTIONS): Define __ROFIXUP_LIST__ and
219 __ROFIXUP_END__. Don't map .rofixup.got any more.
220 * emulparams/elf32frv.sh (NOP): Set.
221 2003-10-31 Alexandre Oliva <aoliva@redhat.com>
222 * configure.tgt: Add frv-*-*linux*.
223 2003-09-30 Alexandre Oliva <aoliva@redhat.com>
224 * Makefile.am (ALL_EMULATIONS): Added eelf32frvfd.o.
225 (eelf32frvfd.c): New.
226 * configure.tgt <frv-*-*>: Added it to targ_extra_emuls.
227 * emulparams/elf32frv.sh: Reverted previous two patches.
228 * emulparams/elf32frvfd.sh: New.
229 * Makefile.in: Rebuilt.
230 2003-09-18 Alexandre Oliva <aoliva@redhat.com>
231 * emulparams/elf32frv.sh (OTHER_READONLY_SECTIONS): Added
232 .rofixup.got to .rofixup.
233 2003-09-15 Alexandre Oliva <aoliva@redhat.com>
234 * emulparams/elf32frv.sh (MAXPAGESIZE): Make it 256KiB, not 256B.
235 (TEMPLATE_NAME, GENERATE_SHLIB_SCRIPT): Set.
237 2004-01-05 Jakub Jelinek <jakub@redhat.com>
239 * emulparams/elf_s390.sh (NO_SMALL_DATA): Set to yes.
240 * emulparams/elf64_s390.sh (NO_SMALL_DATA): Set to yes.
242 2004-01-03 Alan Modra <amodra@bigpond.net.au>
244 * ldexp.c (align_n): Make static.
245 * ldexp.h (align_n): Delete declaration.
246 * ldlang.h (lang_enter_output_section_statement): Remove
248 * ldlang.c (lang_enter_output_section_statement): Likewise.
249 (TO_ADDR, TO_SIZE): Define.
250 (opb_shift): New var.
251 (init_opb): New function.
252 (print_input_section): Call init_opb and use TO_ADDR.
253 (print_data_statement, print_reloc_statement): Likewise.
254 (print_padding_statement): Likewise.
255 (size_input_section): Use TO_SIZE and TO_ADDR, and global opb_shift.
256 (lang_check_section_addresses): Likewise.
257 (lang_size_sections_1): Likewise.
258 (lang_do_assignments_1): Likewise.
259 (lang_set_startof): Likewise.
260 (lang_one_common): Likewise. Combine power_of_two and opb_shift align.
261 (lang_process): Call init_opb.
262 (lang_abs_symbol_at_end_of): Use TO_ADDR and global opb_shift.
263 (lang_enter_overlay_section): Adjust
264 lang_enter_output_section_statement call.
265 * ldgram.y: Likewise.
266 * mri.c (mri_draw_tree): Likewise.
267 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Likewise.
268 * emultempl/mmo.em (mmo_place_orphan): Likewise.
269 * emultempl/pe.em (gld${EMULATION_NAME}_place_orphan): Likewise.
271 * ldfile.c (ldfile_set_output_arch): Add defarch param.
272 * ldfile.h (ldfile_set_output_arch): Ditto.
273 * emultempl/aix.em (gld${EMULATION_NAME}_before_parse): Use
274 ldfile_set_output_arch.
275 * emultempl/beos.em (gld${EMULATION_NAME}_before_parse): Ditto.
276 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Ditto.
277 * emultempl/linux.em (gld${EMULATION_NAME}_before_parse): Ditto.
278 * emultempl/mipsecoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
279 * emultempl/pe.em (gld${EMULATION_NAME}_before_parse): Ditto.
280 * emultempl/sunos.em (gld${EMULATION_NAME}_before_parse): Ditto.
281 * ldgram.y: Adjust ldfile_set_output_arch call.
282 * emultempl/armcoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
283 * emultempl/armelf.em (gld${EMULATION_NAME}_before_parse): Ditto.
284 * emultempl/armelf_oabi.em (gld${EMULATION_NAME}_before_parse): Ditto.
285 * emultempl/generic.em (gld${EMULATION_NAME}_before_parse): Ditto.
286 * emultempl/gld960c.em (gld960_set_output_arch): Ditto.
287 * emultempl/m68kcoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
288 * emultempl/ticoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
290 2004-01-02 Bernardo Innocenti <bernie@develer.com>
292 * configure.tgt: Add m68k-uClinux target.
294 For older changes see ChangeLog-0203
300 version-control: never