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