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