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