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