* configure: Regenerate for new libtool.
[deliverable/binutils-gdb.git] / ld / ChangeLog
CommitLineData
b214d478
SE
12008-09-29 Peter O'Gorman <pogma@thewrittenword.com>
2 Steve Ellcey <sje@cup.hp.com>
3
4 * configure: Regenerate for new libtool.
5 * aclocal.m4: Ditto.
6 * Makefile.in: Ditto.
7
b8a48734
KT
82008-09-29 Kai Tietz <kai.tietz@onevision.com>
9
10 * pe-dll.c (make_import_fixup_entry): Make sure reloc is addend.
11
afac680a
NC
122008-09-29 Nick Clifton <nickc@redhat.com>
13
14 * po/vi.po: Updated Vietnamese translation.
15
4ac0c898
AM
162008-09-25 Alan Modra <amodra@bigpond.net.au>
17
18 * ldexp.c (fold_binary): Evaluate rhs when lhs not valid.
19
d053aef8
JK
202008-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
21
22 * configure.in: Call AC_SYS_LARGEFILE.
23 * config.in: Regenerate.
24 * configure: Regenerate.
25
44e36d8a
NC
262008-09-09 Peter Rosin <peda@lysator.liu.se> (tiny change)
27
28 * emultempl/pe.em (pe_find_data_imports): Add trailing newline
29 to warning message.
30 * emultempl/pep.em (pep_find_data_imports): Likewise.
31
25d65034
L
322008-09-08 H.J. Lu <hongjiu.lu@intel.com>
33
34 2008-09-07 Alan Modra <amodra@bigpond.net.au>
35
36 * emultempl/beos.em (gld${EMULATION_NAME}_place_orphan): Updated.
37 * emultempl/sunos.em (gld${EMULATION_NAME}_before_allocation): Likewise.
38
6e33da12
TG
392008-09-08 Tristan Gingold <gingold@adacore.com>
40
41 * NEWS: Add a marker for the 2.19 features.
42
66c103b7
AM
432008-09-07 Alan Modra <amodra@bigpond.net.au>
44
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
55 it is postive.
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.
61
8716772c
NC
622008-08-26 Nick Clifton <nickc@redhat.com>
63
64 PR 6727
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.
71
da594c4a
AM
722008-08-24 Alan Modra <amodra@bigpond.net.au>
73
74 * configure.in: Update a number of obsolete autoconf macros.
75 * configure: Regenerate.
76 * aclocal.m4: Regenerate.
77
2b60860a
JK
782008-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
79
80 PR ld/6833
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.
87
5c1d2f5f
AM
882008-08-17 Alan Modra <amodra@bigpond.net.au>
89
90 PR 6478
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.
106
7357c5b6
AM
1072008-08-15 Alan Modra <amodra@bigpond.net.au>
108
109 PR 6526
110 * configure.in: Invoke AC_USE_SYSTEM_EXTENSIONS.
111 * Makefile.in: Regenerate.
112 * aclocal.m4: Regenerate.
113 * config.in: Regenerate.
114 * configure: Regenerate.
115
a8caa245
AM
1162008-08-09 Alan Modra <amodra@bigpond.net.au>
117
118 PR 6753
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.
128
7b21ac3f
EW
1292008-08-08 Anatoly Sokolov <aesok@post.ru>
130
131 * Makefile.am (ALL_EMULATIONS): Add eavr25.o, eavr31.o, eavr35.o,
132 and eavr51.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
136 and avr51.
137 * emulparams/avr25.sh: New file.
138 * emulparams/avr31.sh: New file.
139 * emulparams/avr35.sh: New file.
140 * emulparams/avr51.sh: New file.
141
861fb55a
DJ
1422008-08-08 Richard Sandiford <rdsandiford@googlemail.com>
143 Daniel Jacobowitz <dan@codesourcery.com>
144
145 * emulparams/elf32bmip.sh (GOT): Define, moving .got.plt to...
146 (OTHER_RELRO_SECTIONS, OTHER_READWRITE_SECTIONS): ...one of these
147 two variables.
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.
163
a26cc967
AM
1642008-08-08 Alan Modra <amodra@bigpond.net.au>
165
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.
171
323ee3f4
AM
1722008-08-04 Alan Modra <amodra@bigpond.net.au>
173
174 * Makefile.am (POTFILES.in): Set LC_ALL=C.
175 * Makefile.in: Regenerate.
176 * po/POTFILES.in: Regenerate.
177
cc9b841c
AM
1782008-08-03 Alan Modra <amodra@bigpond.net.au>
179
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.
183
4b64c41f
JK
1842008-08-02 Jan Kratochvil <jan.kratochvil@redhat.com>
185
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.
195
49314f87
DS
1962008-07-31 Takashi Ono <t_ono@hkfreak.net>
197
198 * pe-dll.c (generate_relocs): Don't generate relocs for
199 undefined weak symbols.
200
2f9300ef
JK
2012008-07-31 Jan Kratochvil <jan.kratochvil@redhat.com>
202
203 * emultempl/spuelf.em: Abort on the missing required `spu_ovl.o'.
204
0af1713e
AM
2052008-07-30 Alan Modra <amodra@bigpond.net.au>
206
207 * emultempl/pe.em, emultempl/pep.em: Silence gcc warnings.
208
a9dc9481
JM
2092008-07-18 Joseph Myers <joseph@codesourcery.com>
210
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.
219
b0a0b978
JZ
2202008-07-15 Jie Zhang <jie.zhang@analog.com>
221
222 * emulparams/elf32bfinfd.sh (OTHER_SECTIONS): Define.
223
4474d12b
CS
2242008-07-12 Craig Silverstein <csilvers@google.com>
225
6fa08786 226 PR ld/6741
4474d12b
CS
227 * configure.in: Check for, and include, libz.a if it is present.
228 * configure: Regenerate.
229 * config.in: Regenerate.
230
1bac266e
JZ
2312008-07-12 Jie Zhang <jie.zhang@analog.com>
232
233 Revert
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
240 options.
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.
248
8c684578
JZ
2492008-07-12 Jie Zhang <jie.zhang@analog.com>
250
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
256 options.
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.
264
b92216aa
DS
2652008-07-09 Danny Smith <dannysmith@users.sourceforge.net>
266
267 *pe-dll.c (autofilter_symbolprefixlist): Excude all symbols
268 starting with ".".
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.
274
9795b468
AM
2752008-07-07 Alan Modra <amodra@bigpond.net.au>
276
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):
280 Likewise.
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):
287 Likewise.
288
4006703d
NS
2892008-07-06 Nathan Sidwell <nathan@codesourcery.com>
290
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.
297
9f1a3ddf
AM
2982008-06-20 Alan Modra <amodra@bigpond.net.au>
299
300 * emultempl/spuelf.em (gld${EMULATION_NAME}_finish): Make "can not
301 build overlay stubs" a fatal error.
302
7a283e07
RW
3032008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
304
305 * config.in: Regenerate.
306 * configure: Regenerate.
307
99302af9
AM
3082008-06-17 Alan Modra <amodra@bigpond.net.au>
309
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.
317
7a2de473
HPN
3182008-06-16 Hans-Peter Nilsson <hp@bitrange.com>
319
320 * ld.texinfo (@node MMIX): For the __.MMIX.start. prefix, only
321 mention it as being special for global symbols.
322
5590fba9
NC
3232008-06-12 Nick Clifton <nickc@redhat.com>
324
325 * ldlang.c (print_output_section_statement): If the output section
326 statement has an update_dot_tree expression, apply it to
327 print_dot.
328 (print_input_section): Do not update print_dot if it would move
329 print_dot backwards.
330 (lang_do_assignments_1): If the output section statement has an
331 update_dot_tree expression apply it to dot.
332
967928e9
AM
3332008-06-07 Alan Modra <amodra@bigpond.net.au>
334
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..
340 (walk_wild): ..here.
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.
345
97407faf
AM
3462008-06-06 Alan Modra <amodra@bigpond.net.au>
347
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.
356
a61ca861
NC
3572008-06-04 Nick Clifton <nickc@redhat.com>
358
359 * ld.texinfo (Orphan Sections): Fix texi typo.
360
0fe58ccd
NC
3612008-06-04 Chris Metcalf <cmetcalf@tilera.com>
362
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.
367
d77ec871
AM
3682008-06-04 Alan Modra <amodra@bigpond.net.au>
369
370 * emultempl/spuelf.em (spu_elf_relink): Correct --no-auto-overlay arg.
371
476d8a22
NC
3722008-06-02 Nathan Sidwell <nathan@codesourcery.com>
373
374 * ldlang.c (closest_target_match): Skip generic big and little
375 endian ELF targets.
376
de7dd2bd
NC
3772008-05-31 Evandro Menezes <evandro@yahoo.com>
378
379 PR ld/6430
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
385 argument.
386 (parse_args): Handle argument to --sort-common.
387 * ld.texinfo (--sort-common): Document new optional argument.
388 * NEWS: Mention new feature.
389
1a51c1a4
NC
3902008-05-28 Christophe Lyon <christophe.lyon@st.com>
391
392 * ld.texinfo: State that farcalls stubs are supported for ARM-EABI
393 only.
394
6ca0987a
KT
3952008-05-27 Kai Tietz <kai.tietz@onevision.com>
396
397 * pe-dll.c (fill_edata): Make sure we calculate vma's in
398 type bfd_vma.
399 (generate_reloc): Likewise.
400 (pe_implied_import_dll): Likewise.
401
45f111cc
NC
4022008-05-21 Nick Clifton <nickc@redhat.com>
403
404 PR ld/6519
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.
410
7fb9f789
NC
4112008-05-21 Maxim Kuvyrkov <maxim@codesourcery.com>
412
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
417 variable.
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
423 implementing hook.
424 (PARSE_AND_LIST_PROLOGUE): Define shell variable.
425 (OPTION_GOT): New macro.
426 (PARSE_AND_LIST_LONGOPTS): Define shell variable. Specify
427 --got option.
428 (got): New linker option.
429 (PARSE_AND_LIST_OPTIONS): Define shell variable. Print help string
430 for --got option.
431 (PARSE_AND_LIST_ARGS_CASES): Define shell variable. Handle --got
432 option.
433 * ld.texinfo: Document --got=<type> option.
434 * gen-doc.texi: Add M68K.
435 * NEWS: Mention the new feature.
436
41911f68
NC
4372008-05-21 Evandro Menezes <evandro@yahoo.com>
438
439 PR ld/6430
440 * ld.texinfo (--sort-common): Correct documentation to indicate
441 that sorting is performed by alignment, not size, biggest
442 alignment first.
443
726150b7
NC
4442008-05-21 Christophe Lyon <christophe.lyon@st.com>
445 Nick Clifton <nickc@redhat.com>
446
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.
450
906e58ca
NC
4512008-05-15 Christophe Lyon <christophe.lyon@st.com>
452
453 * emultempl/armelf.em (build_section_lists): New function.
454 (stub_file): Define.
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
473 BFD_LINKER_CREATED.
474
8944f3c2
AM
4752008-05-14 Alan Modra <amodra@bigpond.net.au>
476
477 * Makefile.in: Regenerate.
478
0ead4f8d
KT
4792008-05-09 Kai Tietz <kai.tietz@onevision.com>
480
481 ld/PR6502
8944f3c2
AM
482 * emultempl/pep.em (compute_dll_image_base): Use bfd_vma instead
483 of long and change return type to bfd_vma.
0ead4f8d
KT
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..
8944f3c2
AM
487 * pe-dll.c (pe_dll_generate_def_file): Use fprintf_vma to print
488 ImageBase.
0ead4f8d
KT
489 (quick_reloc): Change argument address from int to bfd_size_type.
490
e7fc76dd
TT
4912008-05-08 Tom Tromey <tromey@redhat.com>
492
493 * ld.texinfo (PowerPC64 ELF64): Fix typo.
494
8374f9d4
AM
4952008-05-08 Alan Modra <amodra@bigpond.net.au>
496
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.
501
8c0848b5
AM
5022008-05-08 Alan Modra <amodra@bigpond.net.au>
503
504 * ldexp.c (exp_print_token): Add ABSOLUTE, MIN_K, ASSERT_K. Correct
505 MAX_K.
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.
509
a2cab753
NS
5102008-04-28 Nathan Sidwell <nathan@codesourcery.com>
511
512 * ldlang.c (lang_size_sections_1): Don't check LMA overflow on
513 non-load sections.
514
bec9537e
MF
5152008-04-25 Michael Frysinger <vapier@gentoo.org>
516
517 * configure.tgt (bfin-*-linux-uclibc*): Set targ_emul to elf32bfinfd
518 and targ_extra_emuls to elf32bfin.
519
6194aaab
L
5202008-04-23 Paolo Bonzini <bonzini@gnu.org>
521
522 * aclocal.m4: Regenerate.
523 * configure: Regenerate.
524
da6fa31a
KT
5252008-04-03 Kai Tietz <kai.tietz@onevision.com>
526
527 * scripttempl/pep.sc: Align start of symbol __CTOR_LIST__.
528
9be9d352
AM
5292008-04-08 Alan Modra <amodra@bigpond.net.au>
530
531 * po/POTFILES.in: Regenerate.
532
9dcc4794
AM
5332008-04-08 Alan Modra <amodra@bigpond.net.au>
534
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.
552
5f69259e
KT
5532008-04-03 Kai Tietz <kai.tietz@onevision.com>
554
555 PR ld/6026
556 * pe-dll.c (make_head): Fix iat and thunk addend offset.
557
95f0efb9
NC
5582008-03-31 Nick Clifton <nickc@redhat.com>
559
560 * po/fr.po: Updated French translation.
561
f36d5d55
ILT
5622008-03-24 Ian Lance Taylor <iant@google.com>
563
564 The sha1 code is now in libiberty.
565 * sha1.c: Remove.
566 * sha1.h: Remove.
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.
573
c65be8d7
AM
5742008-03-20 Alan Modra <amodra@bigpond.net.au>
575
576 * emultempl/spuelf.em: Update calls to elf32-spu.c funcs.
577
58c85be7
RW
5782008-03-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
579
580 * aclocal.m4: Regenerate.
581 * configure: Likewise.
582 * Makefile.in: Likewise.
583
771a9c5f
AM
5842008-03-14 Alan Modra <amodra@bigpond.net.au>
585
586 * emultempl/spuelf.em (gld${EMULATION_NAME}_finish): Protect
587 spu_elf_build_stubs with is_spu_target.
588
50e7d84b
AM
5892008-03-13 Alan Modra <amodra@bigpond.net.au>
590
591 * Makefile.am: Run "make dep-am".
592 * Makefile.in: Regenerate.
593 * configure: Regenerate.
594
9e448631
NC
5952008-03-06 Joseph Myers <joseph@codesourcery.com>
596 Roman Zippel <zippel@linux-m68k.org>
597
598 * emulparams/m68kelf.sh (GENERATE_PIE_SCRIPT): Define.
599 (COMMONPAGESIZE): Define.
600
07dfcf38
NC
6012008-02-22 Nick Clifton <nickc@redhat.com>
602
603 PR ld/5785
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.
607
b34c1498
NC
6082008-02-18 Nick Clifton <nickc@redhat.com>
609
610 * scripttempl/armbpabi.sc (ENTRY): Do not define when performing a
611 relocatable link.
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.
626
819da74e
AM
6272008-02-16 Alan Modra <amodra@bigpond.net.au>
628
629 PR ld/5761
630 * ldexp.c (fold_name <LOADADDR>): Check result of evaluating
631 load_base before calling make_abs.
632
5503fea1
AM
6332008-02-15 Alan Modra <amodra@bigpond.net.au>
634
635 * emultempl/alphaelf.em (alpha_after_open): Use elf_object_id.
636 * emultempl/hppaelf.em (hppaelf_create_output_section_statements):
637 Likewise.
638 * emultempl/ppc64elf.em (ppc_create_output_section_statements):
639 Likewise.
640 * emultempl/ppc32elf.em (is_ppc_elf32_vec): Delete. Replace all
641 uses with..
642 (is_ppc_elf): ..this new macro.
643
f13a99db
AM
6442008-02-15 Alan Modra <amodra@bigpond.net.au>
645
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.
652 * ldexp.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.
694
ff7a0acf
AM
6952008-02-07 Alan Modra <amodra@bigpond.net.au>
696
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.
702
2e444bea
AM
7032008-02-07 Alan Modra <amodra@bigpond.net.au>
704
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.
710
bb8541b9
L
7112008-02-04 H.J. Lu <hongjiu.lu@intel.com>
712
713 PR 5715
714 * configure: Regenerated.
715
f8a52b59
BW
7162008-01-31 Marc Gauthier <marc@tensilica.com>
717
718 * configure.tgt (xtensa*-*-*): Recognize processor variants.
719
00b2bfc1
NC
7202008-01-28 Fabian Groffen <grobian@gentoo.org>
721
722 * configure.tgt (x86_64-*-solaris2): Add support for this target.
723
6e73d595
NC
7242008-01-28 Vincent Riviere <vincent.riviere@freesbee.fr>
725
726 PR ld/5652
727 * genscripts.sh: Check for the existence of BASH_LINENO not just
728 the BASH shell before generating line numbers in the emulation
729 file.
730
47f6dab9
AM
7312008-01-28 Alan Modra <amodra@bigpond.net.au>
732
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.
737 Adjust callers.
738 (spu_elf_load_ovl_mgr): Adjust for struct _spu_elf_section_data
739 changes.
740 (spu_before_allocation): Adjust spu_elf_size_stubs call.
741 (gld${EMULATION_NAME}_finish): Adjust spu_elf_build_stubs call.
742
29183214
L
7432008-01-25 H.J. Lu <hongjiu.lu@intel.com>
744
745 PR ld/5670
746 * ldlang.c (process_insert_statements): Silence gcc 4.1 alias
747 warning.
748
53d25da6
AM
7492008-01-25 Alan Modra <amodra@bigpond.net.au>
750
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..
756 * ldmain.c: ..here.
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.
774
c19f06f2
BW
7752008-01-18 Bob Wilson <bob.wilson@acm.org>
776
777 * scripttempl/elfxtensa.sc: Merge ENTRY and .note.gnu.build-id
778 changes from elf.sc.
8944f3c2 779
14ac84b4
AM
7802008-01-16 Alan Modra <amodra@bigpond.net.au>
781
782 * ldlang.c (lang_size_sections_1): Simplify SEC_NEVER_LOAD test.
783
3d00b095
AM
7842008-01-16 Alan Modra <amodra@bigpond.net.au>
785
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.
791
58da7b1b
KK
7922008-01-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
793
794 * emulparams/shlelf_linux.sh (DATA_START_SYMBOLS): Use PROVIDE
795 with __data_start.
796 * emulparams/shelf_nbsd.sh (DATA_START_SYMBOLS): Likewise.
797
74f0fb50
AM
7982008-01-15 Alan Modra <amodra@bigpond.net.au>
799
800 PR 5604
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.
805
ac69cbc6
TG
8062008-01-11 Tristan Gingold <gingold@adacore.com>
807 Eric Botcazou <ebotcazou@adacore.com>
808
809 * ldlang.c (lang_end): Warns if the entry point is not found when
810 --gc-sections.
811 Emit an error if no root is specified when --gc-sections -r.
812 * ld.texinfo (Options): Document that --gc-sections is compatible
813 with -r and -q.
814 * ldmain.c (main): Do not error out if -r and --gc-sections.
815 * scripttempl/elf.sc: Emit ENTRY command only if relocating.
816
71934f94
NC
8172008-01-10 Daniel Jacobowitz <drow@sources.redhat.com>
818
819 PR ld/5533
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
822 line.
823
d5465ba2
AM
8242008-01-10 Alan Modra <amodra@bigpond.net.au>
825
826 * ld.texinfo (--gc-sections): Describe linker behaviour.
827
6c7ac64e 828For older changes see ChangeLog-2007
252b5132
RH
829\f
830Local Variables:
831mode: change-log
832left-margin: 8
833fill-column: 74
834version-control: never
835End:
This page took 0.473099 seconds and 4 git commands to generate.