1 2008-09-29 Peter O'Gorman <pogma@thewrittenword.com>
2 Steve Ellcey <sje@cup.hp.com>
4 * configure: Regenerate for new libtool.
8 2008-09-29 Kai Tietz <kai.tietz@onevision.com>
10 * pe-dll.c (make_import_fixup_entry): Make sure reloc is addend.
12 2008-09-29 Nick Clifton <nickc@redhat.com>
14 * po/vi.po: Updated Vietnamese translation.
16 2008-09-25 Alan Modra <amodra@bigpond.net.au>
18 * ldexp.c (fold_binary): Evaluate rhs when lhs not valid.
20 2008-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
22 * configure.in: Call AC_SYS_LARGEFILE.
23 * config.in: Regenerate.
24 * configure: Regenerate.
26 2008-09-09 Peter Rosin <peda@lysator.liu.se> (tiny change)
28 * emultempl/pe.em (pe_find_data_imports): Add trailing newline
30 * emultempl/pep.em (pep_find_data_imports): Likewise.
32 2008-09-08 H.J. Lu <hongjiu.lu@intel.com>
34 2008-09-07 Alan Modra <amodra@bigpond.net.au>
36 * emultempl/beos.em (gld${EMULATION_NAME}_place_orphan): Updated.
37 * emultempl/sunos.em (gld${EMULATION_NAME}_before_allocation): Likewise.
39 2008-09-08 Tristan Gingold <gingold@adacore.com>
41 * NEWS: Add a marker for the 2.19 features.
43 2008-09-07 Alan Modra <amodra@bigpond.net.au>
45 * ldlang.h (lang_output_section_find): Define.
46 (lang_output_section_statement_lookup): Update prototype.
47 * ldlang.c (lang_output_section_find,
48 lang_output_section_statement_lookup_1): Merge into..
49 (lang_output_section_statement_lookup): ..here. Update all callers.
50 (process_insert_statements): Set constraint negative
51 for output section statements we might be inserting. Make error
52 fatal on not finding insertion section.
53 (lang_output_section_find): Rather than comparing
54 output_section_statement.constraint against -1, test whether
56 (lang_output_section_statement_lookup_1): Likewise.
57 (output_prev_sec_find, strip_excluded_output_sections): Likewise.
58 (lang_record_phdrs): Likewise.
59 * emultempl/elf32.em (output_rel_find): Likewise.
60 * NEWS: Mention INSERT.
62 2008-08-26 Nick Clifton <nickc@redhat.com>
65 * emultempl/armelf.em (arm_elf_set_bfd_for_interworking): Scan all
66 input sections in all input bfds and always select the last
67 suitable one, so that interworking stubs are always processed
68 after all other input sections.
69 (arm_elf_before_allocation): Remove redundant use of
70 output_has_begun flag.
72 2008-08-24 Alan Modra <amodra@bigpond.net.au>
74 * configure.in: Update a number of obsolete autoconf macros.
75 * configure: Regenerate.
76 * aclocal.m4: Regenerate.
78 2008-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
81 * ldexp.c (fold_binary <DATA_SEGMENT_ALIGN>): Do not align
82 EXPLD.DATASEG.MIN_BASE.
83 * ldlang.c (lang_size_sections): New variable OLD_BASE. Rename
84 OLD_MIN_BASE to MIN_BASE with the former alignment from `ldexp.c'.
85 Use OLD_BASE now for the minimal base check after the base decrease by
86 the maximum alignment found.
88 2008-08-17 Alan Modra <amodra@bigpond.net.au>
91 * ldcref.c (check_local_sym_xref): Use bfd_generic_link_read_symbols.
92 Don't free symbol pointer array.
93 (check_refs): Likewise.
94 * ldmain.c (warning_callback): Likewise.
95 * ldmisc.c (vfinfo): Likewise.
96 * pe-dll.c (process_def_file): Likewise.
97 (pe_walk_relocs_of_symbol, generate_reloc): Likewise.
98 * emultempl/pe.em (pe_find_data_imports): Likewise.
99 (gld_${EMULATION_NAME}_after_open): Likewise.
100 * emultempl/pep.em (pep_find_data_imports): Likewise.
101 (gld_${EMULATION_NAME}_after_open): Likewise.
102 * ldlang.h (lang_input_statement_type): Delete asymbols, symbol_count,
103 passive_position, closed.
104 * ldlang.c (new_afile): Don't set asymbols and symbol_count.
105 * ldmain.c (add_archive_element): xcalloc lang_input_statement_type.
107 2008-08-15 Alan Modra <amodra@bigpond.net.au>
110 * configure.in: Invoke AC_USE_SYSTEM_EXTENSIONS.
111 * Makefile.in: Regenerate.
112 * aclocal.m4: Regenerate.
113 * config.in: Regenerate.
114 * configure: Regenerate.
116 2008-08-09 Alan Modra <amodra@bigpond.net.au>
119 * ldmain.c (check_for_scripts_dir, set_scripts_dir): Delete.
120 (main): Don't set_scripts_dir here.
121 * ldfile.c (check_for_scripts_dir, find_scripts_dir): New functions,
122 largely based on ldmain.c versions.
123 (ldfile_find_command_file): Set up search in script dir here without
124 affecting library search.
125 * Makefile.am (ldmain.o): No need to define SCRIPTDIR.
126 (ldfile.o): New rule.
127 * Makefile.in: Regenerate.
129 2008-08-08 Anatoly Sokolov <aesok@post.ru>
131 * Makefile.am (ALL_EMULATIONS): Add eavr25.o, eavr31.o, eavr35.o,
133 Add rules for eavr25.c, eavr31.c, eavr35.c, eavr51.c.
134 * Makefile.in: Regenerate.
135 * configure.tgt (avr-*-*, targ_extra_emuls): Add avr25, avr31, avr35
137 * emulparams/avr25.sh: New file.
138 * emulparams/avr31.sh: New file.
139 * emulparams/avr35.sh: New file.
140 * emulparams/avr51.sh: New file.
142 2008-08-08 Richard Sandiford <rdsandiford@googlemail.com>
143 Daniel Jacobowitz <dan@codesourcery.com>
145 * emulparams/elf32bmip.sh (GOT): Define, moving .got.plt to...
146 (OTHER_RELRO_SECTIONS, OTHER_READWRITE_SECTIONS): ...one of these
148 * emulparams/elf32bmipn32-defs.sh: Likewise.
149 * emultempl/mipself.em: Include ldctor.h, elf/mips.h and elfxx-mips.h.
150 (is_mips_elf): New macro.
151 (stub_file, stub_bfd): New variables.
152 (hook_stub_info): New structure.
153 (hook_in_stub): New function.
154 (mips_add_stub_section): Likewise.
155 (mips_create_output_section_statements): Likewise.
156 (mips_before_allocation): Likewise.
157 (real_func): New variable.
158 (mips_for_each_input_file_wrapper): New function.
159 (mips_lang_for_each_input_file): Likewise.
160 (lang_for_each_input_file): Define.
161 (LDEMUL_BEFORE_ALLOCATION): Likewise.
162 (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Likewise.
164 2008-08-08 Alan Modra <amodra@bigpond.net.au>
166 * ldfile.c (ldfile_open_file_search): Use concat.
167 (try_open): Don't use a fixed size pathname buffer.
168 (ldfile_find_command_file): Likewise.
169 * emultempl/elf32.em (gld${EMULATION_NAME}_open_dynamic_archive): If
170 using EXTRA_SHLIB_EXTENSION, don't open twice.
172 2008-08-04 Alan Modra <amodra@bigpond.net.au>
174 * Makefile.am (POTFILES.in): Set LC_ALL=C.
175 * Makefile.in: Regenerate.
176 * po/POTFILES.in: Regenerate.
178 2008-08-03 Alan Modra <amodra@bigpond.net.au>
180 * Makefile.am (spu_ovl.o): Merge rule into..
181 (spu_ovl.o_c): ..this one. Only run cpp for spu target.
182 * Makefile.in: Regenerate.
184 2008-08-02 Jan Kratochvil <jan.kratochvil@redhat.com>
186 Include the spu_ovl ASCII form in the repository files.
187 * emultempl/spuelf.em: No longer use `bin2c', use now `spu_ovl.o_c'.
188 * Makefile.am (eelf32_spu.c): Depend now on `spu_ovl.o_c'.
189 ($(srcdir)/emultempl/spu_ovl.o_c): New target.
190 ($(srcdir)/emultempl/spu_ovl.o): Rename to...
191 (spu_ovl.o): ...this one.
192 * Makefile.in: Regenerate.
193 * emultempl/spu_ovl.o_c: New file.
194 * emultempl/spu_ovl.o: File removed.
196 2008-07-31 Takashi Ono <t_ono@hkfreak.net>
198 * pe-dll.c (generate_relocs): Don't generate relocs for
199 undefined weak symbols.
201 2008-07-31 Jan Kratochvil <jan.kratochvil@redhat.com>
203 * emultempl/spuelf.em: Abort on the missing required `spu_ovl.o'.
205 2008-07-30 Alan Modra <amodra@bigpond.net.au>
207 * emultempl/pe.em, emultempl/pep.em: Silence gcc warnings.
209 2008-07-18 Joseph Myers <joseph@codesourcery.com>
211 * ld.texinfo (--no-wchar-size-warning): Document new ARM option.
212 * emultempl/armelf.em (no_wchar_size_warning): New.
213 (arm_elf_create_output_section_statements): Pass
214 no_wchar_size_warning to arm_elf_create_output_section_statements.
215 (OPTION_NO_WCHAR_SIZE_WARNING): New.
216 (PARSE_AND_LIST_LONGOPTS): Add no-wchar-size-warning.
217 (PARSE_AND_LIST_OPTIONS): List --no-wchar-size-warning.
218 (PARSE_AND_LIST_ARGS_CASES): Handle --no-wchar-size-warning.
220 2008-07-15 Jie Zhang <jie.zhang@analog.com>
222 * emulparams/elf32bfinfd.sh (OTHER_SECTIONS): Define.
224 2008-07-12 Craig Silverstein <csilvers@google.com>
227 * configure.in: Check for, and include, libz.a if it is present.
228 * configure: Regenerate.
229 * config.in: Regenerate.
231 2008-07-12 Jie Zhang <jie.zhang@analog.com>
234 2008-07-12 Jie Zhang <jie.zhang@analog.com>
235 * Makefile.am (eelf32bfin.c): Depend on bfin.em.
236 (eelf32bfinfd.c): Likewise.
237 * Makefile.in: Regenerate.
238 * gen-doc.texi: Set Blackfin.
239 * ld.texinfo: Document --sep-code and Blackfin specific
241 * ldmain.c (main): Initialize link_info.sep_code.
242 * lexsup.c (enum option_values): Add OPTION_SEP_CODE.
243 (ld_options[]): Add --sep-code.
244 (parse_args): Deal with --sep-code.
245 * emulparams/bfin.sh (EXTRA_EM_FILE): Define.
246 * emulparams/elf32bfinfd.sh (OTHER_SECTIONS): Define.
247 * emultempl/bfin.em: New file.
249 2008-07-12 Jie Zhang <jie.zhang@analog.com>
251 * Makefile.am (eelf32bfin.c): Depend on bfin.em.
252 (eelf32bfinfd.c): Likewise.
253 * Makefile.in: Regenerate.
254 * gen-doc.texi: Set Blackfin.
255 * ld.texinfo: Document --sep-code and Blackfin specific
257 * ldmain.c (main): Initialize link_info.sep_code.
258 * lexsup.c (enum option_values): Add OPTION_SEP_CODE.
259 (ld_options[]): Add --sep-code.
260 (parse_args): Deal with --sep-code.
261 * emulparams/bfin.sh (EXTRA_EM_FILE): Define.
262 * emulparams/elf32bfinfd.sh (OTHER_SECTIONS): Define.
263 * emultempl/bfin.em: New file.
265 2008-07-09 Danny Smith <dannysmith@users.sourceforge.net>
267 *pe-dll.c (autofilter_symbolprefixlist): Excude all symbols
269 Exclude "_IMPORT_DESCRIPTOR_".
270 (autofilter_symbolsuffixlist): Exclude "_NULL_THUNK_DATA".
271 (autofilter_symbollist_generic): Don't check for ".text".
272 Exclude "_NULL_IMPORT_DESCRIPTOR".
273 (autofilter_symbollist_i386): Likewise.
275 2008-07-07 Alan Modra <amodra@bigpond.net.au>
277 * emultempl/armelf.em (elf32_arm_add_stub_section): Use
278 bfd_make_section_with_flags.
279 * emultempl/avrelf.em (avr_elf_create_output_section_statements):
281 * emultempl/hppaelf.em (hppaelf_add_stub_section): Likewise.
282 * emultempl/m68hc1xelf.em (m68hc11elf_add_stub_section): Likewise.
283 * emultempl/m68kcoff.em (gld${EMULATION_NAME}_after_open): Likewise.
284 * emultempl/m68kelf.em (m68k_elf_after_open): Likewise.
285 * emultempl/ppc64elf.em (ppc_add_stub_section): Likewise.
286 * emultempl/sh64elf.em (sh64_elf_${EMULATION_NAME}_before_allocation):
289 2008-07-06 Nathan Sidwell <nathan@codesourcery.com>
291 * ld.texinfo (File Commands): Document that INCLUDE can be used in
292 several different places.
293 * ldgram.y (statement, memory_spec, section): Allow INCLUDE.
294 (memory, memory_spec_list): Simplify BNF
295 (memory_spec_list_opt): New rule.
296 * ldlex.l (INCLUDE): Recognize in EXPRESSION.
298 2008-06-20 Alan Modra <amodra@bigpond.net.au>
300 * emultempl/spuelf.em (gld${EMULATION_NAME}_finish): Make "can not
301 build overlay stubs" a fatal error.
303 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
305 * config.in: Regenerate.
306 * configure: Regenerate.
308 2008-06-17 Alan Modra <amodra@bigpond.net.au>
310 * emultempl/spuelf.em (extra_stack_space): New variable.
311 (gld${EMULATION_NAME}_finish): Pass it to spu_elf_check_vma.
312 (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS,
313 PARSE_AND_LIST_ARGS_CASES): Handle --extra-stack-space.
314 * emultempl/spu_ovl.S: Mask interrupts during dma and update of
315 overlay manager structures.
316 * emultempl/spu_ovl.o: Regenerate.
318 2008-06-16 Hans-Peter Nilsson <hp@bitrange.com>
320 * ld.texinfo (@node MMIX): For the __.MMIX.start. prefix, only
321 mention it as being special for global symbols.
323 2008-06-12 Nick Clifton <nickc@redhat.com>
325 * ldlang.c (print_output_section_statement): If the output section
326 statement has an update_dot_tree expression, apply it to
328 (print_input_section): Do not update print_dot if it would move
330 (lang_do_assignments_1): If the output section statement has an
331 update_dot_tree expression apply it to dot.
333 2008-06-07 Alan Modra <amodra@bigpond.net.au>
335 * NEWS: Mention archive:path patterns.
336 * ld.texinfo: Likewise.
337 * ldlang.c: Formatting throughout.
338 (archive_path): Only assume "[A-Za-z]:" is a dos drive.
339 (input_statement_is_archive_path): New function, extracted from..
341 (walk_wild_consider_section): Match archive:path here too.
342 (init_map_userdata, sort_def_symbol): Convert to ISO C.
343 * ldmain.c (main): Set link_info.path_separator.
344 * emultempl/spuelf.em (choose_target): Don't set it here.
346 2008-06-06 Alan Modra <amodra@bigpond.net.au>
348 * ldlang.c (name_match): New function.
349 (unique_section_p, walk_wild_consider_section): Use it here.
350 (walk_wild_section_general): And here.
351 (archive_path): New function.
352 (walk_wild): Match archive:path filespecs.
353 (open_input_bfds): Don't load archive:path files.
354 * emultempl/spuelf.em (choose_target): Set path_separator.
355 * emulparams/elf32_spu.sh: Add ._ea.* sections to ._ea output.
357 2008-06-04 Nick Clifton <nickc@redhat.com>
359 * ld.texinfo (Orphan Sections): Fix texi typo.
361 2008-06-04 Chris Metcalf <cmetcalf@tilera.com>
363 * lexsup.c (option_values): Add OPTION_NO_WARN_FATAL.
364 (ld_options): Add entry for --no-fatal-warnings.
365 (parse_args): Handle OPTION_NO_WARN_FATAL.
366 * ld.texinfo (Options): Document new command line switch.
368 2008-06-04 Alan Modra <amodra@bigpond.net.au>
370 * emultempl/spuelf.em (spu_elf_relink): Correct --no-auto-overlay arg.
372 2008-06-02 Nathan Sidwell <nathan@codesourcery.com>
374 * ldlang.c (closest_target_match): Skip generic big and little
377 2008-05-31 Evandro Menezes <evandro@yahoo.com>
380 * ld.h (enum sort_order): New.
381 * ldlang.c (lang_check: Fix comment.
382 (lang_common): Sort commons in ascending or descending order.
383 (lang_one_common): Likewise.
384 * lexsup.c (ld_options): Have --sort-common take an option
386 (parse_args): Handle argument to --sort-common.
387 * ld.texinfo (--sort-common): Document new optional argument.
388 * NEWS: Mention new feature.
390 2008-05-28 Christophe Lyon <christophe.lyon@st.com>
392 * ld.texinfo: State that farcalls stubs are supported for ARM-EABI
395 2008-05-27 Kai Tietz <kai.tietz@onevision.com>
397 * pe-dll.c (fill_edata): Make sure we calculate vma's in
399 (generate_reloc): Likewise.
400 (pe_implied_import_dll): Likewise.
402 2008-05-21 Nick Clifton <nickc@redhat.com>
405 * ld.texinfo (Orphan Sections): Mention that the linker will
406 provide start and stop symbols for orphaned sections if their
407 names are valid C identifiers.
408 * NEWS: Add an addendum to the description of the linker feature
409 for providing orphan section start and end symbols.
411 2008-05-21 Maxim Kuvyrkov <maxim@codesourcery.com>
413 * configure.in (--enable-got): New option. Handle it.
414 * configure: Regenerate.
415 * config.in: Regenerate.
416 * emultempl/m68kelf.em: (got_handling_target_default): New shell
418 (GOT_HANDLING_TARGET_DEFAULT): New macro.
419 (GOT_HANDLING_DEFAULT): New macro. Initialize it from configure
420 option if one was given.
421 (got_handling): New static variable.
422 (elf_m68k_create_output_section_statements): New static function
424 (PARSE_AND_LIST_PROLOGUE): Define shell variable.
425 (OPTION_GOT): New macro.
426 (PARSE_AND_LIST_LONGOPTS): Define shell variable. Specify
428 (got): New linker option.
429 (PARSE_AND_LIST_OPTIONS): Define shell variable. Print help string
431 (PARSE_AND_LIST_ARGS_CASES): Define shell variable. Handle --got
433 * ld.texinfo: Document --got=<type> option.
434 * gen-doc.texi: Add M68K.
435 * NEWS: Mention the new feature.
437 2008-05-21 Evandro Menezes <evandro@yahoo.com>
440 * ld.texinfo (--sort-common): Correct documentation to indicate
441 that sorting is performed by alignment, not size, biggest
444 2008-05-21 Christophe Lyon <christophe.lyon@st.com>
445 Nick Clifton <nickc@redhat.com>
447 * ld.texinfo (ARM): Document --stub-group-size=N option.
448 Move description of --pic-veneer option into the ARM section.
449 * NEWS: Mention the support for long function calls.
451 2008-05-15 Christophe Lyon <christophe.lyon@st.com>
453 * emultempl/armelf.em (build_section_lists): New function.
455 (need_laying_out): Define.
456 (group_size): Define.
457 (hook_stub_info): Define.
458 (hook_in_stub): New function.
459 (elf32_arm_add_stub_section): New function.
460 (gldarm_layout_sections_again): New function.
461 (gld${EMULATION_NAME}_finish): Replace arm_elf_finish(). Generate
462 stubs for long calls if needed.
463 (arm_elf_create_output_section_statements): create stub_file bfd.
464 (arm_for_each_input_file_wrapper): New function.
465 (arm_lang_for_each_input_file): New function.
466 (lang_for_each_input_file): Define.
467 (PARSE_AND_LIST_PROLOGUE): Add option token OPTION_STUBGROUP_SIZE.
468 (PARSE_AND_LIST_LONGOPTS): Add option stub-group-size.
469 (PARSE_AND_LIST_OPTIONS): Add option stub-group-size.
470 (PARSE_AND_LIST_ARGS_CASES): Add OPTION_STUBGROUP_SIZE case.
471 (LDEMUL_FINISH): Update to gld${EMULATION_NAME}_finish.
472 * lang.c (print_input_statement): Skip if bfd has
475 2008-05-14 Alan Modra <amodra@bigpond.net.au>
477 * Makefile.in: Regenerate.
479 2008-05-09 Kai Tietz <kai.tietz@onevision.com>
482 * emultempl/pep.em (compute_dll_image_base): Use bfd_vma instead
483 of long and change return type to bfd_vma.
484 (definfo): Change type of address from long to bfd_vma.
485 (set_pep_value): Replace strtoul to strtoull.
486 (gld_${EMULATION_NAME}_set_symbols): use bfd_vma instead of long..
487 * pe-dll.c (pe_dll_generate_def_file): Use fprintf_vma to print
489 (quick_reloc): Change argument address from int to bfd_size_type.
491 2008-05-08 Tom Tromey <tromey@redhat.com>
493 * ld.texinfo (PowerPC64 ELF64): Fix typo.
495 2008-05-08 Alan Modra <amodra@bigpond.net.au>
497 * elf32_spu.sh (OTHER_SECTIONS): Add "._ea".
498 * elf32ppc.sh: If building with spu support, put ".data.spehandle"
499 sections at the start of ".data" and provide a symbol to locate
500 the directory of embedded spe programs.
502 2008-05-08 Alan Modra <amodra@bigpond.net.au>
504 * ldexp.c (exp_print_token): Add ABSOLUTE, MIN_K, ASSERT_K. Correct
506 (fold_binary <SEGMENT_START>): Set expld.result.section to
507 current section. Expand comment. Formatting.
508 (fold_name <DEFINED>): Set expld.result.section to current section.
510 2008-04-28 Nathan Sidwell <nathan@codesourcery.com>
512 * ldlang.c (lang_size_sections_1): Don't check LMA overflow on
515 2008-04-25 Michael Frysinger <vapier@gentoo.org>
517 * configure.tgt (bfin-*-linux-uclibc*): Set targ_emul to elf32bfinfd
518 and targ_extra_emuls to elf32bfin.
520 2008-04-23 Paolo Bonzini <bonzini@gnu.org>
522 * aclocal.m4: Regenerate.
523 * configure: Regenerate.
525 2008-04-03 Kai Tietz <kai.tietz@onevision.com>
527 * scripttempl/pep.sc: Align start of symbol __CTOR_LIST__.
529 2008-04-08 Alan Modra <amodra@bigpond.net.au>
531 * po/POTFILES.in: Regenerate.
533 2008-04-08 Alan Modra <amodra@bigpond.net.au>
535 * emultempl/spuelf.em (auto_overlay, auto_overlay_file,
536 auto_overlay_fixed, auto_overlay_reserved, my_argc, my_argv): New vars.
537 (spu_before_allocation): Warn on --auto-overlay and existing overlays.
538 (struct tflist, clean_tmp): Move.
539 (new_tmp_file): New function, extracted from..
540 (embedded_spu_file): ..here.
541 (spu_elf_open_overlay_script, spu_elf_relink): New function.
542 (gld${EMULATION_NAME}_finish): Pass a bunch of --auto-overlay params.
543 Warn on --auto-overlay and zero local store.
544 (gld${EMULATION_NAME}_choose_target): New function to stash argv.
545 (OPTION_SPU_AUTO_OVERLAY, OPTION_SPU_AUTO_RELINK,
546 OPTION_SPU_OVERLAY_RODATA, OPTION_SPU_FIXED_SPACE,
547 OPTION_SPU_RESERVED_SPACE, OPTION_SPU_NO_AUTO_OVERLAY): Define.
548 (PARSE_AND_LIST_LONGOPTS): Add entries for new options.
549 (PARSE_AND_LIST_OPTIONS): Likewise.
550 (PARSE_AND_LIST_ARGS_CASES): Likewise.
551 (LDEMUL_CHOOSE_TARGET): Define.
553 2008-04-03 Kai Tietz <kai.tietz@onevision.com>
556 * pe-dll.c (make_head): Fix iat and thunk addend offset.
558 2008-03-31 Nick Clifton <nickc@redhat.com>
560 * po/fr.po: Updated French translation.
562 2008-03-24 Ian Lance Taylor <iant@google.com>
564 The sha1 code is now in libiberty.
567 * Makefile.am (CFILES): Remove sha1.c.
568 (HFILES): Remove sha1.h.
569 (OFILES): Remove sha1.o.
570 (ld_new_SOURCES): Remove sha1.c.
571 (sha1.o): Remove target.
572 * Makefile.in: Rebuild.
574 2008-03-20 Alan Modra <amodra@bigpond.net.au>
576 * emultempl/spuelf.em: Update calls to elf32-spu.c funcs.
578 2008-03-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
580 * aclocal.m4: Regenerate.
581 * configure: Likewise.
582 * Makefile.in: Likewise.
584 2008-03-14 Alan Modra <amodra@bigpond.net.au>
586 * emultempl/spuelf.em (gld${EMULATION_NAME}_finish): Protect
587 spu_elf_build_stubs with is_spu_target.
589 2008-03-13 Alan Modra <amodra@bigpond.net.au>
591 * Makefile.am: Run "make dep-am".
592 * Makefile.in: Regenerate.
593 * configure: Regenerate.
595 2008-03-06 Joseph Myers <joseph@codesourcery.com>
596 Roman Zippel <zippel@linux-m68k.org>
598 * emulparams/m68kelf.sh (GENERATE_PIE_SCRIPT): Define.
599 (COMMONPAGESIZE): Define.
601 2008-02-22 Nick Clifton <nickc@redhat.com>
604 * ldlang.c (lang_size_sections_1): Honour the setting of an
605 lma_region even if there is no vma region set, or the vma region
606 is the same as the lma region.
608 2008-02-18 Nick Clifton <nickc@redhat.com>
610 * scripttempl/armbpabi.sc (ENTRY): Do not define when performing a
612 * scripttempl/elf32cr16.sc: Likewise.
613 * scripttempl/elf32cr16c.sc: Likewise.
614 * scripttempl/elf32crx.sc: Likewise.
615 * scripttempl/elf32sh-symbian.sc: Likewise.
616 * scripttempl/elf_chaos.sc: Likewise.
617 * scripttempl/elfd10v.sc: Likewise.
618 * scripttempl/elfi370.sc: Likewise.
619 * scripttempl/elfm68hc11.sc: Likewise.
620 * scripttempl/elfm68hc12.sc: Likewise.
621 * scripttempl/ip2k.sc: Likewise.
622 * scripttempl/iq2000.sc: Likewise.
623 * scripttempl/mep.sc: Likewise.
624 * scripttempl/v850.sc: Likewise.
625 * scripttempl/xstormy16.sc: Likewise.
627 2008-02-16 Alan Modra <amodra@bigpond.net.au>
630 * ldexp.c (fold_name <LOADADDR>): Check result of evaluating
631 load_base before calling make_abs.
633 2008-02-15 Alan Modra <amodra@bigpond.net.au>
635 * emultempl/alphaelf.em (alpha_after_open): Use elf_object_id.
636 * emultempl/hppaelf.em (hppaelf_create_output_section_statements):
638 * emultempl/ppc64elf.em (ppc_create_output_section_statements):
640 * emultempl/ppc32elf.em (is_ppc_elf32_vec): Delete. Replace all
642 (is_ppc_elf): ..this new macro.
644 2008-02-15 Alan Modra <amodra@bigpond.net.au>
646 * ldmain.h (output_bfd): Delete.
647 * ldmain.c (output_bfd): Delete.
648 Replace all occurrences of output_bfd with link_info.output_bfd.
649 * ldcref.c: Likewise.
650 * ldctor.c: Likewise.
651 * ldemul.c: Likewise.
653 * ldfile.c: Likewise.
654 * ldlang.c: Likewise.
655 * ldmisc.c: Likewise.
656 * ldwrite.c: Likewise.
657 * pe-dll.c: Likewise.
658 * emultempl/aix.em: Likewise.
659 * emultempl/alphaelf.em: Likewise.
660 * emultempl/armcoff.em: Likewise.
661 * emultempl/armelf.em: Likewise.
662 * emultempl/avrelf.em: Likewise.
663 * emultempl/beos.em: Likewise.
664 * emultempl/elf-generic.em: Likewise.
665 * emultempl/elf32.em: Likewise.
666 * emultempl/gld960.em: Likewise.
667 * emultempl/hppaelf.em: Likewise.
668 * emultempl/irix.em: Likewise.
669 * emultempl/linux.em: Likewise.
670 * emultempl/lnk960.em: Likewise.
671 * emultempl/m68hc1xelf.em: Likewise.
672 * emultempl/mmix-elfnmmo.em: Likewise.
673 * emultempl/mmo.em: Likewise.
674 * emultempl/pe.em: Likewise.
675 * emultempl/pep.em: Likewise.
676 * emultempl/ppc32elf.em: Likewise.
677 * emultempl/ppc64elf.em: Likewise.
678 * emultempl/scoreelf.em: Likewise.
679 * emultempl/sh64elf.em: Likewise.
680 * emultempl/spuelf.em: Likewise.
681 * emultempl/sunos.em: Likewise.
682 * emultempl/vanilla.em: Likewise.
683 * emultempl/vxworks.em: Likewise.
684 * emultempl/xtensaelf.em: Likewise.
685 * emultempl/z80.em: Likewise.
686 * ldlang.c (open_output): Don't return output, instead write
687 link_info_output_bfd directly.
688 * emultempl/alphaelf.em: Replace occurrences of link_info.hash->creator
689 with link_info.output_bfd->xvec.
690 * emultempl/hppaelf.em: Likewise.
691 * emultempl/ppc32elf.em: Likewise.
692 * emultempl/ppc64elf.em: Likewise.
693 * emultempl/spuelf.em: Likewise.
695 2008-02-07 Alan Modra <amodra@bigpond.net.au>
697 * ldlang.c (new_afile): Don't pass unadorned NULL to concat.
698 * ldfile.c (ldfile_add_library_path): Likewise.
699 * emultempl/elf32.em (check_ld_elf_hints, check_ld_so_conf): Likewise.
700 * emultempl/lnk960.em (lnk960_before_parse): Likewise.
701 * emultempl/spuelf.em (embedded_spu_file): Likewise.
703 2008-02-07 Alan Modra <amodra@bigpond.net.au>
705 * emultempl/spu_ovl.S: Use low bit of _ovly_table.size as
706 a "present" bit rather than low bit of .buf. Correct indexing
707 into _ovly_buf_table. Use relative loads and stores to access
708 overlay manager local vars.
709 * emultempl/spu_ovl.o: Regenerate.
711 2008-02-04 H.J. Lu <hongjiu.lu@intel.com>
714 * configure: Regenerated.
716 2008-01-31 Marc Gauthier <marc@tensilica.com>
718 * configure.tgt (xtensa*-*-*): Recognize processor variants.
720 2008-01-28 Fabian Groffen <grobian@gentoo.org>
722 * configure.tgt (x86_64-*-solaris2): Add support for this target.
724 2008-01-28 Vincent Riviere <vincent.riviere@freesbee.fr>
727 * genscripts.sh: Check for the existence of BASH_LINENO not just
728 the BASH shell before generating line numbers in the emulation
731 2008-01-28 Alan Modra <amodra@bigpond.net.au>
733 * emultempl/spu_ovl.S: Rewrite.
734 * emultempl/spu_ovl.o: Regenerate.
735 * emultempl/spuelf.em (toe): Delete.
736 (spu_place_special_section): Add param to control section placement.
738 (spu_elf_load_ovl_mgr): Adjust for struct _spu_elf_section_data
740 (spu_before_allocation): Adjust spu_elf_size_stubs call.
741 (gld${EMULATION_NAME}_finish): Adjust spu_elf_build_stubs call.
743 2008-01-25 H.J. Lu <hongjiu.lu@intel.com>
746 * ldlang.c (process_insert_statements): Silence gcc 4.1 alias
749 2008-01-25 Alan Modra <amodra@bigpond.net.au>
751 * ld.texinfo (INSERT): Describe.
752 * ldgram.y (ldgram_in_script, ldgram_had_equals): Delete.
753 (INSERT_K, AFTER, BEFORE): Add as tokens.
754 (ifile_p1): Handle INSERT statements.
755 (saved_script_handle, force_make_executable): Move to..
757 (previous_script_handle): New global var.
758 * ldmain.h (saved_script_handle, force_make_executable): Declare.
759 (previous_script_handle): Likewise.
760 * ldlex.l (INSERT_K, AFTER, BEFORE): Add tokens.
761 * lexsup.c (parge_args <-T>): Set previous_script_handle.
762 * ldlang.c (lang_for_each_statement_worker): Handle insert statement.
763 (map_input_to_output_sections, print_statement): Likewise.
764 (lang_size_sections_1, lang_do_assignments_1): Likewise.
765 (insert_os_after): New function, extracted from..
766 (lang_insert_orphan): ..here.
767 (process_insert_statements): New function.
768 (lang_process): Call it.
769 (lang_add_insert): New function.
770 * ldlang.h (lang_insert_statement_enum): New.
771 (lang_insert_statement_type): New.
772 (lang_statement_union_type): Add insert_statement.
773 (lang_add_insert): Declare.
775 2008-01-18 Bob Wilson <bob.wilson@acm.org>
777 * scripttempl/elfxtensa.sc: Merge ENTRY and .note.gnu.build-id
780 2008-01-16 Alan Modra <amodra@bigpond.net.au>
782 * ldlang.c (lang_size_sections_1): Simplify SEC_NEVER_LOAD test.
784 2008-01-16 Alan Modra <amodra@bigpond.net.au>
786 * ldlang.h (lang_afile_asection_pair_statement_enum): Delete.
787 (lang_afile_asection_pair_statement_type): Delete.
788 (lang_statement_union_type): Delete afile_asection_pair_statement.
789 * ldlang.c (lang_insert_orphan): Delete case handling the above.
790 (map_input_to_output_sections, print_statement): Likewise.
792 2008-01-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
794 * emulparams/shlelf_linux.sh (DATA_START_SYMBOLS): Use PROVIDE
796 * emulparams/shelf_nbsd.sh (DATA_START_SYMBOLS): Likewise.
798 2008-01-15 Alan Modra <amodra@bigpond.net.au>
801 * ldlang.c (lang_gc_sections): Move code to set SEC_KEEP on entry
802 syms to _bfd_elf_gc_keep.
803 * emultempl/ppc64elf.em (ppc_before_allocation): Don't call
804 ppc64_elf_edit_opd if no_opd_opt.
806 2008-01-11 Tristan Gingold <gingold@adacore.com>
807 Eric Botcazou <ebotcazou@adacore.com>
809 * ldlang.c (lang_end): Warns if the entry point is not found when
811 Emit an error if no root is specified when --gc-sections -r.
812 * ld.texinfo (Options): Document that --gc-sections is compatible
814 * ldmain.c (main): Do not error out if -r and --gc-sections.
815 * scripttempl/elf.sc: Emit ENTRY command only if relocating.
817 2008-01-10 Daniel Jacobowitz <drow@sources.redhat.com>
820 * ldlang.c (lang_end): Issue a warning for a missing start symbol
821 of a shared library if the symbol was specified on the command
824 2008-01-10 Alan Modra <amodra@bigpond.net.au>
826 * ld.texinfo (--gc-sections): Describe linker behaviour.
828 For older changes see ChangeLog-2007
834 version-control: never