missing changelog entry
[deliverable/binutils-gdb.git] / ld / ChangeLog
CommitLineData
4a977a31
AM
12008-10-22 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
2
3 * emultempl/armelf.em (PARSE_AND_LIST_OPTIONS): Correct typo in
4 help text of --be8.
5
c2edb4b8
AM
62008-10-20 Alan Modra <amodra@bigpond.net.au>
7
8 * ldemul.h (ldemul_place_orphan): Update prototype.
9 (struct ld_emulation_xfer_struct <place_orphan>): Likewise.
10 * ldemul.c (ldemul_place_orphan): Return pointer to output
11 section statement.
12 * emultempl/beos.em (gld${EMULATION_NAME}_place_orphan): Likewise.
13 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Likewise.
14 * emultempl/mmo.em (mmo_place_orphan): Likewise.
15 * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
16 * emultempl/pep.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
17
8cc9115f
NC
182008-10-08 Nick Clifton <nickc@redhat.com>
19
20 * configure.in (ALL_LINGUAS): Add "id".
21 * configure: Regenerate.
22 * po/id.po: New Indonesian translation.
23
f265bc06
AM
242008-10-05 Alan Modra <amodra@bigpond.net.au>
25
26 PR 6943
27 * scripttempl/avr.sc (.bss): Set lma when relocating.
28 (.bss, .noinit): No need to set vma when relocating.
29 (.text, .bss, ,noinit): Set vma to zero when not relocating.
30
8a99a385
AM
312008-10-04 Alan Modra <amodra@bigpond.net.au>
32
33 PR 6931
34 * ldemul.c (ldemul_place_orphan): Add "constraint" param.
35 * ldemul.h (ldemul_place_orphan): Update prototype.
36 (struct ld_emulation_xfer_struct <place_orphan>): Likewise add param.
37 * ldlang.c (unique_section_p): Make static.
38 (lang_output_section_statement_lookup): Optimise creation of SPECIAL
39 sections.
40 (lang_insert_orphan): Add "constraint" param. Pass to
41 lang_enter_output_section_statement.
42 (init_os): Don't use an existing bfd section for SPECIAL sections.
43 (lang_place_orphans): Don't rename unique output sections, instead
44 mark their output section statements SPECIAL.
45 * ldlang.h (lang_insert_orphan): Update prototype.
46 (unique_section_p): Delete.
47 * emultempl/beos.em (place_orphan): Add "constraint" param.
48 * emultempl/elf32.em (place_orphan): Likewise. Don't match existing
49 output sections if set.
50 * emultempl/pe.em (place_orphan): Likewise.
51 * emultempl/pep.em (place_orphan): Likewise.
52 * emultempl/mmo.em (mmo_place_orphan): Update.
53 * emultempl/spuelf.em (spu_place_special_section): Update.
54
bcacc0f5
AM
552008-10-03 Alan Modra <amodra@bigpond.net.au>
56
e932ca37 57 PR 6931
bcacc0f5
AM
58 * ldemul.c (ldemul_place_orphan): Add "name" param.
59 * ldemul.h (ldemul_place_orphan): Update prototype.
60 (struct ld_emulation_xfer_struct <place_orphan>): Likewise.
61 * ldlang.c (lang_place_orphans): Generate unique section names here..
62 * emultempl/elf32.em (place_orphan): ..rather than here. Don't
63 directly use an existing output section statement that has no
64 bfd section.
65 * emultempl/pe.em (place_orphan): Likewise.
66 * emultempl/pep.em (place_orphan): Likewise.
67 * emultempl/beos.em (place_orphan): Adjust.
68 * emultempl/spuelf.em (spu_place_special_section): Adjust
69 place_orphan call.
70 * emultempl/genelf.em (gld${EMULATION_NAME}_after_open): New function.
71 (LDEMUL_AFTER_OPEN): Define.
72
b796d39d
JM
732008-09-30 Joseph Myers <joseph@codesourcery.com>
74
75 * emulparams/elf64ppc.sh (OTHER_GOT_RELOC_SECTIONS): Add .rela.opd
76 and .rela.branch_lt.
77
782e11fd
AM
782008-09-30 Alan Modra <amodra@bigpond.net.au>
79
80 * Makefile.am: Run "make dep-am".
81 * Makefile.in: Regenerate.
82
b214d478
SE
832008-09-29 Peter O'Gorman <pogma@thewrittenword.com>
84 Steve Ellcey <sje@cup.hp.com>
85
86 * configure: Regenerate for new libtool.
87 * aclocal.m4: Ditto.
88 * Makefile.in: Ditto.
89
b8a48734
KT
902008-09-29 Kai Tietz <kai.tietz@onevision.com>
91
92 * pe-dll.c (make_import_fixup_entry): Make sure reloc is addend.
93
afac680a
NC
942008-09-29 Nick Clifton <nickc@redhat.com>
95
96 * po/vi.po: Updated Vietnamese translation.
97
4ac0c898
AM
982008-09-25 Alan Modra <amodra@bigpond.net.au>
99
100 * ldexp.c (fold_binary): Evaluate rhs when lhs not valid.
101
d053aef8
JK
1022008-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
103
104 * configure.in: Call AC_SYS_LARGEFILE.
105 * config.in: Regenerate.
106 * configure: Regenerate.
107
44e36d8a
NC
1082008-09-09 Peter Rosin <peda@lysator.liu.se> (tiny change)
109
110 * emultempl/pe.em (pe_find_data_imports): Add trailing newline
111 to warning message.
112 * emultempl/pep.em (pep_find_data_imports): Likewise.
113
25d65034
L
1142008-09-08 H.J. Lu <hongjiu.lu@intel.com>
115
116 2008-09-07 Alan Modra <amodra@bigpond.net.au>
117
118 * emultempl/beos.em (gld${EMULATION_NAME}_place_orphan): Updated.
119 * emultempl/sunos.em (gld${EMULATION_NAME}_before_allocation): Likewise.
120
6e33da12
TG
1212008-09-08 Tristan Gingold <gingold@adacore.com>
122
123 * NEWS: Add a marker for the 2.19 features.
124
66c103b7
AM
1252008-09-07 Alan Modra <amodra@bigpond.net.au>
126
127 * ldlang.h (lang_output_section_find): Define.
128 (lang_output_section_statement_lookup): Update prototype.
129 * ldlang.c (lang_output_section_find,
130 lang_output_section_statement_lookup_1): Merge into..
131 (lang_output_section_statement_lookup): ..here. Update all callers.
132 (process_insert_statements): Set constraint negative
133 for output section statements we might be inserting. Make error
134 fatal on not finding insertion section.
135 (lang_output_section_find): Rather than comparing
136 output_section_statement.constraint against -1, test whether
137 it is postive.
138 (lang_output_section_statement_lookup_1): Likewise.
139 (output_prev_sec_find, strip_excluded_output_sections): Likewise.
140 (lang_record_phdrs): Likewise.
141 * emultempl/elf32.em (output_rel_find): Likewise.
142 * NEWS: Mention INSERT.
143
8716772c
NC
1442008-08-26 Nick Clifton <nickc@redhat.com>
145
146 PR 6727
147 * emultempl/armelf.em (arm_elf_set_bfd_for_interworking): Scan all
148 input sections in all input bfds and always select the last
149 suitable one, so that interworking stubs are always processed
150 after all other input sections.
151 (arm_elf_before_allocation): Remove redundant use of
152 output_has_begun flag.
153
da594c4a
AM
1542008-08-24 Alan Modra <amodra@bigpond.net.au>
155
156 * configure.in: Update a number of obsolete autoconf macros.
157 * configure: Regenerate.
158 * aclocal.m4: Regenerate.
159
2b60860a
JK
1602008-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
161
162 PR ld/6833
163 * ldexp.c (fold_binary <DATA_SEGMENT_ALIGN>): Do not align
164 EXPLD.DATASEG.MIN_BASE.
165 * ldlang.c (lang_size_sections): New variable OLD_BASE. Rename
166 OLD_MIN_BASE to MIN_BASE with the former alignment from `ldexp.c'.
167 Use OLD_BASE now for the minimal base check after the base decrease by
168 the maximum alignment found.
169
5c1d2f5f
AM
1702008-08-17 Alan Modra <amodra@bigpond.net.au>
171
172 PR 6478
173 * ldcref.c (check_local_sym_xref): Use bfd_generic_link_read_symbols.
174 Don't free symbol pointer array.
175 (check_refs): Likewise.
176 * ldmain.c (warning_callback): Likewise.
177 * ldmisc.c (vfinfo): Likewise.
178 * pe-dll.c (process_def_file): Likewise.
179 (pe_walk_relocs_of_symbol, generate_reloc): Likewise.
180 * emultempl/pe.em (pe_find_data_imports): Likewise.
181 (gld_${EMULATION_NAME}_after_open): Likewise.
182 * emultempl/pep.em (pep_find_data_imports): Likewise.
183 (gld_${EMULATION_NAME}_after_open): Likewise.
184 * ldlang.h (lang_input_statement_type): Delete asymbols, symbol_count,
185 passive_position, closed.
186 * ldlang.c (new_afile): Don't set asymbols and symbol_count.
187 * ldmain.c (add_archive_element): xcalloc lang_input_statement_type.
188
7357c5b6
AM
1892008-08-15 Alan Modra <amodra@bigpond.net.au>
190
191 PR 6526
192 * configure.in: Invoke AC_USE_SYSTEM_EXTENSIONS.
193 * Makefile.in: Regenerate.
194 * aclocal.m4: Regenerate.
195 * config.in: Regenerate.
196 * configure: Regenerate.
197
a8caa245
AM
1982008-08-09 Alan Modra <amodra@bigpond.net.au>
199
200 PR 6753
201 * ldmain.c (check_for_scripts_dir, set_scripts_dir): Delete.
202 (main): Don't set_scripts_dir here.
203 * ldfile.c (check_for_scripts_dir, find_scripts_dir): New functions,
204 largely based on ldmain.c versions.
205 (ldfile_find_command_file): Set up search in script dir here without
206 affecting library search.
207 * Makefile.am (ldmain.o): No need to define SCRIPTDIR.
208 (ldfile.o): New rule.
209 * Makefile.in: Regenerate.
210
7b21ac3f
EW
2112008-08-08 Anatoly Sokolov <aesok@post.ru>
212
213 * Makefile.am (ALL_EMULATIONS): Add eavr25.o, eavr31.o, eavr35.o,
214 and eavr51.o.
215 Add rules for eavr25.c, eavr31.c, eavr35.c, eavr51.c.
216 * Makefile.in: Regenerate.
217 * configure.tgt (avr-*-*, targ_extra_emuls): Add avr25, avr31, avr35
218 and avr51.
219 * emulparams/avr25.sh: New file.
220 * emulparams/avr31.sh: New file.
221 * emulparams/avr35.sh: New file.
222 * emulparams/avr51.sh: New file.
223
861fb55a
DJ
2242008-08-08 Richard Sandiford <rdsandiford@googlemail.com>
225 Daniel Jacobowitz <dan@codesourcery.com>
226
227 * emulparams/elf32bmip.sh (GOT): Define, moving .got.plt to...
228 (OTHER_RELRO_SECTIONS, OTHER_READWRITE_SECTIONS): ...one of these
229 two variables.
230 * emulparams/elf32bmipn32-defs.sh: Likewise.
231 * emultempl/mipself.em: Include ldctor.h, elf/mips.h and elfxx-mips.h.
232 (is_mips_elf): New macro.
233 (stub_file, stub_bfd): New variables.
234 (hook_stub_info): New structure.
235 (hook_in_stub): New function.
236 (mips_add_stub_section): Likewise.
237 (mips_create_output_section_statements): Likewise.
238 (mips_before_allocation): Likewise.
239 (real_func): New variable.
240 (mips_for_each_input_file_wrapper): New function.
241 (mips_lang_for_each_input_file): Likewise.
242 (lang_for_each_input_file): Define.
243 (LDEMUL_BEFORE_ALLOCATION): Likewise.
244 (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Likewise.
245
a26cc967
AM
2462008-08-08 Alan Modra <amodra@bigpond.net.au>
247
248 * ldfile.c (ldfile_open_file_search): Use concat.
249 (try_open): Don't use a fixed size pathname buffer.
250 (ldfile_find_command_file): Likewise.
251 * emultempl/elf32.em (gld${EMULATION_NAME}_open_dynamic_archive): If
252 using EXTRA_SHLIB_EXTENSION, don't open twice.
253
323ee3f4
AM
2542008-08-04 Alan Modra <amodra@bigpond.net.au>
255
256 * Makefile.am (POTFILES.in): Set LC_ALL=C.
257 * Makefile.in: Regenerate.
258 * po/POTFILES.in: Regenerate.
259
cc9b841c
AM
2602008-08-03 Alan Modra <amodra@bigpond.net.au>
261
262 * Makefile.am (spu_ovl.o): Merge rule into..
263 (spu_ovl.o_c): ..this one. Only run cpp for spu target.
264 * Makefile.in: Regenerate.
265
4b64c41f
JK
2662008-08-02 Jan Kratochvil <jan.kratochvil@redhat.com>
267
268 Include the spu_ovl ASCII form in the repository files.
269 * emultempl/spuelf.em: No longer use `bin2c', use now `spu_ovl.o_c'.
270 * Makefile.am (eelf32_spu.c): Depend now on `spu_ovl.o_c'.
271 ($(srcdir)/emultempl/spu_ovl.o_c): New target.
272 ($(srcdir)/emultempl/spu_ovl.o): Rename to...
273 (spu_ovl.o): ...this one.
274 * Makefile.in: Regenerate.
275 * emultempl/spu_ovl.o_c: New file.
276 * emultempl/spu_ovl.o: File removed.
277
49314f87
DS
2782008-07-31 Takashi Ono <t_ono@hkfreak.net>
279
280 * pe-dll.c (generate_relocs): Don't generate relocs for
281 undefined weak symbols.
282
2f9300ef
JK
2832008-07-31 Jan Kratochvil <jan.kratochvil@redhat.com>
284
285 * emultempl/spuelf.em: Abort on the missing required `spu_ovl.o'.
286
0af1713e
AM
2872008-07-30 Alan Modra <amodra@bigpond.net.au>
288
289 * emultempl/pe.em, emultempl/pep.em: Silence gcc warnings.
290
a9dc9481
JM
2912008-07-18 Joseph Myers <joseph@codesourcery.com>
292
293 * ld.texinfo (--no-wchar-size-warning): Document new ARM option.
294 * emultempl/armelf.em (no_wchar_size_warning): New.
295 (arm_elf_create_output_section_statements): Pass
296 no_wchar_size_warning to arm_elf_create_output_section_statements.
297 (OPTION_NO_WCHAR_SIZE_WARNING): New.
298 (PARSE_AND_LIST_LONGOPTS): Add no-wchar-size-warning.
299 (PARSE_AND_LIST_OPTIONS): List --no-wchar-size-warning.
300 (PARSE_AND_LIST_ARGS_CASES): Handle --no-wchar-size-warning.
301
b0a0b978
JZ
3022008-07-15 Jie Zhang <jie.zhang@analog.com>
303
304 * emulparams/elf32bfinfd.sh (OTHER_SECTIONS): Define.
305
4474d12b
CS
3062008-07-12 Craig Silverstein <csilvers@google.com>
307
6fa08786 308 PR ld/6741
4474d12b
CS
309 * configure.in: Check for, and include, libz.a if it is present.
310 * configure: Regenerate.
311 * config.in: Regenerate.
312
1bac266e
JZ
3132008-07-12 Jie Zhang <jie.zhang@analog.com>
314
315 Revert
316 2008-07-12 Jie Zhang <jie.zhang@analog.com>
317 * Makefile.am (eelf32bfin.c): Depend on bfin.em.
318 (eelf32bfinfd.c): Likewise.
319 * Makefile.in: Regenerate.
320 * gen-doc.texi: Set Blackfin.
321 * ld.texinfo: Document --sep-code and Blackfin specific
322 options.
323 * ldmain.c (main): Initialize link_info.sep_code.
324 * lexsup.c (enum option_values): Add OPTION_SEP_CODE.
325 (ld_options[]): Add --sep-code.
326 (parse_args): Deal with --sep-code.
327 * emulparams/bfin.sh (EXTRA_EM_FILE): Define.
328 * emulparams/elf32bfinfd.sh (OTHER_SECTIONS): Define.
329 * emultempl/bfin.em: New file.
330
8c684578
JZ
3312008-07-12 Jie Zhang <jie.zhang@analog.com>
332
333 * Makefile.am (eelf32bfin.c): Depend on bfin.em.
334 (eelf32bfinfd.c): Likewise.
335 * Makefile.in: Regenerate.
336 * gen-doc.texi: Set Blackfin.
337 * ld.texinfo: Document --sep-code and Blackfin specific
338 options.
339 * ldmain.c (main): Initialize link_info.sep_code.
340 * lexsup.c (enum option_values): Add OPTION_SEP_CODE.
341 (ld_options[]): Add --sep-code.
342 (parse_args): Deal with --sep-code.
343 * emulparams/bfin.sh (EXTRA_EM_FILE): Define.
344 * emulparams/elf32bfinfd.sh (OTHER_SECTIONS): Define.
345 * emultempl/bfin.em: New file.
346
b92216aa
DS
3472008-07-09 Danny Smith <dannysmith@users.sourceforge.net>
348
349 *pe-dll.c (autofilter_symbolprefixlist): Excude all symbols
350 starting with ".".
351 Exclude "_IMPORT_DESCRIPTOR_".
352 (autofilter_symbolsuffixlist): Exclude "_NULL_THUNK_DATA".
353 (autofilter_symbollist_generic): Don't check for ".text".
354 Exclude "_NULL_IMPORT_DESCRIPTOR".
355 (autofilter_symbollist_i386): Likewise.
356
9795b468
AM
3572008-07-07 Alan Modra <amodra@bigpond.net.au>
358
359 * emultempl/armelf.em (elf32_arm_add_stub_section): Use
360 bfd_make_section_with_flags.
361 * emultempl/avrelf.em (avr_elf_create_output_section_statements):
362 Likewise.
363 * emultempl/hppaelf.em (hppaelf_add_stub_section): Likewise.
364 * emultempl/m68hc1xelf.em (m68hc11elf_add_stub_section): Likewise.
365 * emultempl/m68kcoff.em (gld${EMULATION_NAME}_after_open): Likewise.
366 * emultempl/m68kelf.em (m68k_elf_after_open): Likewise.
367 * emultempl/ppc64elf.em (ppc_add_stub_section): Likewise.
368 * emultempl/sh64elf.em (sh64_elf_${EMULATION_NAME}_before_allocation):
369 Likewise.
370
4006703d
NS
3712008-07-06 Nathan Sidwell <nathan@codesourcery.com>
372
373 * ld.texinfo (File Commands): Document that INCLUDE can be used in
374 several different places.
375 * ldgram.y (statement, memory_spec, section): Allow INCLUDE.
376 (memory, memory_spec_list): Simplify BNF
377 (memory_spec_list_opt): New rule.
378 * ldlex.l (INCLUDE): Recognize in EXPRESSION.
379
9f1a3ddf
AM
3802008-06-20 Alan Modra <amodra@bigpond.net.au>
381
382 * emultempl/spuelf.em (gld${EMULATION_NAME}_finish): Make "can not
383 build overlay stubs" a fatal error.
384
7a283e07
RW
3852008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
386
387 * config.in: Regenerate.
388 * configure: Regenerate.
389
99302af9
AM
3902008-06-17 Alan Modra <amodra@bigpond.net.au>
391
392 * emultempl/spuelf.em (extra_stack_space): New variable.
393 (gld${EMULATION_NAME}_finish): Pass it to spu_elf_check_vma.
394 (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS,
395 PARSE_AND_LIST_ARGS_CASES): Handle --extra-stack-space.
396 * emultempl/spu_ovl.S: Mask interrupts during dma and update of
397 overlay manager structures.
398 * emultempl/spu_ovl.o: Regenerate.
399
7a2de473
HPN
4002008-06-16 Hans-Peter Nilsson <hp@bitrange.com>
401
402 * ld.texinfo (@node MMIX): For the __.MMIX.start. prefix, only
403 mention it as being special for global symbols.
404
5590fba9
NC
4052008-06-12 Nick Clifton <nickc@redhat.com>
406
407 * ldlang.c (print_output_section_statement): If the output section
408 statement has an update_dot_tree expression, apply it to
409 print_dot.
410 (print_input_section): Do not update print_dot if it would move
411 print_dot backwards.
412 (lang_do_assignments_1): If the output section statement has an
413 update_dot_tree expression apply it to dot.
414
967928e9
AM
4152008-06-07 Alan Modra <amodra@bigpond.net.au>
416
417 * NEWS: Mention archive:path patterns.
418 * ld.texinfo: Likewise.
419 * ldlang.c: Formatting throughout.
420 (archive_path): Only assume "[A-Za-z]:" is a dos drive.
421 (input_statement_is_archive_path): New function, extracted from..
422 (walk_wild): ..here.
423 (walk_wild_consider_section): Match archive:path here too.
424 (init_map_userdata, sort_def_symbol): Convert to ISO C.
425 * ldmain.c (main): Set link_info.path_separator.
426 * emultempl/spuelf.em (choose_target): Don't set it here.
427
97407faf
AM
4282008-06-06 Alan Modra <amodra@bigpond.net.au>
429
430 * ldlang.c (name_match): New function.
431 (unique_section_p, walk_wild_consider_section): Use it here.
432 (walk_wild_section_general): And here.
433 (archive_path): New function.
434 (walk_wild): Match archive:path filespecs.
435 (open_input_bfds): Don't load archive:path files.
436 * emultempl/spuelf.em (choose_target): Set path_separator.
437 * emulparams/elf32_spu.sh: Add ._ea.* sections to ._ea output.
438
a61ca861
NC
4392008-06-04 Nick Clifton <nickc@redhat.com>
440
441 * ld.texinfo (Orphan Sections): Fix texi typo.
442
0fe58ccd
NC
4432008-06-04 Chris Metcalf <cmetcalf@tilera.com>
444
445 * lexsup.c (option_values): Add OPTION_NO_WARN_FATAL.
446 (ld_options): Add entry for --no-fatal-warnings.
447 (parse_args): Handle OPTION_NO_WARN_FATAL.
448 * ld.texinfo (Options): Document new command line switch.
449
d77ec871
AM
4502008-06-04 Alan Modra <amodra@bigpond.net.au>
451
452 * emultempl/spuelf.em (spu_elf_relink): Correct --no-auto-overlay arg.
453
476d8a22
NC
4542008-06-02 Nathan Sidwell <nathan@codesourcery.com>
455
456 * ldlang.c (closest_target_match): Skip generic big and little
457 endian ELF targets.
458
de7dd2bd
NC
4592008-05-31 Evandro Menezes <evandro@yahoo.com>
460
461 PR ld/6430
462 * ld.h (enum sort_order): New.
463 * ldlang.c (lang_check: Fix comment.
464 (lang_common): Sort commons in ascending or descending order.
465 (lang_one_common): Likewise.
466 * lexsup.c (ld_options): Have --sort-common take an option
467 argument.
468 (parse_args): Handle argument to --sort-common.
469 * ld.texinfo (--sort-common): Document new optional argument.
470 * NEWS: Mention new feature.
471
1a51c1a4 4722008-05-28 Christophe Lyon <christophe.lyon@st.com>
4a977a31 473
1a51c1a4
NC
474 * ld.texinfo: State that farcalls stubs are supported for ARM-EABI
475 only.
476
6ca0987a
KT
4772008-05-27 Kai Tietz <kai.tietz@onevision.com>
478
479 * pe-dll.c (fill_edata): Make sure we calculate vma's in
480 type bfd_vma.
481 (generate_reloc): Likewise.
482 (pe_implied_import_dll): Likewise.
483
45f111cc
NC
4842008-05-21 Nick Clifton <nickc@redhat.com>
485
486 PR ld/6519
487 * ld.texinfo (Orphan Sections): Mention that the linker will
488 provide start and stop symbols for orphaned sections if their
489 names are valid C identifiers.
490 * NEWS: Add an addendum to the description of the linker feature
491 for providing orphan section start and end symbols.
492
7fb9f789
NC
4932008-05-21 Maxim Kuvyrkov <maxim@codesourcery.com>
494
495 * configure.in (--enable-got): New option. Handle it.
496 * configure: Regenerate.
497 * config.in: Regenerate.
498 * emultempl/m68kelf.em: (got_handling_target_default): New shell
499 variable.
500 (GOT_HANDLING_TARGET_DEFAULT): New macro.
501 (GOT_HANDLING_DEFAULT): New macro. Initialize it from configure
502 option if one was given.
503 (got_handling): New static variable.
504 (elf_m68k_create_output_section_statements): New static function
505 implementing hook.
506 (PARSE_AND_LIST_PROLOGUE): Define shell variable.
507 (OPTION_GOT): New macro.
508 (PARSE_AND_LIST_LONGOPTS): Define shell variable. Specify
509 --got option.
510 (got): New linker option.
511 (PARSE_AND_LIST_OPTIONS): Define shell variable. Print help string
512 for --got option.
513 (PARSE_AND_LIST_ARGS_CASES): Define shell variable. Handle --got
4a977a31 514 option.
7fb9f789
NC
515 * ld.texinfo: Document --got=<type> option.
516 * gen-doc.texi: Add M68K.
517 * NEWS: Mention the new feature.
518
41911f68
NC
5192008-05-21 Evandro Menezes <evandro@yahoo.com>
520
521 PR ld/6430
522 * ld.texinfo (--sort-common): Correct documentation to indicate
523 that sorting is performed by alignment, not size, biggest
524 alignment first.
525
726150b7
NC
5262008-05-21 Christophe Lyon <christophe.lyon@st.com>
527 Nick Clifton <nickc@redhat.com>
528
529 * ld.texinfo (ARM): Document --stub-group-size=N option.
530 Move description of --pic-veneer option into the ARM section.
531 * NEWS: Mention the support for long function calls.
532
906e58ca 5332008-05-15 Christophe Lyon <christophe.lyon@st.com>
4a977a31 534
906e58ca
NC
535 * emultempl/armelf.em (build_section_lists): New function.
536 (stub_file): Define.
537 (need_laying_out): Define.
538 (group_size): Define.
539 (hook_stub_info): Define.
540 (hook_in_stub): New function.
541 (elf32_arm_add_stub_section): New function.
542 (gldarm_layout_sections_again): New function.
543 (gld${EMULATION_NAME}_finish): Replace arm_elf_finish(). Generate
544 stubs for long calls if needed.
545 (arm_elf_create_output_section_statements): create stub_file bfd.
546 (arm_for_each_input_file_wrapper): New function.
547 (arm_lang_for_each_input_file): New function.
548 (lang_for_each_input_file): Define.
549 (PARSE_AND_LIST_PROLOGUE): Add option token OPTION_STUBGROUP_SIZE.
550 (PARSE_AND_LIST_LONGOPTS): Add option stub-group-size.
551 (PARSE_AND_LIST_OPTIONS): Add option stub-group-size.
552 (PARSE_AND_LIST_ARGS_CASES): Add OPTION_STUBGROUP_SIZE case.
553 (LDEMUL_FINISH): Update to gld${EMULATION_NAME}_finish.
554 * lang.c (print_input_statement): Skip if bfd has
555 BFD_LINKER_CREATED.
556
8944f3c2
AM
5572008-05-14 Alan Modra <amodra@bigpond.net.au>
558
559 * Makefile.in: Regenerate.
560
0ead4f8d
KT
5612008-05-09 Kai Tietz <kai.tietz@onevision.com>
562
563 ld/PR6502
8944f3c2
AM
564 * emultempl/pep.em (compute_dll_image_base): Use bfd_vma instead
565 of long and change return type to bfd_vma.
0ead4f8d
KT
566 (definfo): Change type of address from long to bfd_vma.
567 (set_pep_value): Replace strtoul to strtoull.
568 (gld_${EMULATION_NAME}_set_symbols): use bfd_vma instead of long..
8944f3c2
AM
569 * pe-dll.c (pe_dll_generate_def_file): Use fprintf_vma to print
570 ImageBase.
0ead4f8d
KT
571 (quick_reloc): Change argument address from int to bfd_size_type.
572
e7fc76dd
TT
5732008-05-08 Tom Tromey <tromey@redhat.com>
574
575 * ld.texinfo (PowerPC64 ELF64): Fix typo.
576
8374f9d4
AM
5772008-05-08 Alan Modra <amodra@bigpond.net.au>
578
579 * elf32_spu.sh (OTHER_SECTIONS): Add "._ea".
580 * elf32ppc.sh: If building with spu support, put ".data.spehandle"
581 sections at the start of ".data" and provide a symbol to locate
582 the directory of embedded spe programs.
583
8c0848b5
AM
5842008-05-08 Alan Modra <amodra@bigpond.net.au>
585
586 * ldexp.c (exp_print_token): Add ABSOLUTE, MIN_K, ASSERT_K. Correct
587 MAX_K.
588 (fold_binary <SEGMENT_START>): Set expld.result.section to
589 current section. Expand comment. Formatting.
590 (fold_name <DEFINED>): Set expld.result.section to current section.
591
a2cab753
NS
5922008-04-28 Nathan Sidwell <nathan@codesourcery.com>
593
594 * ldlang.c (lang_size_sections_1): Don't check LMA overflow on
595 non-load sections.
596
bec9537e
MF
5972008-04-25 Michael Frysinger <vapier@gentoo.org>
598
599 * configure.tgt (bfin-*-linux-uclibc*): Set targ_emul to elf32bfinfd
600 and targ_extra_emuls to elf32bfin.
601
6194aaab
L
6022008-04-23 Paolo Bonzini <bonzini@gnu.org>
603
604 * aclocal.m4: Regenerate.
605 * configure: Regenerate.
606
da6fa31a
KT
6072008-04-03 Kai Tietz <kai.tietz@onevision.com>
608
609 * scripttempl/pep.sc: Align start of symbol __CTOR_LIST__.
610
9be9d352
AM
6112008-04-08 Alan Modra <amodra@bigpond.net.au>
612
613 * po/POTFILES.in: Regenerate.
614
9dcc4794
AM
6152008-04-08 Alan Modra <amodra@bigpond.net.au>
616
617 * emultempl/spuelf.em (auto_overlay, auto_overlay_file,
618 auto_overlay_fixed, auto_overlay_reserved, my_argc, my_argv): New vars.
619 (spu_before_allocation): Warn on --auto-overlay and existing overlays.
620 (struct tflist, clean_tmp): Move.
621 (new_tmp_file): New function, extracted from..
622 (embedded_spu_file): ..here.
623 (spu_elf_open_overlay_script, spu_elf_relink): New function.
624 (gld${EMULATION_NAME}_finish): Pass a bunch of --auto-overlay params.
625 Warn on --auto-overlay and zero local store.
626 (gld${EMULATION_NAME}_choose_target): New function to stash argv.
627 (OPTION_SPU_AUTO_OVERLAY, OPTION_SPU_AUTO_RELINK,
628 OPTION_SPU_OVERLAY_RODATA, OPTION_SPU_FIXED_SPACE,
629 OPTION_SPU_RESERVED_SPACE, OPTION_SPU_NO_AUTO_OVERLAY): Define.
630 (PARSE_AND_LIST_LONGOPTS): Add entries for new options.
631 (PARSE_AND_LIST_OPTIONS): Likewise.
632 (PARSE_AND_LIST_ARGS_CASES): Likewise.
633 (LDEMUL_CHOOSE_TARGET): Define.
634
5f69259e
KT
6352008-04-03 Kai Tietz <kai.tietz@onevision.com>
636
637 PR ld/6026
638 * pe-dll.c (make_head): Fix iat and thunk addend offset.
639
95f0efb9
NC
6402008-03-31 Nick Clifton <nickc@redhat.com>
641
642 * po/fr.po: Updated French translation.
643
f36d5d55
ILT
6442008-03-24 Ian Lance Taylor <iant@google.com>
645
646 The sha1 code is now in libiberty.
647 * sha1.c: Remove.
648 * sha1.h: Remove.
649 * Makefile.am (CFILES): Remove sha1.c.
650 (HFILES): Remove sha1.h.
651 (OFILES): Remove sha1.o.
652 (ld_new_SOURCES): Remove sha1.c.
653 (sha1.o): Remove target.
654 * Makefile.in: Rebuild.
655
c65be8d7
AM
6562008-03-20 Alan Modra <amodra@bigpond.net.au>
657
658 * emultempl/spuelf.em: Update calls to elf32-spu.c funcs.
659
58c85be7
RW
6602008-03-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
661
662 * aclocal.m4: Regenerate.
663 * configure: Likewise.
664 * Makefile.in: Likewise.
665
771a9c5f
AM
6662008-03-14 Alan Modra <amodra@bigpond.net.au>
667
668 * emultempl/spuelf.em (gld${EMULATION_NAME}_finish): Protect
669 spu_elf_build_stubs with is_spu_target.
670
50e7d84b
AM
6712008-03-13 Alan Modra <amodra@bigpond.net.au>
672
673 * Makefile.am: Run "make dep-am".
674 * Makefile.in: Regenerate.
675 * configure: Regenerate.
676
9e448631
NC
6772008-03-06 Joseph Myers <joseph@codesourcery.com>
678 Roman Zippel <zippel@linux-m68k.org>
679
680 * emulparams/m68kelf.sh (GENERATE_PIE_SCRIPT): Define.
681 (COMMONPAGESIZE): Define.
682
07dfcf38
NC
6832008-02-22 Nick Clifton <nickc@redhat.com>
684
685 PR ld/5785
686 * ldlang.c (lang_size_sections_1): Honour the setting of an
687 lma_region even if there is no vma region set, or the vma region
688 is the same as the lma region.
689
b34c1498
NC
6902008-02-18 Nick Clifton <nickc@redhat.com>
691
692 * scripttempl/armbpabi.sc (ENTRY): Do not define when performing a
693 relocatable link.
694 * scripttempl/elf32cr16.sc: Likewise.
695 * scripttempl/elf32cr16c.sc: Likewise.
696 * scripttempl/elf32crx.sc: Likewise.
697 * scripttempl/elf32sh-symbian.sc: Likewise.
698 * scripttempl/elf_chaos.sc: Likewise.
699 * scripttempl/elfd10v.sc: Likewise.
700 * scripttempl/elfi370.sc: Likewise.
701 * scripttempl/elfm68hc11.sc: Likewise.
702 * scripttempl/elfm68hc12.sc: Likewise.
703 * scripttempl/ip2k.sc: Likewise.
704 * scripttempl/iq2000.sc: Likewise.
705 * scripttempl/mep.sc: Likewise.
706 * scripttempl/v850.sc: Likewise.
707 * scripttempl/xstormy16.sc: Likewise.
708
819da74e
AM
7092008-02-16 Alan Modra <amodra@bigpond.net.au>
710
711 PR ld/5761
712 * ldexp.c (fold_name <LOADADDR>): Check result of evaluating
713 load_base before calling make_abs.
714
5503fea1
AM
7152008-02-15 Alan Modra <amodra@bigpond.net.au>
716
717 * emultempl/alphaelf.em (alpha_after_open): Use elf_object_id.
718 * emultempl/hppaelf.em (hppaelf_create_output_section_statements):
719 Likewise.
720 * emultempl/ppc64elf.em (ppc_create_output_section_statements):
721 Likewise.
722 * emultempl/ppc32elf.em (is_ppc_elf32_vec): Delete. Replace all
723 uses with..
724 (is_ppc_elf): ..this new macro.
725
f13a99db
AM
7262008-02-15 Alan Modra <amodra@bigpond.net.au>
727
728 * ldmain.h (output_bfd): Delete.
729 * ldmain.c (output_bfd): Delete.
730 Replace all occurrences of output_bfd with link_info.output_bfd.
731 * ldcref.c: Likewise.
732 * ldctor.c: Likewise.
733 * ldemul.c: Likewise.
734 * ldexp.c: Likewise.
735 * ldfile.c: Likewise.
736 * ldlang.c: Likewise.
737 * ldmisc.c: Likewise.
738 * ldwrite.c: Likewise.
739 * pe-dll.c: Likewise.
740 * emultempl/aix.em: Likewise.
741 * emultempl/alphaelf.em: Likewise.
742 * emultempl/armcoff.em: Likewise.
743 * emultempl/armelf.em: Likewise.
744 * emultempl/avrelf.em: Likewise.
745 * emultempl/beos.em: Likewise.
746 * emultempl/elf-generic.em: Likewise.
747 * emultempl/elf32.em: Likewise.
748 * emultempl/gld960.em: Likewise.
749 * emultempl/hppaelf.em: Likewise.
750 * emultempl/irix.em: Likewise.
751 * emultempl/linux.em: Likewise.
752 * emultempl/lnk960.em: Likewise.
753 * emultempl/m68hc1xelf.em: Likewise.
754 * emultempl/mmix-elfnmmo.em: Likewise.
755 * emultempl/mmo.em: Likewise.
756 * emultempl/pe.em: Likewise.
757 * emultempl/pep.em: Likewise.
758 * emultempl/ppc32elf.em: Likewise.
759 * emultempl/ppc64elf.em: Likewise.
760 * emultempl/scoreelf.em: Likewise.
761 * emultempl/sh64elf.em: Likewise.
762 * emultempl/spuelf.em: Likewise.
763 * emultempl/sunos.em: Likewise.
764 * emultempl/vanilla.em: Likewise.
765 * emultempl/vxworks.em: Likewise.
766 * emultempl/xtensaelf.em: Likewise.
767 * emultempl/z80.em: Likewise.
768 * ldlang.c (open_output): Don't return output, instead write
769 link_info_output_bfd directly.
770 * emultempl/alphaelf.em: Replace occurrences of link_info.hash->creator
771 with link_info.output_bfd->xvec.
772 * emultempl/hppaelf.em: Likewise.
773 * emultempl/ppc32elf.em: Likewise.
774 * emultempl/ppc64elf.em: Likewise.
775 * emultempl/spuelf.em: Likewise.
776
ff7a0acf
AM
7772008-02-07 Alan Modra <amodra@bigpond.net.au>
778
779 * ldlang.c (new_afile): Don't pass unadorned NULL to concat.
780 * ldfile.c (ldfile_add_library_path): Likewise.
781 * emultempl/elf32.em (check_ld_elf_hints, check_ld_so_conf): Likewise.
782 * emultempl/lnk960.em (lnk960_before_parse): Likewise.
783 * emultempl/spuelf.em (embedded_spu_file): Likewise.
784
2e444bea
AM
7852008-02-07 Alan Modra <amodra@bigpond.net.au>
786
787 * emultempl/spu_ovl.S: Use low bit of _ovly_table.size as
788 a "present" bit rather than low bit of .buf. Correct indexing
789 into _ovly_buf_table. Use relative loads and stores to access
790 overlay manager local vars.
791 * emultempl/spu_ovl.o: Regenerate.
792
bb8541b9
L
7932008-02-04 H.J. Lu <hongjiu.lu@intel.com>
794
795 PR 5715
796 * configure: Regenerated.
797
f8a52b59
BW
7982008-01-31 Marc Gauthier <marc@tensilica.com>
799
800 * configure.tgt (xtensa*-*-*): Recognize processor variants.
801
00b2bfc1
NC
8022008-01-28 Fabian Groffen <grobian@gentoo.org>
803
804 * configure.tgt (x86_64-*-solaris2): Add support for this target.
805
6e73d595
NC
8062008-01-28 Vincent Riviere <vincent.riviere@freesbee.fr>
807
808 PR ld/5652
809 * genscripts.sh: Check for the existence of BASH_LINENO not just
810 the BASH shell before generating line numbers in the emulation
811 file.
812
47f6dab9
AM
8132008-01-28 Alan Modra <amodra@bigpond.net.au>
814
815 * emultempl/spu_ovl.S: Rewrite.
816 * emultempl/spu_ovl.o: Regenerate.
817 * emultempl/spuelf.em (toe): Delete.
818 (spu_place_special_section): Add param to control section placement.
819 Adjust callers.
820 (spu_elf_load_ovl_mgr): Adjust for struct _spu_elf_section_data
821 changes.
822 (spu_before_allocation): Adjust spu_elf_size_stubs call.
823 (gld${EMULATION_NAME}_finish): Adjust spu_elf_build_stubs call.
824
29183214
L
8252008-01-25 H.J. Lu <hongjiu.lu@intel.com>
826
827 PR ld/5670
828 * ldlang.c (process_insert_statements): Silence gcc 4.1 alias
829 warning.
830
53d25da6
AM
8312008-01-25 Alan Modra <amodra@bigpond.net.au>
832
833 * ld.texinfo (INSERT): Describe.
834 * ldgram.y (ldgram_in_script, ldgram_had_equals): Delete.
835 (INSERT_K, AFTER, BEFORE): Add as tokens.
836 (ifile_p1): Handle INSERT statements.
837 (saved_script_handle, force_make_executable): Move to..
838 * ldmain.c: ..here.
839 (previous_script_handle): New global var.
840 * ldmain.h (saved_script_handle, force_make_executable): Declare.
841 (previous_script_handle): Likewise.
842 * ldlex.l (INSERT_K, AFTER, BEFORE): Add tokens.
843 * lexsup.c (parge_args <-T>): Set previous_script_handle.
844 * ldlang.c (lang_for_each_statement_worker): Handle insert statement.
845 (map_input_to_output_sections, print_statement): Likewise.
846 (lang_size_sections_1, lang_do_assignments_1): Likewise.
847 (insert_os_after): New function, extracted from..
848 (lang_insert_orphan): ..here.
849 (process_insert_statements): New function.
850 (lang_process): Call it.
851 (lang_add_insert): New function.
852 * ldlang.h (lang_insert_statement_enum): New.
853 (lang_insert_statement_type): New.
854 (lang_statement_union_type): Add insert_statement.
855 (lang_add_insert): Declare.
856
c19f06f2
BW
8572008-01-18 Bob Wilson <bob.wilson@acm.org>
858
859 * scripttempl/elfxtensa.sc: Merge ENTRY and .note.gnu.build-id
860 changes from elf.sc.
8944f3c2 861
14ac84b4
AM
8622008-01-16 Alan Modra <amodra@bigpond.net.au>
863
864 * ldlang.c (lang_size_sections_1): Simplify SEC_NEVER_LOAD test.
865
3d00b095
AM
8662008-01-16 Alan Modra <amodra@bigpond.net.au>
867
868 * ldlang.h (lang_afile_asection_pair_statement_enum): Delete.
869 (lang_afile_asection_pair_statement_type): Delete.
870 (lang_statement_union_type): Delete afile_asection_pair_statement.
871 * ldlang.c (lang_insert_orphan): Delete case handling the above.
872 (map_input_to_output_sections, print_statement): Likewise.
873
58da7b1b
KK
8742008-01-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
875
876 * emulparams/shlelf_linux.sh (DATA_START_SYMBOLS): Use PROVIDE
877 with __data_start.
878 * emulparams/shelf_nbsd.sh (DATA_START_SYMBOLS): Likewise.
879
74f0fb50
AM
8802008-01-15 Alan Modra <amodra@bigpond.net.au>
881
882 PR 5604
883 * ldlang.c (lang_gc_sections): Move code to set SEC_KEEP on entry
884 syms to _bfd_elf_gc_keep.
885 * emultempl/ppc64elf.em (ppc_before_allocation): Don't call
886 ppc64_elf_edit_opd if no_opd_opt.
887
ac69cbc6
TG
8882008-01-11 Tristan Gingold <gingold@adacore.com>
889 Eric Botcazou <ebotcazou@adacore.com>
890
891 * ldlang.c (lang_end): Warns if the entry point is not found when
892 --gc-sections.
893 Emit an error if no root is specified when --gc-sections -r.
894 * ld.texinfo (Options): Document that --gc-sections is compatible
895 with -r and -q.
896 * ldmain.c (main): Do not error out if -r and --gc-sections.
897 * scripttempl/elf.sc: Emit ENTRY command only if relocating.
898
71934f94
NC
8992008-01-10 Daniel Jacobowitz <drow@sources.redhat.com>
900
901 PR ld/5533
902 * ldlang.c (lang_end): Issue a warning for a missing start symbol
903 of a shared library if the symbol was specified on the command
904 line.
905
d5465ba2
AM
9062008-01-10 Alan Modra <amodra@bigpond.net.au>
907
908 * ld.texinfo (--gc-sections): Describe linker behaviour.
909
6c7ac64e 910For older changes see ChangeLog-2007
252b5132
RH
911\f
912Local Variables:
913mode: change-log
914left-margin: 8
915fill-column: 74
916version-control: never
917End:
This page took 0.535669 seconds and 4 git commands to generate.