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