1 2008-12-23 Tristan Gingold <gingold@adacore.com>
3 * Makefile.am (EXTRA_DIST): Add deffilep.c and deffilep.h
4 * Makefile.in: Regenerate.
6 2008-11-14 Alan Modra <amodra@bigpond.net.au>
8 * Makefile.am (spu_ovl.o_c): Add missing line continuations.
9 * Makefile.in: Regenerate.
11 2008-10-05 Alan Modra <amodra@bigpond.net.au>
14 * scripttempl/avr.sc (.bss): Set lma when relocating.
15 (.bss, .noinit): No need to set vma when relocating.
16 (.text, .bss, ,noinit): Set vma to zero when not relocating.
18 2008-09-30 Joseph Myers <joseph@codesourcery.com>
20 * emulparams/elf64ppc.sh (OTHER_GOT_RELOC_SECTIONS): Add .rela.opd
23 2008-09-29 Nick Clifton <nickc@redhat.com>
25 * po/vi.po: Updated Vietnamese translation.
27 2008-09-09 Peter Rosin <peda@lysator.liu.se> (tiny change)
29 * emultempl/pe.em (pe_find_data_imports): Add trailing newline
31 * emultempl/pep.em (pep_find_data_imports): Likewise.
33 2008-09-09 Alan Modra <amodra@bigpond.net.au>
35 * Makefile.am: Run "make dep-am".
36 * Makefile.in: Regenerate.
37 * po/ld.pot: Regenerate.
39 2008-09-09 Alan Modra <amodra@bigpond.net.au>
41 * emultempl/beos.em (gld${EMULATION_NAME}_place_orphan): Updated.
42 * emultempl/sunos.em (gld${EMULATION_NAME}_before_allocation): Ditto.
44 2008-09-08 Tristan Gingold <gingold@adacore.com>
46 * NEWS: Add a marker for the 2.19 features.
48 2008-09-07 Alan Modra <amodra@bigpond.net.au>
50 * ldlang.h (lang_output_section_find): Define.
51 (lang_output_section_statement_lookup): Update prototype.
52 * ldlang.c (lang_output_section_find,
53 lang_output_section_statement_lookup_1): Merge into..
54 (lang_output_section_statement_lookup): ..here. Update all callers.
55 (process_insert_statements): Set constraint negative
56 for output section statements we might be inserting. Make error
57 fatal on not finding insertion section.
58 (lang_output_section_find): Rather than comparing
59 output_section_statement.constraint against -1, test whether
61 (lang_output_section_statement_lookup_1): Likewise.
62 (output_prev_sec_find, strip_excluded_output_sections): Likewise.
63 (lang_record_phdrs): Likewise.
64 * emultempl/elf32.em (output_rel_find): Likewise.
65 * NEWS: Mention INSERT.
67 2008-08-26 Nick Clifton <nickc@redhat.com>
70 * emultempl/armelf.em (arm_elf_set_bfd_for_interworking): Scan all
71 input sections in all input bfds and always select the last
72 suitable one, so that interworking stubs are always processed
73 after all other input sections.
74 (arm_elf_before_allocation): Remove redundant use of
75 output_has_begun flag.
77 2008-08-24 Alan Modra <amodra@bigpond.net.au>
79 * configure.in: Update a number of obsolete autoconf macros.
80 * configure: Regenerate.
81 * aclocal.m4: Regenerate.
83 2008-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
86 * ldexp.c (fold_binary <DATA_SEGMENT_ALIGN>): Do not align
87 EXPLD.DATASEG.MIN_BASE.
88 * ldlang.c (lang_size_sections): New variable OLD_BASE. Rename
89 OLD_MIN_BASE to MIN_BASE with the former alignment from `ldexp.c'.
90 Use OLD_BASE now for the minimal base check after the base decrease by
91 the maximum alignment found.
93 2008-08-17 Alan Modra <amodra@bigpond.net.au>
96 * ldcref.c (check_local_sym_xref): Use bfd_generic_link_read_symbols.
97 Don't free symbol pointer array.
98 (check_refs): Likewise.
99 * ldmain.c (warning_callback): Likewise.
100 * ldmisc.c (vfinfo): Likewise.
101 * pe-dll.c (process_def_file): Likewise.
102 (pe_walk_relocs_of_symbol, generate_reloc): Likewise.
103 * emultempl/pe.em (pe_find_data_imports): Likewise.
104 (gld_${EMULATION_NAME}_after_open): Likewise.
105 * emultempl/pep.em (pep_find_data_imports): Likewise.
106 (gld_${EMULATION_NAME}_after_open): Likewise.
107 * ldlang.h (lang_input_statement_type): Delete asymbols, symbol_count,
108 passive_position, closed.
109 * ldlang.c (new_afile): Don't set asymbols and symbol_count.
110 * ldmain.c (add_archive_element): xcalloc lang_input_statement_type.
112 2008-08-15 Alan Modra <amodra@bigpond.net.au>
115 * configure.in: Invoke AC_USE_SYSTEM_EXTENSIONS.
116 * Makefile.in: Regenerate.
117 * aclocal.m4: Regenerate.
118 * config.in: Regenerate.
119 * configure: Regenerate.
121 2008-08-09 Alan Modra <amodra@bigpond.net.au>
124 * ldmain.c (check_for_scripts_dir, set_scripts_dir): Delete.
125 (main): Don't set_scripts_dir here.
126 * ldfile.c (check_for_scripts_dir, find_scripts_dir): New functions,
127 largely based on ldmain.c versions.
128 (ldfile_find_command_file): Set up search in script dir here without
129 affecting library search.
130 * Makefile.am (ldmain.o): No need to define SCRIPTDIR.
131 (ldfile.o): New rule.
132 * Makefile.in: Regenerate.
134 2008-08-08 Anatoly Sokolov <aesok@post.ru>
136 * Makefile.am (ALL_EMULATIONS): Add eavr25.o, eavr31.o, eavr35.o,
138 Add rules for eavr25.c, eavr31.c, eavr35.c, eavr51.c.
139 * Makefile.in: Regenerate.
140 * configure.tgt (avr-*-*, targ_extra_emuls): Add avr25, avr31, avr35
142 * emulparams/avr25.sh: New file.
143 * emulparams/avr31.sh: New file.
144 * emulparams/avr35.sh: New file.
145 * emulparams/avr51.sh: New file.
147 2008-08-08 Richard Sandiford <rdsandiford@googlemail.com>
148 Daniel Jacobowitz <dan@codesourcery.com>
150 * emulparams/elf32bmip.sh (GOT): Define, moving .got.plt to...
151 (OTHER_RELRO_SECTIONS, OTHER_READWRITE_SECTIONS): ...one of these
153 * emulparams/elf32bmipn32-defs.sh: Likewise.
154 * emultempl/mipself.em: Include ldctor.h, elf/mips.h and elfxx-mips.h.
155 (is_mips_elf): New macro.
156 (stub_file, stub_bfd): New variables.
157 (hook_stub_info): New structure.
158 (hook_in_stub): New function.
159 (mips_add_stub_section): Likewise.
160 (mips_create_output_section_statements): Likewise.
161 (mips_before_allocation): Likewise.
162 (real_func): New variable.
163 (mips_for_each_input_file_wrapper): New function.
164 (mips_lang_for_each_input_file): Likewise.
165 (lang_for_each_input_file): Define.
166 (LDEMUL_BEFORE_ALLOCATION): Likewise.
167 (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Likewise.
169 2008-08-08 Alan Modra <amodra@bigpond.net.au>
171 * ldfile.c (ldfile_open_file_search): Use concat.
172 (try_open): Don't use a fixed size pathname buffer.
173 (ldfile_find_command_file): Likewise.
174 * emultempl/elf32.em (gld${EMULATION_NAME}_open_dynamic_archive): If
175 using EXTRA_SHLIB_EXTENSION, don't open twice.
177 2008-08-04 Alan Modra <amodra@bigpond.net.au>
179 * Makefile.am (POTFILES.in): Set LC_ALL=C.
180 * Makefile.in: Regenerate.
181 * po/POTFILES.in: Regenerate.
183 2008-08-03 Alan Modra <amodra@bigpond.net.au>
185 * Makefile.am (spu_ovl.o): Merge rule into..
186 (spu_ovl.o_c): ..this one. Only run cpp for spu target.
187 * Makefile.in: Regenerate.
189 2008-08-02 Jan Kratochvil <jan.kratochvil@redhat.com>
191 Include the spu_ovl ASCII form in the repository files.
192 * emultempl/spuelf.em: No longer use `bin2c', use now `spu_ovl.o_c'.
193 * Makefile.am (eelf32_spu.c): Depend now on `spu_ovl.o_c'.
194 ($(srcdir)/emultempl/spu_ovl.o_c): New target.
195 ($(srcdir)/emultempl/spu_ovl.o): Rename to...
196 (spu_ovl.o): ...this one.
197 * Makefile.in: Regenerate.
198 * emultempl/spu_ovl.o_c: New file.
199 * emultempl/spu_ovl.o: File removed.
201 2008-07-31 Takashi Ono <t_ono@hkfreak.net>
203 * pe-dll.c (generate_relocs): Don't generate relocs for
204 undefined weak symbols.
206 2008-07-31 Jan Kratochvil <jan.kratochvil@redhat.com>
208 * emultempl/spuelf.em: Abort on the missing required `spu_ovl.o'.
210 2008-07-30 Alan Modra <amodra@bigpond.net.au>
212 * emultempl/pe.em, emultempl/pep.em: Silence gcc warnings.
214 2008-07-18 Joseph Myers <joseph@codesourcery.com>
216 * ld.texinfo (--no-wchar-size-warning): Document new ARM option.
217 * emultempl/armelf.em (no_wchar_size_warning): New.
218 (arm_elf_create_output_section_statements): Pass
219 no_wchar_size_warning to arm_elf_create_output_section_statements.
220 (OPTION_NO_WCHAR_SIZE_WARNING): New.
221 (PARSE_AND_LIST_LONGOPTS): Add no-wchar-size-warning.
222 (PARSE_AND_LIST_OPTIONS): List --no-wchar-size-warning.
223 (PARSE_AND_LIST_ARGS_CASES): Handle --no-wchar-size-warning.
225 2008-07-15 Jie Zhang <jie.zhang@analog.com>
227 * emulparams/elf32bfinfd.sh (OTHER_SECTIONS): Define.
229 2008-07-12 Craig Silverstein <csilvers@google.com>
232 * configure.in: Check for, and include, libz.a if it is present.
233 * configure: Regenerate.
234 * config.in: Regenerate.
236 2008-07-12 Jie Zhang <jie.zhang@analog.com>
239 2008-07-12 Jie Zhang <jie.zhang@analog.com>
240 * Makefile.am (eelf32bfin.c): Depend on bfin.em.
241 (eelf32bfinfd.c): Likewise.
242 * Makefile.in: Regenerate.
243 * gen-doc.texi: Set Blackfin.
244 * ld.texinfo: Document --sep-code and Blackfin specific
246 * ldmain.c (main): Initialize link_info.sep_code.
247 * lexsup.c (enum option_values): Add OPTION_SEP_CODE.
248 (ld_options[]): Add --sep-code.
249 (parse_args): Deal with --sep-code.
250 * emulparams/bfin.sh (EXTRA_EM_FILE): Define.
251 * emulparams/elf32bfinfd.sh (OTHER_SECTIONS): Define.
252 * emultempl/bfin.em: New file.
254 2008-07-12 Jie Zhang <jie.zhang@analog.com>
256 * Makefile.am (eelf32bfin.c): Depend on bfin.em.
257 (eelf32bfinfd.c): Likewise.
258 * Makefile.in: Regenerate.
259 * gen-doc.texi: Set Blackfin.
260 * ld.texinfo: Document --sep-code and Blackfin specific
262 * ldmain.c (main): Initialize link_info.sep_code.
263 * lexsup.c (enum option_values): Add OPTION_SEP_CODE.
264 (ld_options[]): Add --sep-code.
265 (parse_args): Deal with --sep-code.
266 * emulparams/bfin.sh (EXTRA_EM_FILE): Define.
267 * emulparams/elf32bfinfd.sh (OTHER_SECTIONS): Define.
268 * emultempl/bfin.em: New file.
270 2008-07-09 Danny Smith <dannysmith@users.sourceforge.net>
272 *pe-dll.c (autofilter_symbolprefixlist): Excude all symbols
274 Exclude "_IMPORT_DESCRIPTOR_".
275 (autofilter_symbolsuffixlist): Exclude "_NULL_THUNK_DATA".
276 (autofilter_symbollist_generic): Don't check for ".text".
277 Exclude "_NULL_IMPORT_DESCRIPTOR".
278 (autofilter_symbollist_i386): Likewise.
280 2008-07-07 Alan Modra <amodra@bigpond.net.au>
282 * emultempl/armelf.em (elf32_arm_add_stub_section): Use
283 bfd_make_section_with_flags.
284 * emultempl/avrelf.em (avr_elf_create_output_section_statements):
286 * emultempl/hppaelf.em (hppaelf_add_stub_section): Likewise.
287 * emultempl/m68hc1xelf.em (m68hc11elf_add_stub_section): Likewise.
288 * emultempl/m68kcoff.em (gld${EMULATION_NAME}_after_open): Likewise.
289 * emultempl/m68kelf.em (m68k_elf_after_open): Likewise.
290 * emultempl/ppc64elf.em (ppc_add_stub_section): Likewise.
291 * emultempl/sh64elf.em (sh64_elf_${EMULATION_NAME}_before_allocation):
294 2008-07-06 Nathan Sidwell <nathan@codesourcery.com>
296 * ld.texinfo (File Commands): Document that INCLUDE can be used in
297 several different places.
298 * ldgram.y (statement, memory_spec, section): Allow INCLUDE.
299 (memory, memory_spec_list): Simplify BNF
300 (memory_spec_list_opt): New rule.
301 * ldlex.l (INCLUDE): Recognize in EXPRESSION.
303 2008-06-20 Alan Modra <amodra@bigpond.net.au>
305 * emultempl/spuelf.em (gld${EMULATION_NAME}_finish): Make "can not
306 build overlay stubs" a fatal error.
308 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
310 * config.in: Regenerate.
311 * configure: Regenerate.
313 2008-06-17 Alan Modra <amodra@bigpond.net.au>
315 * emultempl/spuelf.em (extra_stack_space): New variable.
316 (gld${EMULATION_NAME}_finish): Pass it to spu_elf_check_vma.
317 (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS,
318 PARSE_AND_LIST_ARGS_CASES): Handle --extra-stack-space.
319 * emultempl/spu_ovl.S: Mask interrupts during dma and update of
320 overlay manager structures.
321 * emultempl/spu_ovl.o: Regenerate.
323 2008-06-16 Hans-Peter Nilsson <hp@bitrange.com>
325 * ld.texinfo (@node MMIX): For the __.MMIX.start. prefix, only
326 mention it as being special for global symbols.
328 2008-06-12 Nick Clifton <nickc@redhat.com>
330 * ldlang.c (print_output_section_statement): If the output section
331 statement has an update_dot_tree expression, apply it to
333 (print_input_section): Do not update print_dot if it would move
335 (lang_do_assignments_1): If the output section statement has an
336 update_dot_tree expression apply it to dot.
338 2008-06-07 Alan Modra <amodra@bigpond.net.au>
340 * NEWS: Mention archive:path patterns.
341 * ld.texinfo: Likewise.
342 * ldlang.c: Formatting throughout.
343 (archive_path): Only assume "[A-Za-z]:" is a dos drive.
344 (input_statement_is_archive_path): New function, extracted from..
346 (walk_wild_consider_section): Match archive:path here too.
347 (init_map_userdata, sort_def_symbol): Convert to ISO C.
348 * ldmain.c (main): Set link_info.path_separator.
349 * emultempl/spuelf.em (choose_target): Don't set it here.
351 2008-06-06 Alan Modra <amodra@bigpond.net.au>
353 * ldlang.c (name_match): New function.
354 (unique_section_p, walk_wild_consider_section): Use it here.
355 (walk_wild_section_general): And here.
356 (archive_path): New function.
357 (walk_wild): Match archive:path filespecs.
358 (open_input_bfds): Don't load archive:path files.
359 * emultempl/spuelf.em (choose_target): Set path_separator.
360 * emulparams/elf32_spu.sh: Add ._ea.* sections to ._ea output.
362 2008-06-04 Nick Clifton <nickc@redhat.com>
364 * ld.texinfo (Orphan Sections): Fix texi typo.
366 2008-06-04 Chris Metcalf <cmetcalf@tilera.com>
368 * lexsup.c (option_values): Add OPTION_NO_WARN_FATAL.
369 (ld_options): Add entry for --no-fatal-warnings.
370 (parse_args): Handle OPTION_NO_WARN_FATAL.
371 * ld.texinfo (Options): Document new command line switch.
373 2008-06-04 Alan Modra <amodra@bigpond.net.au>
375 * emultempl/spuelf.em (spu_elf_relink): Correct --no-auto-overlay arg.
377 2008-06-02 Nathan Sidwell <nathan@codesourcery.com>
379 * ldlang.c (closest_target_match): Skip generic big and little
382 2008-05-31 Evandro Menezes <evandro@yahoo.com>
385 * ld.h (enum sort_order): New.
386 * ldlang.c (lang_check: Fix comment.
387 (lang_common): Sort commons in ascending or descending order.
388 (lang_one_common): Likewise.
389 * lexsup.c (ld_options): Have --sort-common take an option
391 (parse_args): Handle argument to --sort-common.
392 * ld.texinfo (--sort-common): Document new optional argument.
393 * NEWS: Mention new feature.
395 2008-05-28 Christophe Lyon <christophe.lyon@st.com>
397 * ld.texinfo: State that farcalls stubs are supported for ARM-EABI
400 2008-05-27 Kai Tietz <kai.tietz@onevision.com>
402 * pe-dll.c (fill_edata): Make sure we calculate vma's in
404 (generate_reloc): Likewise.
405 (pe_implied_import_dll): Likewise.
407 2008-05-21 Nick Clifton <nickc@redhat.com>
410 * ld.texinfo (Orphan Sections): Mention that the linker will
411 provide start and stop symbols for orphaned sections if their
412 names are valid C identifiers.
413 * NEWS: Add an addendum to the description of the linker feature
414 for providing orphan section start and end symbols.
416 2008-05-21 Maxim Kuvyrkov <maxim@codesourcery.com>
418 * configure.in (--enable-got): New option. Handle it.
419 * configure: Regenerate.
420 * config.in: Regenerate.
421 * emultempl/m68kelf.em: (got_handling_target_default): New shell
423 (GOT_HANDLING_TARGET_DEFAULT): New macro.
424 (GOT_HANDLING_DEFAULT): New macro. Initialize it from configure
425 option if one was given.
426 (got_handling): New static variable.
427 (elf_m68k_create_output_section_statements): New static function
429 (PARSE_AND_LIST_PROLOGUE): Define shell variable.
430 (OPTION_GOT): New macro.
431 (PARSE_AND_LIST_LONGOPTS): Define shell variable. Specify
433 (got): New linker option.
434 (PARSE_AND_LIST_OPTIONS): Define shell variable. Print help string
436 (PARSE_AND_LIST_ARGS_CASES): Define shell variable. Handle --got
438 * ld.texinfo: Document --got=<type> option.
439 * gen-doc.texi: Add M68K.
440 * NEWS: Mention the new feature.
442 2008-05-21 Evandro Menezes <evandro@yahoo.com>
445 * ld.texinfo (--sort-common): Correct documentation to indicate
446 that sorting is performed by alignment, not size, biggest
449 2008-05-21 Christophe Lyon <christophe.lyon@st.com>
450 Nick Clifton <nickc@redhat.com>
452 * ld.texinfo (ARM): Document --stub-group-size=N option.
453 Move description of --pic-veneer option into the ARM section.
454 * NEWS: Mention the support for long function calls.
456 2008-05-15 Christophe Lyon <christophe.lyon@st.com>
458 * emultempl/armelf.em (build_section_lists): New function.
460 (need_laying_out): Define.
461 (group_size): Define.
462 (hook_stub_info): Define.
463 (hook_in_stub): New function.
464 (elf32_arm_add_stub_section): New function.
465 (gldarm_layout_sections_again): New function.
466 (gld${EMULATION_NAME}_finish): Replace arm_elf_finish(). Generate
467 stubs for long calls if needed.
468 (arm_elf_create_output_section_statements): create stub_file bfd.
469 (arm_for_each_input_file_wrapper): New function.
470 (arm_lang_for_each_input_file): New function.
471 (lang_for_each_input_file): Define.
472 (PARSE_AND_LIST_PROLOGUE): Add option token OPTION_STUBGROUP_SIZE.
473 (PARSE_AND_LIST_LONGOPTS): Add option stub-group-size.
474 (PARSE_AND_LIST_OPTIONS): Add option stub-group-size.
475 (PARSE_AND_LIST_ARGS_CASES): Add OPTION_STUBGROUP_SIZE case.
476 (LDEMUL_FINISH): Update to gld${EMULATION_NAME}_finish.
477 * lang.c (print_input_statement): Skip if bfd has
480 2008-05-14 Alan Modra <amodra@bigpond.net.au>
482 * Makefile.in: Regenerate.
484 2008-05-09 Kai Tietz <kai.tietz@onevision.com>
487 * emultempl/pep.em (compute_dll_image_base): Use bfd_vma instead
488 of long and change return type to bfd_vma.
489 (definfo): Change type of address from long to bfd_vma.
490 (set_pep_value): Replace strtoul to strtoull.
491 (gld_${EMULATION_NAME}_set_symbols): use bfd_vma instead of long..
492 * pe-dll.c (pe_dll_generate_def_file): Use fprintf_vma to print
494 (quick_reloc): Change argument address from int to bfd_size_type.
496 2008-05-08 Tom Tromey <tromey@redhat.com>
498 * ld.texinfo (PowerPC64 ELF64): Fix typo.
500 2008-05-08 Alan Modra <amodra@bigpond.net.au>
502 * elf32_spu.sh (OTHER_SECTIONS): Add "._ea".
503 * elf32ppc.sh: If building with spu support, put ".data.spehandle"
504 sections at the start of ".data" and provide a symbol to locate
505 the directory of embedded spe programs.
507 2008-05-08 Alan Modra <amodra@bigpond.net.au>
509 * ldexp.c (exp_print_token): Add ABSOLUTE, MIN_K, ASSERT_K. Correct
511 (fold_binary <SEGMENT_START>): Set expld.result.section to
512 current section. Expand comment. Formatting.
513 (fold_name <DEFINED>): Set expld.result.section to current section.
515 2008-04-28 Nathan Sidwell <nathan@codesourcery.com>
517 * ldlang.c (lang_size_sections_1): Don't check LMA overflow on
520 2008-04-25 Michael Frysinger <vapier@gentoo.org>
522 * configure.tgt (bfin-*-linux-uclibc*): Set targ_emul to elf32bfinfd
523 and targ_extra_emuls to elf32bfin.
525 2008-04-23 Paolo Bonzini <bonzini@gnu.org>
527 * aclocal.m4: Regenerate.
528 * configure: Regenerate.
530 2008-04-03 Kai Tietz <kai.tietz@onevision.com>
532 * scripttempl/pep.sc: Align start of symbol __CTOR_LIST__.
534 2008-04-08 Alan Modra <amodra@bigpond.net.au>
536 * po/POTFILES.in: Regenerate.
538 2008-04-08 Alan Modra <amodra@bigpond.net.au>
540 * emultempl/spuelf.em (auto_overlay, auto_overlay_file,
541 auto_overlay_fixed, auto_overlay_reserved, my_argc, my_argv): New vars.
542 (spu_before_allocation): Warn on --auto-overlay and existing overlays.
543 (struct tflist, clean_tmp): Move.
544 (new_tmp_file): New function, extracted from..
545 (embedded_spu_file): ..here.
546 (spu_elf_open_overlay_script, spu_elf_relink): New function.
547 (gld${EMULATION_NAME}_finish): Pass a bunch of --auto-overlay params.
548 Warn on --auto-overlay and zero local store.
549 (gld${EMULATION_NAME}_choose_target): New function to stash argv.
550 (OPTION_SPU_AUTO_OVERLAY, OPTION_SPU_AUTO_RELINK,
551 OPTION_SPU_OVERLAY_RODATA, OPTION_SPU_FIXED_SPACE,
552 OPTION_SPU_RESERVED_SPACE, OPTION_SPU_NO_AUTO_OVERLAY): Define.
553 (PARSE_AND_LIST_LONGOPTS): Add entries for new options.
554 (PARSE_AND_LIST_OPTIONS): Likewise.
555 (PARSE_AND_LIST_ARGS_CASES): Likewise.
556 (LDEMUL_CHOOSE_TARGET): Define.
558 2008-04-03 Kai Tietz <kai.tietz@onevision.com>
561 * pe-dll.c (make_head): Fix iat and thunk addend offset.
563 2008-03-31 Nick Clifton <nickc@redhat.com>
565 * po/fr.po: Updated French translation.
567 2008-03-24 Ian Lance Taylor <iant@google.com>
569 The sha1 code is now in libiberty.
572 * Makefile.am (CFILES): Remove sha1.c.
573 (HFILES): Remove sha1.h.
574 (OFILES): Remove sha1.o.
575 (ld_new_SOURCES): Remove sha1.c.
576 (sha1.o): Remove target.
577 * Makefile.in: Rebuild.
579 2008-03-20 Alan Modra <amodra@bigpond.net.au>
581 * emultempl/spuelf.em: Update calls to elf32-spu.c funcs.
583 2008-03-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
585 * aclocal.m4: Regenerate.
586 * configure: Likewise.
587 * Makefile.in: Likewise.
589 2008-03-14 Alan Modra <amodra@bigpond.net.au>
591 * emultempl/spuelf.em (gld${EMULATION_NAME}_finish): Protect
592 spu_elf_build_stubs with is_spu_target.
594 2008-03-13 Alan Modra <amodra@bigpond.net.au>
596 * Makefile.am: Run "make dep-am".
597 * Makefile.in: Regenerate.
598 * configure: Regenerate.
600 2008-03-06 Joseph Myers <joseph@codesourcery.com>
601 Roman Zippel <zippel@linux-m68k.org>
603 * emulparams/m68kelf.sh (GENERATE_PIE_SCRIPT): Define.
604 (COMMONPAGESIZE): Define.
606 2008-02-22 Nick Clifton <nickc@redhat.com>
609 * ldlang.c (lang_size_sections_1): Honour the setting of an
610 lma_region even if there is no vma region set, or the vma region
611 is the same as the lma region.
613 2008-02-18 Nick Clifton <nickc@redhat.com>
615 * scripttempl/armbpabi.sc (ENTRY): Do not define when performing a
617 * scripttempl/elf32cr16.sc: Likewise.
618 * scripttempl/elf32cr16c.sc: Likewise.
619 * scripttempl/elf32crx.sc: Likewise.
620 * scripttempl/elf32sh-symbian.sc: Likewise.
621 * scripttempl/elf_chaos.sc: Likewise.
622 * scripttempl/elfd10v.sc: Likewise.
623 * scripttempl/elfi370.sc: Likewise.
624 * scripttempl/elfm68hc11.sc: Likewise.
625 * scripttempl/elfm68hc12.sc: Likewise.
626 * scripttempl/ip2k.sc: Likewise.
627 * scripttempl/iq2000.sc: Likewise.
628 * scripttempl/mep.sc: Likewise.
629 * scripttempl/v850.sc: Likewise.
630 * scripttempl/xstormy16.sc: Likewise.
632 2008-02-16 Alan Modra <amodra@bigpond.net.au>
635 * ldexp.c (fold_name <LOADADDR>): Check result of evaluating
636 load_base before calling make_abs.
638 2008-02-15 Alan Modra <amodra@bigpond.net.au>
640 * emultempl/alphaelf.em (alpha_after_open): Use elf_object_id.
641 * emultempl/hppaelf.em (hppaelf_create_output_section_statements):
643 * emultempl/ppc64elf.em (ppc_create_output_section_statements):
645 * emultempl/ppc32elf.em (is_ppc_elf32_vec): Delete. Replace all
647 (is_ppc_elf): ..this new macro.
649 2008-02-15 Alan Modra <amodra@bigpond.net.au>
651 * ldmain.h (output_bfd): Delete.
652 * ldmain.c (output_bfd): Delete.
653 Replace all occurrences of output_bfd with link_info.output_bfd.
654 * ldcref.c: Likewise.
655 * ldctor.c: Likewise.
656 * ldemul.c: Likewise.
658 * ldfile.c: Likewise.
659 * ldlang.c: Likewise.
660 * ldmisc.c: Likewise.
661 * ldwrite.c: Likewise.
662 * pe-dll.c: Likewise.
663 * emultempl/aix.em: Likewise.
664 * emultempl/alphaelf.em: Likewise.
665 * emultempl/armcoff.em: Likewise.
666 * emultempl/armelf.em: Likewise.
667 * emultempl/avrelf.em: Likewise.
668 * emultempl/beos.em: Likewise.
669 * emultempl/elf-generic.em: Likewise.
670 * emultempl/elf32.em: Likewise.
671 * emultempl/gld960.em: Likewise.
672 * emultempl/hppaelf.em: Likewise.
673 * emultempl/irix.em: Likewise.
674 * emultempl/linux.em: Likewise.
675 * emultempl/lnk960.em: Likewise.
676 * emultempl/m68hc1xelf.em: Likewise.
677 * emultempl/mmix-elfnmmo.em: Likewise.
678 * emultempl/mmo.em: Likewise.
679 * emultempl/pe.em: Likewise.
680 * emultempl/pep.em: Likewise.
681 * emultempl/ppc32elf.em: Likewise.
682 * emultempl/ppc64elf.em: Likewise.
683 * emultempl/scoreelf.em: Likewise.
684 * emultempl/sh64elf.em: Likewise.
685 * emultempl/spuelf.em: Likewise.
686 * emultempl/sunos.em: Likewise.
687 * emultempl/vanilla.em: Likewise.
688 * emultempl/vxworks.em: Likewise.
689 * emultempl/xtensaelf.em: Likewise.
690 * emultempl/z80.em: Likewise.
691 * ldlang.c (open_output): Don't return output, instead write
692 link_info_output_bfd directly.
693 * emultempl/alphaelf.em: Replace occurrences of link_info.hash->creator
694 with link_info.output_bfd->xvec.
695 * emultempl/hppaelf.em: Likewise.
696 * emultempl/ppc32elf.em: Likewise.
697 * emultempl/ppc64elf.em: Likewise.
698 * emultempl/spuelf.em: Likewise.
700 2008-02-07 Alan Modra <amodra@bigpond.net.au>
702 * ldlang.c (new_afile): Don't pass unadorned NULL to concat.
703 * ldfile.c (ldfile_add_library_path): Likewise.
704 * emultempl/elf32.em (check_ld_elf_hints, check_ld_so_conf): Likewise.
705 * emultempl/lnk960.em (lnk960_before_parse): Likewise.
706 * emultempl/spuelf.em (embedded_spu_file): Likewise.
708 2008-02-07 Alan Modra <amodra@bigpond.net.au>
710 * emultempl/spu_ovl.S: Use low bit of _ovly_table.size as
711 a "present" bit rather than low bit of .buf. Correct indexing
712 into _ovly_buf_table. Use relative loads and stores to access
713 overlay manager local vars.
714 * emultempl/spu_ovl.o: Regenerate.
716 2008-02-04 H.J. Lu <hongjiu.lu@intel.com>
719 * configure: Regenerated.
721 2008-01-31 Marc Gauthier <marc@tensilica.com>
723 * configure.tgt (xtensa*-*-*): Recognize processor variants.
725 2008-01-28 Fabian Groffen <grobian@gentoo.org>
727 * configure.tgt (x86_64-*-solaris2): Add support for this target.
729 2008-01-28 Vincent Riviere <vincent.riviere@freesbee.fr>
732 * genscripts.sh: Check for the existence of BASH_LINENO not just
733 the BASH shell before generating line numbers in the emulation
736 2008-01-28 Alan Modra <amodra@bigpond.net.au>
738 * emultempl/spu_ovl.S: Rewrite.
739 * emultempl/spu_ovl.o: Regenerate.
740 * emultempl/spuelf.em (toe): Delete.
741 (spu_place_special_section): Add param to control section placement.
743 (spu_elf_load_ovl_mgr): Adjust for struct _spu_elf_section_data
745 (spu_before_allocation): Adjust spu_elf_size_stubs call.
746 (gld${EMULATION_NAME}_finish): Adjust spu_elf_build_stubs call.
748 2008-01-25 H.J. Lu <hongjiu.lu@intel.com>
751 * ldlang.c (process_insert_statements): Silence gcc 4.1 alias
754 2008-01-25 Alan Modra <amodra@bigpond.net.au>
756 * ld.texinfo (INSERT): Describe.
757 * ldgram.y (ldgram_in_script, ldgram_had_equals): Delete.
758 (INSERT_K, AFTER, BEFORE): Add as tokens.
759 (ifile_p1): Handle INSERT statements.
760 (saved_script_handle, force_make_executable): Move to..
762 (previous_script_handle): New global var.
763 * ldmain.h (saved_script_handle, force_make_executable): Declare.
764 (previous_script_handle): Likewise.
765 * ldlex.l (INSERT_K, AFTER, BEFORE): Add tokens.
766 * lexsup.c (parge_args <-T>): Set previous_script_handle.
767 * ldlang.c (lang_for_each_statement_worker): Handle insert statement.
768 (map_input_to_output_sections, print_statement): Likewise.
769 (lang_size_sections_1, lang_do_assignments_1): Likewise.
770 (insert_os_after): New function, extracted from..
771 (lang_insert_orphan): ..here.
772 (process_insert_statements): New function.
773 (lang_process): Call it.
774 (lang_add_insert): New function.
775 * ldlang.h (lang_insert_statement_enum): New.
776 (lang_insert_statement_type): New.
777 (lang_statement_union_type): Add insert_statement.
778 (lang_add_insert): Declare.
780 2008-01-18 Bob Wilson <bob.wilson@acm.org>
782 * scripttempl/elfxtensa.sc: Merge ENTRY and .note.gnu.build-id
785 2008-01-16 Alan Modra <amodra@bigpond.net.au>
787 * ldlang.c (lang_size_sections_1): Simplify SEC_NEVER_LOAD test.
789 2008-01-16 Alan Modra <amodra@bigpond.net.au>
791 * ldlang.h (lang_afile_asection_pair_statement_enum): Delete.
792 (lang_afile_asection_pair_statement_type): Delete.
793 (lang_statement_union_type): Delete afile_asection_pair_statement.
794 * ldlang.c (lang_insert_orphan): Delete case handling the above.
795 (map_input_to_output_sections, print_statement): Likewise.
797 2008-01-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
799 * emulparams/shlelf_linux.sh (DATA_START_SYMBOLS): Use PROVIDE
801 * emulparams/shelf_nbsd.sh (DATA_START_SYMBOLS): Likewise.
803 2008-01-15 Alan Modra <amodra@bigpond.net.au>
806 * ldlang.c (lang_gc_sections): Move code to set SEC_KEEP on entry
807 syms to _bfd_elf_gc_keep.
808 * emultempl/ppc64elf.em (ppc_before_allocation): Don't call
809 ppc64_elf_edit_opd if no_opd_opt.
811 2008-01-11 Tristan Gingold <gingold@adacore.com>
812 Eric Botcazou <ebotcazou@adacore.com>
814 * ldlang.c (lang_end): Warns if the entry point is not found when
816 Emit an error if no root is specified when --gc-sections -r.
817 * ld.texinfo (Options): Document that --gc-sections is compatible
819 * ldmain.c (main): Do not error out if -r and --gc-sections.
820 * scripttempl/elf.sc: Emit ENTRY command only if relocating.
822 2008-01-10 Daniel Jacobowitz <drow@sources.redhat.com>
825 * ldlang.c (lang_end): Issue a warning for a missing start symbol
826 of a shared library if the symbol was specified on the command
829 2008-01-10 Alan Modra <amodra@bigpond.net.au>
831 * ld.texinfo (--gc-sections): Describe linker behaviour.
833 For older changes see ChangeLog-2007
839 version-control: never