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