2adfb63ef27a1414ee0c76bf31846cf6dafb1fe1
[deliverable/binutils-gdb.git] / ld / ChangeLog
1 2008-12-02 Kai Tietz <kai.tietz@onevision.com>
2
3 * pe-dll.c (make_runtime_pseudo_reloc): Make symtab big enough to
4 hold relocations.
5
6 2008-11-27 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
7
8 * emultempl/cr16elf.em (cr16_after_open): New function to handle
9 CR16 ELF embedded reloc creation (ld --embedded-relocs).
10 (check_sections): New function.
11 (LDEMUL_AFTER_OPEN): Define.
12 * emulparams/elf32cr16.sh (EMBEDDED): Define.
13
14 2008-11-26 Alan Modra <amodra@bigpond.net.au>
15
16 PR 7047
17 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_new_vers_pattern): Update
18 for changes to struct bfd_elf_version_expr.
19 * ldlang.c (lang_vers_match, version_expr_head_hash): Likewise.
20 (version_expr_head_eq, lang_finalize_version_expr_head): Likewise.
21 (lang_register_vers_node): Likewise.
22 (lang_new_vers_pattern): Likewise. Ensure "literal" is set when
23 no glob chars found in "pattern".
24 (realsymbol): Correct backslash quote logic.
25 * ld.texinfo (VERSION): Warn about global wildcards.
26
27 2008-11-24 Alan Modra <amodra@bigpond.net.au>
28
29 * ldlang.c (lang_record_phdrs): Don't add orphans to PT_INTERP header.
30
31 2008-11-19 Nick Clifton <nickc@redhat.com>
32
33 * fdl.texi: Update to v1.3
34 * ld.texinfo: Change license to v1.3.
35
36 2008-11-17 Ulrich Weigand <uweigand@de.ibm.com>
37
38 * configure.tgt [spu-*-elf*]: Set NATIVE_LIB_DIRS to '/lib'.
39
40 2008-11-17 Nick Clifton <nickc@redhat.com>
41
42 * ldver.c: Update copyright year.
43
44 2008-11-14 Kai Tietz <kai.tietz@onevision.com>
45
46 * emultempl/pep.em (..._before_parse): initialize
47 pei386_runtime_pseudo_reloc by version 2.
48 (OPTION_DLL_ENABLE_RUNTIME_PSEUDO_RELOC_V1): New option.
49 (OPTION_DLL_ENABLE_RUNTIME_PSEUDO_RELOC_V2): New option.
50 (make_import_fixup): Use relocation size to read addend.
51 * emultempl/pe.em (..._before_parse): initialize
52 pei386_runtime_pseudo_reloc by version 1.
53 (OPTION_DLL_ENABLE_RUNTIME_PSEUDO_RELOC_V1): New option.
54 (OPTION_DLL_ENABLE_RUNTIME_PSEUDO_RELOC_V2): New option.
55 * pe-dll.c (pe-dll.h): Remove useless include.
56 (make_runtime_pseudo_reloc): Change addend to use bfd_vma.
57 Handle the two variants of pseudo-relocation.
58 (pe_create_import_fixup): Change addend to type bfd_vma.
59 Modify for the two pseudo_relocation variants.
60 (runtime_pseudp_reloc_v2_init): New static variable.
61 * pe-dll.h (pe_create_import_fixup): Change addend argument type
62 to bfd_vma.
63 * pep-dll.h (pep_create_import_fixup): Likewise.
64 * NEWS: Add comment.
65
66 2008-11-14 Alan Modra <amodra@bigpond.net.au>
67
68 * Makefile.am (spu_ovl.o_c): Add missing line continuations.
69 * Makefile.in: Regenerate.
70
71 2008-11-06 Joel Sherrill <joel.sherrill@oarcorp.com>
72
73 * configure.tgt: Add m32c-*-rtems* and m32r-*-rtems*.
74
75 2008-11-03 Bob Wilson <bob.wilson@acm.org>
76
77 * emulparams/elf32xtensa.sh (NO_REL_RELOCS): Set.
78 * scripttempl/elfxtensa.sc (NO_REL_RELOCS, NO_RELA_RELOCS)
79 (NON_ALLOC_DYN): Import changes from elf.sc.
80
81 2008-10-25 Nick Clifton <nickc@redhat.com>
82
83 PR 6945
84 * ldlang.c (lang_size_sections_1): Do not update the VMAs of
85 output sections when performing a relocatable link on COFF
86 objects.
87
88 2008-10-22 Nick Clifton <nickc@redhat.com>
89
90 * emultempl/armelf.em (arm_elf_after_open): Move check for using a
91 non-arm output target from here...
92 (arm_elf_create_output_section_statements): ... to here, so that
93 the check is made at the earliest possible opportunity.
94
95 2008-10-22 Alan Modra <amodra@bigpond.net.au>
96
97 * emulparams/elf32_i960.sh (TEMPLATE_NAME): "generic", not "elf32".
98 (EXTRA_EM_FILE): Define.
99
100 2008-10-22 Alan Modra <amodra@bigpond.net.au>
101
102 * scripttempl/elf.sc (NO_REL_RELOCS, NO_RELA_RELOCS, NON_ALLOC_DYN):
103 Handle these defines.
104 * emulparams/criself.sh, * emulparams/crislinux.sh,
105 * emulparams/elf32am33lin.sh, * emulparams/elf32fr30.sh,
106 * emulparams/elf32_i860.sh, * emulparams/elf32ip2k.sh,
107 * emulparams/elf32mcore.sh, * emulparams/elf32ppccommon.sh,
108 * emulparams/elf32ppcwindiss.sh, * emulparams/elf32_sparc.sh,
109 * emulparams/elf32_spu.sh, * emulparams/elf32vax.sh,
110 * emulparams/elf64alpha.sh, * emulparams/elf64mmix.sh,
111 * emulparams/elf64ppc.sh, * emulparams/elf64_s390.sh,
112 * emulparams/elf64_sparc.sh, * emulparams/elf_s390.sh,
113 * emulparams/elf_x86_64.sh, * emulparams/h8300elf.sh,
114 * emulparams/hppa64linux.sh, * emulparams/hppalinux.sh,
115 * emulparams/m68kelf.sh, * emulparams/mn10200.sh,
116 * emulparams/pjelf.sh, * emulparams/ppclynx.sh,
117 * emulparams/shelf32.sh, * emulparams/shelf_nto.sh,
118 * emulparams/shelf.sh, * emulparams/shelf_vxworks.sh,
119 * emulparams/shlelf32_linux.sh, * emulparams/shlelf_linux.sh,
120 * emulparams/shlelf_nto.sh (NO_REL_RELOCS): Set.
121 * emulparams/arcelf.sh, * emulparams/elf32_i960.sh,
122 * emulparams/elf32openrisc.sh, * emulparams/elf_i386_be.sh,
123 * emulparams/elf_i386_ldso.sh, * emulparams/elf_i386.sh,
124 * emulparams/elf_i386_vxworks.sh, * emulparams/i386lynx.sh,
125 * emulparams/i386moss.sh, * emulparams/i386nto.sh,
126 * emulparams/or32elf.sh, * emulparams/scoreelf.sh (NO_RELA_RELOCS): Set.
127
128 2008-10-22 Alan Modra <amodra@bigpond.net.au>
129
130 * ldlang.c (lang_output_section_find_by_flags): Handle non-alloc
131 sections.
132 * emultempl/elf32.em (enum orphan_save_index): Add orphan_nonalloc.
133 (hold): Likewise.
134 (gld${EMULATION_NAME}_place_orphan): Handle non-alloc orphans.
135
136 2008-10-22 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
137
138 * emultempl/armelf.em (PARSE_AND_LIST_OPTIONS): Correct typo in
139 help text of --be8.
140
141 2008-10-20 Alan Modra <amodra@bigpond.net.au>
142
143 * ldemul.h (ldemul_place_orphan): Update prototype.
144 (struct ld_emulation_xfer_struct <place_orphan>): Likewise.
145 * ldemul.c (ldemul_place_orphan): Return pointer to output
146 section statement.
147 * emultempl/beos.em (gld${EMULATION_NAME}_place_orphan): Likewise.
148 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Likewise.
149 * emultempl/mmo.em (mmo_place_orphan): Likewise.
150 * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
151 * emultempl/pep.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
152
153 2008-10-08 Nick Clifton <nickc@redhat.com>
154
155 * configure.in (ALL_LINGUAS): Add "id".
156 * configure: Regenerate.
157 * po/id.po: New Indonesian translation.
158
159 2008-10-05 Alan Modra <amodra@bigpond.net.au>
160
161 PR 6943
162 * scripttempl/avr.sc (.bss): Set lma when relocating.
163 (.bss, .noinit): No need to set vma when relocating.
164 (.text, .bss, ,noinit): Set vma to zero when not relocating.
165
166 2008-10-04 Alan Modra <amodra@bigpond.net.au>
167
168 PR 6931
169 * ldemul.c (ldemul_place_orphan): Add "constraint" param.
170 * ldemul.h (ldemul_place_orphan): Update prototype.
171 (struct ld_emulation_xfer_struct <place_orphan>): Likewise add param.
172 * ldlang.c (unique_section_p): Make static.
173 (lang_output_section_statement_lookup): Optimise creation of SPECIAL
174 sections.
175 (lang_insert_orphan): Add "constraint" param. Pass to
176 lang_enter_output_section_statement.
177 (init_os): Don't use an existing bfd section for SPECIAL sections.
178 (lang_place_orphans): Don't rename unique output sections, instead
179 mark their output section statements SPECIAL.
180 * ldlang.h (lang_insert_orphan): Update prototype.
181 (unique_section_p): Delete.
182 * emultempl/beos.em (place_orphan): Add "constraint" param.
183 * emultempl/elf32.em (place_orphan): Likewise. Don't match existing
184 output sections if set.
185 * emultempl/pe.em (place_orphan): Likewise.
186 * emultempl/pep.em (place_orphan): Likewise.
187 * emultempl/mmo.em (mmo_place_orphan): Update.
188 * emultempl/spuelf.em (spu_place_special_section): Update.
189
190 2008-10-03 Alan Modra <amodra@bigpond.net.au>
191
192 PR 6931
193 * ldemul.c (ldemul_place_orphan): Add "name" param.
194 * ldemul.h (ldemul_place_orphan): Update prototype.
195 (struct ld_emulation_xfer_struct <place_orphan>): Likewise.
196 * ldlang.c (lang_place_orphans): Generate unique section names here..
197 * emultempl/elf32.em (place_orphan): ..rather than here. Don't
198 directly use an existing output section statement that has no
199 bfd section.
200 * emultempl/pe.em (place_orphan): Likewise.
201 * emultempl/pep.em (place_orphan): Likewise.
202 * emultempl/beos.em (place_orphan): Adjust.
203 * emultempl/spuelf.em (spu_place_special_section): Adjust
204 place_orphan call.
205 * emultempl/genelf.em (gld${EMULATION_NAME}_after_open): New function.
206 (LDEMUL_AFTER_OPEN): Define.
207
208 2008-09-30 Joseph Myers <joseph@codesourcery.com>
209
210 * emulparams/elf64ppc.sh (OTHER_GOT_RELOC_SECTIONS): Add .rela.opd
211 and .rela.branch_lt.
212
213 2008-09-30 Alan Modra <amodra@bigpond.net.au>
214
215 * Makefile.am: Run "make dep-am".
216 * Makefile.in: Regenerate.
217
218 2008-09-29 Peter O'Gorman <pogma@thewrittenword.com>
219 Steve Ellcey <sje@cup.hp.com>
220
221 * configure: Regenerate for new libtool.
222 * aclocal.m4: Ditto.
223 * Makefile.in: Ditto.
224
225 2008-09-29 Kai Tietz <kai.tietz@onevision.com>
226
227 * pe-dll.c (make_import_fixup_entry): Make sure reloc is addend.
228
229 2008-09-29 Nick Clifton <nickc@redhat.com>
230
231 * po/vi.po: Updated Vietnamese translation.
232
233 2008-09-25 Alan Modra <amodra@bigpond.net.au>
234
235 * ldexp.c (fold_binary): Evaluate rhs when lhs not valid.
236
237 2008-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
238
239 * configure.in: Call AC_SYS_LARGEFILE.
240 * config.in: Regenerate.
241 * configure: Regenerate.
242
243 2008-09-09 Peter Rosin <peda@lysator.liu.se> (tiny change)
244
245 * emultempl/pe.em (pe_find_data_imports): Add trailing newline
246 to warning message.
247 * emultempl/pep.em (pep_find_data_imports): Likewise.
248
249 2008-09-08 H.J. Lu <hongjiu.lu@intel.com>
250
251 2008-09-07 Alan Modra <amodra@bigpond.net.au>
252
253 * emultempl/beos.em (gld${EMULATION_NAME}_place_orphan): Updated.
254 * emultempl/sunos.em (gld${EMULATION_NAME}_before_allocation): Likewise.
255
256 2008-09-08 Tristan Gingold <gingold@adacore.com>
257
258 * NEWS: Add a marker for the 2.19 features.
259
260 2008-09-07 Alan Modra <amodra@bigpond.net.au>
261
262 * ldlang.h (lang_output_section_find): Define.
263 (lang_output_section_statement_lookup): Update prototype.
264 * ldlang.c (lang_output_section_find,
265 lang_output_section_statement_lookup_1): Merge into..
266 (lang_output_section_statement_lookup): ..here. Update all callers.
267 (process_insert_statements): Set constraint negative
268 for output section statements we might be inserting. Make error
269 fatal on not finding insertion section.
270 (lang_output_section_find): Rather than comparing
271 output_section_statement.constraint against -1, test whether
272 it is postive.
273 (lang_output_section_statement_lookup_1): Likewise.
274 (output_prev_sec_find, strip_excluded_output_sections): Likewise.
275 (lang_record_phdrs): Likewise.
276 * emultempl/elf32.em (output_rel_find): Likewise.
277 * NEWS: Mention INSERT.
278
279 2008-08-26 Nick Clifton <nickc@redhat.com>
280
281 PR 6727
282 * emultempl/armelf.em (arm_elf_set_bfd_for_interworking): Scan all
283 input sections in all input bfds and always select the last
284 suitable one, so that interworking stubs are always processed
285 after all other input sections.
286 (arm_elf_before_allocation): Remove redundant use of
287 output_has_begun flag.
288
289 2008-08-24 Alan Modra <amodra@bigpond.net.au>
290
291 * configure.in: Update a number of obsolete autoconf macros.
292 * configure: Regenerate.
293 * aclocal.m4: Regenerate.
294
295 2008-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
296
297 PR ld/6833
298 * ldexp.c (fold_binary <DATA_SEGMENT_ALIGN>): Do not align
299 EXPLD.DATASEG.MIN_BASE.
300 * ldlang.c (lang_size_sections): New variable OLD_BASE. Rename
301 OLD_MIN_BASE to MIN_BASE with the former alignment from `ldexp.c'.
302 Use OLD_BASE now for the minimal base check after the base decrease by
303 the maximum alignment found.
304
305 2008-08-17 Alan Modra <amodra@bigpond.net.au>
306
307 PR 6478
308 * ldcref.c (check_local_sym_xref): Use bfd_generic_link_read_symbols.
309 Don't free symbol pointer array.
310 (check_refs): Likewise.
311 * ldmain.c (warning_callback): Likewise.
312 * ldmisc.c (vfinfo): Likewise.
313 * pe-dll.c (process_def_file): Likewise.
314 (pe_walk_relocs_of_symbol, generate_reloc): Likewise.
315 * emultempl/pe.em (pe_find_data_imports): Likewise.
316 (gld_${EMULATION_NAME}_after_open): Likewise.
317 * emultempl/pep.em (pep_find_data_imports): Likewise.
318 (gld_${EMULATION_NAME}_after_open): Likewise.
319 * ldlang.h (lang_input_statement_type): Delete asymbols, symbol_count,
320 passive_position, closed.
321 * ldlang.c (new_afile): Don't set asymbols and symbol_count.
322 * ldmain.c (add_archive_element): xcalloc lang_input_statement_type.
323
324 2008-08-15 Alan Modra <amodra@bigpond.net.au>
325
326 PR 6526
327 * configure.in: Invoke AC_USE_SYSTEM_EXTENSIONS.
328 * Makefile.in: Regenerate.
329 * aclocal.m4: Regenerate.
330 * config.in: Regenerate.
331 * configure: Regenerate.
332
333 2008-08-09 Alan Modra <amodra@bigpond.net.au>
334
335 PR 6753
336 * ldmain.c (check_for_scripts_dir, set_scripts_dir): Delete.
337 (main): Don't set_scripts_dir here.
338 * ldfile.c (check_for_scripts_dir, find_scripts_dir): New functions,
339 largely based on ldmain.c versions.
340 (ldfile_find_command_file): Set up search in script dir here without
341 affecting library search.
342 * Makefile.am (ldmain.o): No need to define SCRIPTDIR.
343 (ldfile.o): New rule.
344 * Makefile.in: Regenerate.
345
346 2008-08-08 Anatoly Sokolov <aesok@post.ru>
347
348 * Makefile.am (ALL_EMULATIONS): Add eavr25.o, eavr31.o, eavr35.o,
349 and eavr51.o.
350 Add rules for eavr25.c, eavr31.c, eavr35.c, eavr51.c.
351 * Makefile.in: Regenerate.
352 * configure.tgt (avr-*-*, targ_extra_emuls): Add avr25, avr31, avr35
353 and avr51.
354 * emulparams/avr25.sh: New file.
355 * emulparams/avr31.sh: New file.
356 * emulparams/avr35.sh: New file.
357 * emulparams/avr51.sh: New file.
358
359 2008-08-08 Richard Sandiford <rdsandiford@googlemail.com>
360 Daniel Jacobowitz <dan@codesourcery.com>
361
362 * emulparams/elf32bmip.sh (GOT): Define, moving .got.plt to...
363 (OTHER_RELRO_SECTIONS, OTHER_READWRITE_SECTIONS): ...one of these
364 two variables.
365 * emulparams/elf32bmipn32-defs.sh: Likewise.
366 * emultempl/mipself.em: Include ldctor.h, elf/mips.h and elfxx-mips.h.
367 (is_mips_elf): New macro.
368 (stub_file, stub_bfd): New variables.
369 (hook_stub_info): New structure.
370 (hook_in_stub): New function.
371 (mips_add_stub_section): Likewise.
372 (mips_create_output_section_statements): Likewise.
373 (mips_before_allocation): Likewise.
374 (real_func): New variable.
375 (mips_for_each_input_file_wrapper): New function.
376 (mips_lang_for_each_input_file): Likewise.
377 (lang_for_each_input_file): Define.
378 (LDEMUL_BEFORE_ALLOCATION): Likewise.
379 (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Likewise.
380
381 2008-08-08 Alan Modra <amodra@bigpond.net.au>
382
383 * ldfile.c (ldfile_open_file_search): Use concat.
384 (try_open): Don't use a fixed size pathname buffer.
385 (ldfile_find_command_file): Likewise.
386 * emultempl/elf32.em (gld${EMULATION_NAME}_open_dynamic_archive): If
387 using EXTRA_SHLIB_EXTENSION, don't open twice.
388
389 2008-08-04 Alan Modra <amodra@bigpond.net.au>
390
391 * Makefile.am (POTFILES.in): Set LC_ALL=C.
392 * Makefile.in: Regenerate.
393 * po/POTFILES.in: Regenerate.
394
395 2008-08-03 Alan Modra <amodra@bigpond.net.au>
396
397 * Makefile.am (spu_ovl.o): Merge rule into..
398 (spu_ovl.o_c): ..this one. Only run cpp for spu target.
399 * Makefile.in: Regenerate.
400
401 2008-08-02 Jan Kratochvil <jan.kratochvil@redhat.com>
402
403 Include the spu_ovl ASCII form in the repository files.
404 * emultempl/spuelf.em: No longer use `bin2c', use now `spu_ovl.o_c'.
405 * Makefile.am (eelf32_spu.c): Depend now on `spu_ovl.o_c'.
406 ($(srcdir)/emultempl/spu_ovl.o_c): New target.
407 ($(srcdir)/emultempl/spu_ovl.o): Rename to...
408 (spu_ovl.o): ...this one.
409 * Makefile.in: Regenerate.
410 * emultempl/spu_ovl.o_c: New file.
411 * emultempl/spu_ovl.o: File removed.
412
413 2008-07-31 Takashi Ono <t_ono@hkfreak.net>
414
415 * pe-dll.c (generate_relocs): Don't generate relocs for
416 undefined weak symbols.
417
418 2008-07-31 Jan Kratochvil <jan.kratochvil@redhat.com>
419
420 * emultempl/spuelf.em: Abort on the missing required `spu_ovl.o'.
421
422 2008-07-30 Alan Modra <amodra@bigpond.net.au>
423
424 * emultempl/pe.em, emultempl/pep.em: Silence gcc warnings.
425
426 2008-07-18 Joseph Myers <joseph@codesourcery.com>
427
428 * ld.texinfo (--no-wchar-size-warning): Document new ARM option.
429 * emultempl/armelf.em (no_wchar_size_warning): New.
430 (arm_elf_create_output_section_statements): Pass
431 no_wchar_size_warning to arm_elf_create_output_section_statements.
432 (OPTION_NO_WCHAR_SIZE_WARNING): New.
433 (PARSE_AND_LIST_LONGOPTS): Add no-wchar-size-warning.
434 (PARSE_AND_LIST_OPTIONS): List --no-wchar-size-warning.
435 (PARSE_AND_LIST_ARGS_CASES): Handle --no-wchar-size-warning.
436
437 2008-07-15 Jie Zhang <jie.zhang@analog.com>
438
439 * emulparams/elf32bfinfd.sh (OTHER_SECTIONS): Define.
440
441 2008-07-12 Craig Silverstein <csilvers@google.com>
442
443 PR ld/6741
444 * configure.in: Check for, and include, libz.a if it is present.
445 * configure: Regenerate.
446 * config.in: Regenerate.
447
448 2008-07-12 Jie Zhang <jie.zhang@analog.com>
449
450 Revert
451 2008-07-12 Jie Zhang <jie.zhang@analog.com>
452 * Makefile.am (eelf32bfin.c): Depend on bfin.em.
453 (eelf32bfinfd.c): Likewise.
454 * Makefile.in: Regenerate.
455 * gen-doc.texi: Set Blackfin.
456 * ld.texinfo: Document --sep-code and Blackfin specific
457 options.
458 * ldmain.c (main): Initialize link_info.sep_code.
459 * lexsup.c (enum option_values): Add OPTION_SEP_CODE.
460 (ld_options[]): Add --sep-code.
461 (parse_args): Deal with --sep-code.
462 * emulparams/bfin.sh (EXTRA_EM_FILE): Define.
463 * emulparams/elf32bfinfd.sh (OTHER_SECTIONS): Define.
464 * emultempl/bfin.em: New file.
465
466 2008-07-12 Jie Zhang <jie.zhang@analog.com>
467
468 * Makefile.am (eelf32bfin.c): Depend on bfin.em.
469 (eelf32bfinfd.c): Likewise.
470 * Makefile.in: Regenerate.
471 * gen-doc.texi: Set Blackfin.
472 * ld.texinfo: Document --sep-code and Blackfin specific
473 options.
474 * ldmain.c (main): Initialize link_info.sep_code.
475 * lexsup.c (enum option_values): Add OPTION_SEP_CODE.
476 (ld_options[]): Add --sep-code.
477 (parse_args): Deal with --sep-code.
478 * emulparams/bfin.sh (EXTRA_EM_FILE): Define.
479 * emulparams/elf32bfinfd.sh (OTHER_SECTIONS): Define.
480 * emultempl/bfin.em: New file.
481
482 2008-07-09 Danny Smith <dannysmith@users.sourceforge.net>
483
484 *pe-dll.c (autofilter_symbolprefixlist): Excude all symbols
485 starting with ".".
486 Exclude "_IMPORT_DESCRIPTOR_".
487 (autofilter_symbolsuffixlist): Exclude "_NULL_THUNK_DATA".
488 (autofilter_symbollist_generic): Don't check for ".text".
489 Exclude "_NULL_IMPORT_DESCRIPTOR".
490 (autofilter_symbollist_i386): Likewise.
491
492 2008-07-07 Alan Modra <amodra@bigpond.net.au>
493
494 * emultempl/armelf.em (elf32_arm_add_stub_section): Use
495 bfd_make_section_with_flags.
496 * emultempl/avrelf.em (avr_elf_create_output_section_statements):
497 Likewise.
498 * emultempl/hppaelf.em (hppaelf_add_stub_section): Likewise.
499 * emultempl/m68hc1xelf.em (m68hc11elf_add_stub_section): Likewise.
500 * emultempl/m68kcoff.em (gld${EMULATION_NAME}_after_open): Likewise.
501 * emultempl/m68kelf.em (m68k_elf_after_open): Likewise.
502 * emultempl/ppc64elf.em (ppc_add_stub_section): Likewise.
503 * emultempl/sh64elf.em (sh64_elf_${EMULATION_NAME}_before_allocation):
504 Likewise.
505
506 2008-07-06 Nathan Sidwell <nathan@codesourcery.com>
507
508 * ld.texinfo (File Commands): Document that INCLUDE can be used in
509 several different places.
510 * ldgram.y (statement, memory_spec, section): Allow INCLUDE.
511 (memory, memory_spec_list): Simplify BNF
512 (memory_spec_list_opt): New rule.
513 * ldlex.l (INCLUDE): Recognize in EXPRESSION.
514
515 2008-06-20 Alan Modra <amodra@bigpond.net.au>
516
517 * emultempl/spuelf.em (gld${EMULATION_NAME}_finish): Make "can not
518 build overlay stubs" a fatal error.
519
520 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
521
522 * config.in: Regenerate.
523 * configure: Regenerate.
524
525 2008-06-17 Alan Modra <amodra@bigpond.net.au>
526
527 * emultempl/spuelf.em (extra_stack_space): New variable.
528 (gld${EMULATION_NAME}_finish): Pass it to spu_elf_check_vma.
529 (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS,
530 PARSE_AND_LIST_ARGS_CASES): Handle --extra-stack-space.
531 * emultempl/spu_ovl.S: Mask interrupts during dma and update of
532 overlay manager structures.
533 * emultempl/spu_ovl.o: Regenerate.
534
535 2008-06-16 Hans-Peter Nilsson <hp@bitrange.com>
536
537 * ld.texinfo (@node MMIX): For the __.MMIX.start. prefix, only
538 mention it as being special for global symbols.
539
540 2008-06-12 Nick Clifton <nickc@redhat.com>
541
542 * ldlang.c (print_output_section_statement): If the output section
543 statement has an update_dot_tree expression, apply it to
544 print_dot.
545 (print_input_section): Do not update print_dot if it would move
546 print_dot backwards.
547 (lang_do_assignments_1): If the output section statement has an
548 update_dot_tree expression apply it to dot.
549
550 2008-06-07 Alan Modra <amodra@bigpond.net.au>
551
552 * NEWS: Mention archive:path patterns.
553 * ld.texinfo: Likewise.
554 * ldlang.c: Formatting throughout.
555 (archive_path): Only assume "[A-Za-z]:" is a dos drive.
556 (input_statement_is_archive_path): New function, extracted from..
557 (walk_wild): ..here.
558 (walk_wild_consider_section): Match archive:path here too.
559 (init_map_userdata, sort_def_symbol): Convert to ISO C.
560 * ldmain.c (main): Set link_info.path_separator.
561 * emultempl/spuelf.em (choose_target): Don't set it here.
562
563 2008-06-06 Alan Modra <amodra@bigpond.net.au>
564
565 * ldlang.c (name_match): New function.
566 (unique_section_p, walk_wild_consider_section): Use it here.
567 (walk_wild_section_general): And here.
568 (archive_path): New function.
569 (walk_wild): Match archive:path filespecs.
570 (open_input_bfds): Don't load archive:path files.
571 * emultempl/spuelf.em (choose_target): Set path_separator.
572 * emulparams/elf32_spu.sh: Add ._ea.* sections to ._ea output.
573
574 2008-06-04 Nick Clifton <nickc@redhat.com>
575
576 * ld.texinfo (Orphan Sections): Fix texi typo.
577
578 2008-06-04 Chris Metcalf <cmetcalf@tilera.com>
579
580 * lexsup.c (option_values): Add OPTION_NO_WARN_FATAL.
581 (ld_options): Add entry for --no-fatal-warnings.
582 (parse_args): Handle OPTION_NO_WARN_FATAL.
583 * ld.texinfo (Options): Document new command line switch.
584
585 2008-06-04 Alan Modra <amodra@bigpond.net.au>
586
587 * emultempl/spuelf.em (spu_elf_relink): Correct --no-auto-overlay arg.
588
589 2008-06-02 Nathan Sidwell <nathan@codesourcery.com>
590
591 * ldlang.c (closest_target_match): Skip generic big and little
592 endian ELF targets.
593
594 2008-05-31 Evandro Menezes <evandro@yahoo.com>
595
596 PR ld/6430
597 * ld.h (enum sort_order): New.
598 * ldlang.c (lang_check: Fix comment.
599 (lang_common): Sort commons in ascending or descending order.
600 (lang_one_common): Likewise.
601 * lexsup.c (ld_options): Have --sort-common take an option
602 argument.
603 (parse_args): Handle argument to --sort-common.
604 * ld.texinfo (--sort-common): Document new optional argument.
605 * NEWS: Mention new feature.
606
607 2008-05-28 Christophe Lyon <christophe.lyon@st.com>
608
609 * ld.texinfo: State that farcalls stubs are supported for ARM-EABI
610 only.
611
612 2008-05-27 Kai Tietz <kai.tietz@onevision.com>
613
614 * pe-dll.c (fill_edata): Make sure we calculate vma's in
615 type bfd_vma.
616 (generate_reloc): Likewise.
617 (pe_implied_import_dll): Likewise.
618
619 2008-05-21 Nick Clifton <nickc@redhat.com>
620
621 PR ld/6519
622 * ld.texinfo (Orphan Sections): Mention that the linker will
623 provide start and stop symbols for orphaned sections if their
624 names are valid C identifiers.
625 * NEWS: Add an addendum to the description of the linker feature
626 for providing orphan section start and end symbols.
627
628 2008-05-21 Maxim Kuvyrkov <maxim@codesourcery.com>
629
630 * configure.in (--enable-got): New option. Handle it.
631 * configure: Regenerate.
632 * config.in: Regenerate.
633 * emultempl/m68kelf.em: (got_handling_target_default): New shell
634 variable.
635 (GOT_HANDLING_TARGET_DEFAULT): New macro.
636 (GOT_HANDLING_DEFAULT): New macro. Initialize it from configure
637 option if one was given.
638 (got_handling): New static variable.
639 (elf_m68k_create_output_section_statements): New static function
640 implementing hook.
641 (PARSE_AND_LIST_PROLOGUE): Define shell variable.
642 (OPTION_GOT): New macro.
643 (PARSE_AND_LIST_LONGOPTS): Define shell variable. Specify
644 --got option.
645 (got): New linker option.
646 (PARSE_AND_LIST_OPTIONS): Define shell variable. Print help string
647 for --got option.
648 (PARSE_AND_LIST_ARGS_CASES): Define shell variable. Handle --got
649 option.
650 * ld.texinfo: Document --got=<type> option.
651 * gen-doc.texi: Add M68K.
652 * NEWS: Mention the new feature.
653
654 2008-05-21 Evandro Menezes <evandro@yahoo.com>
655
656 PR ld/6430
657 * ld.texinfo (--sort-common): Correct documentation to indicate
658 that sorting is performed by alignment, not size, biggest
659 alignment first.
660
661 2008-05-21 Christophe Lyon <christophe.lyon@st.com>
662 Nick Clifton <nickc@redhat.com>
663
664 * ld.texinfo (ARM): Document --stub-group-size=N option.
665 Move description of --pic-veneer option into the ARM section.
666 * NEWS: Mention the support for long function calls.
667
668 2008-05-15 Christophe Lyon <christophe.lyon@st.com>
669
670 * emultempl/armelf.em (build_section_lists): New function.
671 (stub_file): Define.
672 (need_laying_out): Define.
673 (group_size): Define.
674 (hook_stub_info): Define.
675 (hook_in_stub): New function.
676 (elf32_arm_add_stub_section): New function.
677 (gldarm_layout_sections_again): New function.
678 (gld${EMULATION_NAME}_finish): Replace arm_elf_finish(). Generate
679 stubs for long calls if needed.
680 (arm_elf_create_output_section_statements): create stub_file bfd.
681 (arm_for_each_input_file_wrapper): New function.
682 (arm_lang_for_each_input_file): New function.
683 (lang_for_each_input_file): Define.
684 (PARSE_AND_LIST_PROLOGUE): Add option token OPTION_STUBGROUP_SIZE.
685 (PARSE_AND_LIST_LONGOPTS): Add option stub-group-size.
686 (PARSE_AND_LIST_OPTIONS): Add option stub-group-size.
687 (PARSE_AND_LIST_ARGS_CASES): Add OPTION_STUBGROUP_SIZE case.
688 (LDEMUL_FINISH): Update to gld${EMULATION_NAME}_finish.
689 * lang.c (print_input_statement): Skip if bfd has
690 BFD_LINKER_CREATED.
691
692 2008-05-14 Alan Modra <amodra@bigpond.net.au>
693
694 * Makefile.in: Regenerate.
695
696 2008-05-09 Kai Tietz <kai.tietz@onevision.com>
697
698 ld/PR6502
699 * emultempl/pep.em (compute_dll_image_base): Use bfd_vma instead
700 of long and change return type to bfd_vma.
701 (definfo): Change type of address from long to bfd_vma.
702 (set_pep_value): Replace strtoul to strtoull.
703 (gld_${EMULATION_NAME}_set_symbols): use bfd_vma instead of long..
704 * pe-dll.c (pe_dll_generate_def_file): Use fprintf_vma to print
705 ImageBase.
706 (quick_reloc): Change argument address from int to bfd_size_type.
707
708 2008-05-08 Tom Tromey <tromey@redhat.com>
709
710 * ld.texinfo (PowerPC64 ELF64): Fix typo.
711
712 2008-05-08 Alan Modra <amodra@bigpond.net.au>
713
714 * elf32_spu.sh (OTHER_SECTIONS): Add "._ea".
715 * elf32ppc.sh: If building with spu support, put ".data.spehandle"
716 sections at the start of ".data" and provide a symbol to locate
717 the directory of embedded spe programs.
718
719 2008-05-08 Alan Modra <amodra@bigpond.net.au>
720
721 * ldexp.c (exp_print_token): Add ABSOLUTE, MIN_K, ASSERT_K. Correct
722 MAX_K.
723 (fold_binary <SEGMENT_START>): Set expld.result.section to
724 current section. Expand comment. Formatting.
725 (fold_name <DEFINED>): Set expld.result.section to current section.
726
727 2008-04-28 Nathan Sidwell <nathan@codesourcery.com>
728
729 * ldlang.c (lang_size_sections_1): Don't check LMA overflow on
730 non-load sections.
731
732 2008-04-25 Michael Frysinger <vapier@gentoo.org>
733
734 * configure.tgt (bfin-*-linux-uclibc*): Set targ_emul to elf32bfinfd
735 and targ_extra_emuls to elf32bfin.
736
737 2008-04-23 Paolo Bonzini <bonzini@gnu.org>
738
739 * aclocal.m4: Regenerate.
740 * configure: Regenerate.
741
742 2008-04-03 Kai Tietz <kai.tietz@onevision.com>
743
744 * scripttempl/pep.sc: Align start of symbol __CTOR_LIST__.
745
746 2008-04-08 Alan Modra <amodra@bigpond.net.au>
747
748 * po/POTFILES.in: Regenerate.
749
750 2008-04-08 Alan Modra <amodra@bigpond.net.au>
751
752 * emultempl/spuelf.em (auto_overlay, auto_overlay_file,
753 auto_overlay_fixed, auto_overlay_reserved, my_argc, my_argv): New vars.
754 (spu_before_allocation): Warn on --auto-overlay and existing overlays.
755 (struct tflist, clean_tmp): Move.
756 (new_tmp_file): New function, extracted from..
757 (embedded_spu_file): ..here.
758 (spu_elf_open_overlay_script, spu_elf_relink): New function.
759 (gld${EMULATION_NAME}_finish): Pass a bunch of --auto-overlay params.
760 Warn on --auto-overlay and zero local store.
761 (gld${EMULATION_NAME}_choose_target): New function to stash argv.
762 (OPTION_SPU_AUTO_OVERLAY, OPTION_SPU_AUTO_RELINK,
763 OPTION_SPU_OVERLAY_RODATA, OPTION_SPU_FIXED_SPACE,
764 OPTION_SPU_RESERVED_SPACE, OPTION_SPU_NO_AUTO_OVERLAY): Define.
765 (PARSE_AND_LIST_LONGOPTS): Add entries for new options.
766 (PARSE_AND_LIST_OPTIONS): Likewise.
767 (PARSE_AND_LIST_ARGS_CASES): Likewise.
768 (LDEMUL_CHOOSE_TARGET): Define.
769
770 2008-04-03 Kai Tietz <kai.tietz@onevision.com>
771
772 PR ld/6026
773 * pe-dll.c (make_head): Fix iat and thunk addend offset.
774
775 2008-03-31 Nick Clifton <nickc@redhat.com>
776
777 * po/fr.po: Updated French translation.
778
779 2008-03-24 Ian Lance Taylor <iant@google.com>
780
781 The sha1 code is now in libiberty.
782 * sha1.c: Remove.
783 * sha1.h: Remove.
784 * Makefile.am (CFILES): Remove sha1.c.
785 (HFILES): Remove sha1.h.
786 (OFILES): Remove sha1.o.
787 (ld_new_SOURCES): Remove sha1.c.
788 (sha1.o): Remove target.
789 * Makefile.in: Rebuild.
790
791 2008-03-20 Alan Modra <amodra@bigpond.net.au>
792
793 * emultempl/spuelf.em: Update calls to elf32-spu.c funcs.
794
795 2008-03-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
796
797 * aclocal.m4: Regenerate.
798 * configure: Likewise.
799 * Makefile.in: Likewise.
800
801 2008-03-14 Alan Modra <amodra@bigpond.net.au>
802
803 * emultempl/spuelf.em (gld${EMULATION_NAME}_finish): Protect
804 spu_elf_build_stubs with is_spu_target.
805
806 2008-03-13 Alan Modra <amodra@bigpond.net.au>
807
808 * Makefile.am: Run "make dep-am".
809 * Makefile.in: Regenerate.
810 * configure: Regenerate.
811
812 2008-03-06 Joseph Myers <joseph@codesourcery.com>
813 Roman Zippel <zippel@linux-m68k.org>
814
815 * emulparams/m68kelf.sh (GENERATE_PIE_SCRIPT): Define.
816 (COMMONPAGESIZE): Define.
817
818 2008-02-22 Nick Clifton <nickc@redhat.com>
819
820 PR ld/5785
821 * ldlang.c (lang_size_sections_1): Honour the setting of an
822 lma_region even if there is no vma region set, or the vma region
823 is the same as the lma region.
824
825 2008-02-18 Nick Clifton <nickc@redhat.com>
826
827 * scripttempl/armbpabi.sc (ENTRY): Do not define when performing a
828 relocatable link.
829 * scripttempl/elf32cr16.sc: Likewise.
830 * scripttempl/elf32cr16c.sc: Likewise.
831 * scripttempl/elf32crx.sc: Likewise.
832 * scripttempl/elf32sh-symbian.sc: Likewise.
833 * scripttempl/elf_chaos.sc: Likewise.
834 * scripttempl/elfd10v.sc: Likewise.
835 * scripttempl/elfi370.sc: Likewise.
836 * scripttempl/elfm68hc11.sc: Likewise.
837 * scripttempl/elfm68hc12.sc: Likewise.
838 * scripttempl/ip2k.sc: Likewise.
839 * scripttempl/iq2000.sc: Likewise.
840 * scripttempl/mep.sc: Likewise.
841 * scripttempl/v850.sc: Likewise.
842 * scripttempl/xstormy16.sc: Likewise.
843
844 2008-02-16 Alan Modra <amodra@bigpond.net.au>
845
846 PR ld/5761
847 * ldexp.c (fold_name <LOADADDR>): Check result of evaluating
848 load_base before calling make_abs.
849
850 2008-02-15 Alan Modra <amodra@bigpond.net.au>
851
852 * emultempl/alphaelf.em (alpha_after_open): Use elf_object_id.
853 * emultempl/hppaelf.em (hppaelf_create_output_section_statements):
854 Likewise.
855 * emultempl/ppc64elf.em (ppc_create_output_section_statements):
856 Likewise.
857 * emultempl/ppc32elf.em (is_ppc_elf32_vec): Delete. Replace all
858 uses with..
859 (is_ppc_elf): ..this new macro.
860
861 2008-02-15 Alan Modra <amodra@bigpond.net.au>
862
863 * ldmain.h (output_bfd): Delete.
864 * ldmain.c (output_bfd): Delete.
865 Replace all occurrences of output_bfd with link_info.output_bfd.
866 * ldcref.c: Likewise.
867 * ldctor.c: Likewise.
868 * ldemul.c: Likewise.
869 * ldexp.c: Likewise.
870 * ldfile.c: Likewise.
871 * ldlang.c: Likewise.
872 * ldmisc.c: Likewise.
873 * ldwrite.c: Likewise.
874 * pe-dll.c: Likewise.
875 * emultempl/aix.em: Likewise.
876 * emultempl/alphaelf.em: Likewise.
877 * emultempl/armcoff.em: Likewise.
878 * emultempl/armelf.em: Likewise.
879 * emultempl/avrelf.em: Likewise.
880 * emultempl/beos.em: Likewise.
881 * emultempl/elf-generic.em: Likewise.
882 * emultempl/elf32.em: Likewise.
883 * emultempl/gld960.em: Likewise.
884 * emultempl/hppaelf.em: Likewise.
885 * emultempl/irix.em: Likewise.
886 * emultempl/linux.em: Likewise.
887 * emultempl/lnk960.em: Likewise.
888 * emultempl/m68hc1xelf.em: Likewise.
889 * emultempl/mmix-elfnmmo.em: Likewise.
890 * emultempl/mmo.em: Likewise.
891 * emultempl/pe.em: Likewise.
892 * emultempl/pep.em: Likewise.
893 * emultempl/ppc32elf.em: Likewise.
894 * emultempl/ppc64elf.em: Likewise.
895 * emultempl/scoreelf.em: Likewise.
896 * emultempl/sh64elf.em: Likewise.
897 * emultempl/spuelf.em: Likewise.
898 * emultempl/sunos.em: Likewise.
899 * emultempl/vanilla.em: Likewise.
900 * emultempl/vxworks.em: Likewise.
901 * emultempl/xtensaelf.em: Likewise.
902 * emultempl/z80.em: Likewise.
903 * ldlang.c (open_output): Don't return output, instead write
904 link_info_output_bfd directly.
905 * emultempl/alphaelf.em: Replace occurrences of link_info.hash->creator
906 with link_info.output_bfd->xvec.
907 * emultempl/hppaelf.em: Likewise.
908 * emultempl/ppc32elf.em: Likewise.
909 * emultempl/ppc64elf.em: Likewise.
910 * emultempl/spuelf.em: Likewise.
911
912 2008-02-07 Alan Modra <amodra@bigpond.net.au>
913
914 * ldlang.c (new_afile): Don't pass unadorned NULL to concat.
915 * ldfile.c (ldfile_add_library_path): Likewise.
916 * emultempl/elf32.em (check_ld_elf_hints, check_ld_so_conf): Likewise.
917 * emultempl/lnk960.em (lnk960_before_parse): Likewise.
918 * emultempl/spuelf.em (embedded_spu_file): Likewise.
919
920 2008-02-07 Alan Modra <amodra@bigpond.net.au>
921
922 * emultempl/spu_ovl.S: Use low bit of _ovly_table.size as
923 a "present" bit rather than low bit of .buf. Correct indexing
924 into _ovly_buf_table. Use relative loads and stores to access
925 overlay manager local vars.
926 * emultempl/spu_ovl.o: Regenerate.
927
928 2008-02-04 H.J. Lu <hongjiu.lu@intel.com>
929
930 PR 5715
931 * configure: Regenerated.
932
933 2008-01-31 Marc Gauthier <marc@tensilica.com>
934
935 * configure.tgt (xtensa*-*-*): Recognize processor variants.
936
937 2008-01-28 Fabian Groffen <grobian@gentoo.org>
938
939 * configure.tgt (x86_64-*-solaris2): Add support for this target.
940
941 2008-01-28 Vincent Riviere <vincent.riviere@freesbee.fr>
942
943 PR ld/5652
944 * genscripts.sh: Check for the existence of BASH_LINENO not just
945 the BASH shell before generating line numbers in the emulation
946 file.
947
948 2008-01-28 Alan Modra <amodra@bigpond.net.au>
949
950 * emultempl/spu_ovl.S: Rewrite.
951 * emultempl/spu_ovl.o: Regenerate.
952 * emultempl/spuelf.em (toe): Delete.
953 (spu_place_special_section): Add param to control section placement.
954 Adjust callers.
955 (spu_elf_load_ovl_mgr): Adjust for struct _spu_elf_section_data
956 changes.
957 (spu_before_allocation): Adjust spu_elf_size_stubs call.
958 (gld${EMULATION_NAME}_finish): Adjust spu_elf_build_stubs call.
959
960 2008-01-25 H.J. Lu <hongjiu.lu@intel.com>
961
962 PR ld/5670
963 * ldlang.c (process_insert_statements): Silence gcc 4.1 alias
964 warning.
965
966 2008-01-25 Alan Modra <amodra@bigpond.net.au>
967
968 * ld.texinfo (INSERT): Describe.
969 * ldgram.y (ldgram_in_script, ldgram_had_equals): Delete.
970 (INSERT_K, AFTER, BEFORE): Add as tokens.
971 (ifile_p1): Handle INSERT statements.
972 (saved_script_handle, force_make_executable): Move to..
973 * ldmain.c: ..here.
974 (previous_script_handle): New global var.
975 * ldmain.h (saved_script_handle, force_make_executable): Declare.
976 (previous_script_handle): Likewise.
977 * ldlex.l (INSERT_K, AFTER, BEFORE): Add tokens.
978 * lexsup.c (parge_args <-T>): Set previous_script_handle.
979 * ldlang.c (lang_for_each_statement_worker): Handle insert statement.
980 (map_input_to_output_sections, print_statement): Likewise.
981 (lang_size_sections_1, lang_do_assignments_1): Likewise.
982 (insert_os_after): New function, extracted from..
983 (lang_insert_orphan): ..here.
984 (process_insert_statements): New function.
985 (lang_process): Call it.
986 (lang_add_insert): New function.
987 * ldlang.h (lang_insert_statement_enum): New.
988 (lang_insert_statement_type): New.
989 (lang_statement_union_type): Add insert_statement.
990 (lang_add_insert): Declare.
991
992 2008-01-18 Bob Wilson <bob.wilson@acm.org>
993
994 * scripttempl/elfxtensa.sc: Merge ENTRY and .note.gnu.build-id
995 changes from elf.sc.
996
997 2008-01-16 Alan Modra <amodra@bigpond.net.au>
998
999 * ldlang.c (lang_size_sections_1): Simplify SEC_NEVER_LOAD test.
1000
1001 2008-01-16 Alan Modra <amodra@bigpond.net.au>
1002
1003 * ldlang.h (lang_afile_asection_pair_statement_enum): Delete.
1004 (lang_afile_asection_pair_statement_type): Delete.
1005 (lang_statement_union_type): Delete afile_asection_pair_statement.
1006 * ldlang.c (lang_insert_orphan): Delete case handling the above.
1007 (map_input_to_output_sections, print_statement): Likewise.
1008
1009 2008-01-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1010
1011 * emulparams/shlelf_linux.sh (DATA_START_SYMBOLS): Use PROVIDE
1012 with __data_start.
1013 * emulparams/shelf_nbsd.sh (DATA_START_SYMBOLS): Likewise.
1014
1015 2008-01-15 Alan Modra <amodra@bigpond.net.au>
1016
1017 PR 5604
1018 * ldlang.c (lang_gc_sections): Move code to set SEC_KEEP on entry
1019 syms to _bfd_elf_gc_keep.
1020 * emultempl/ppc64elf.em (ppc_before_allocation): Don't call
1021 ppc64_elf_edit_opd if no_opd_opt.
1022
1023 2008-01-11 Tristan Gingold <gingold@adacore.com>
1024 Eric Botcazou <ebotcazou@adacore.com>
1025
1026 * ldlang.c (lang_end): Warns if the entry point is not found when
1027 --gc-sections.
1028 Emit an error if no root is specified when --gc-sections -r.
1029 * ld.texinfo (Options): Document that --gc-sections is compatible
1030 with -r and -q.
1031 * ldmain.c (main): Do not error out if -r and --gc-sections.
1032 * scripttempl/elf.sc: Emit ENTRY command only if relocating.
1033
1034 2008-01-10 Daniel Jacobowitz <drow@sources.redhat.com>
1035
1036 PR ld/5533
1037 * ldlang.c (lang_end): Issue a warning for a missing start symbol
1038 of a shared library if the symbol was specified on the command
1039 line.
1040
1041 2008-01-10 Alan Modra <amodra@bigpond.net.au>
1042
1043 * ld.texinfo (--gc-sections): Describe linker behaviour.
1044
1045 For older changes see ChangeLog-2007
1046 \f
1047 Local Variables:
1048 mode: change-log
1049 left-margin: 8
1050 fill-column: 74
1051 version-control: never
1052 End:
This page took 0.047946 seconds and 3 git commands to generate.