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