Updated French and Vietnamese translations.
[binutils-gdb.git] / ld / ChangeLog
1 2009-09-23 Nick Clifton <nickc@redhat.com>
2
3 * po/vi.po: Updated Vietnamese translation.
4
5 2009-09-22 Alan Modra <amodra@bigpond.net.au>
6
7 * scripttempl/a29k.sc: Delete.
8 * scripttempl/ebmon29k.sc: Delete.
9 * scripttempl/m68klynx.sc: Delete.
10 * scripttempl/sa29200.sc: Delete.
11 * scripttempl/sparclynx.sc: Delete.
12
13 2009-09-21 Alan Modra <amodra@bigpond.net.au>
14
15 * emultempl/ppc32elf.em (no_tls_get_addr_opt): New var.
16 (ppc_before_allocation): Pass to ppc_elf_tls_setup.
17 (OPTION_NO_TLS_GET_ADDR_OPT): Define. Redefine other options in
18 terms of previous option.
19 (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add
20 --no-tls-get-addr-optimize.
21 (PARSE_AND_LIST_ARGS_CASES): Handle it.
22 * emultempl/ppc64elf.em (no_tls_get_addr_opt): New var.
23 (ppc_before_allocation): Pass to ppc64_elf_tls_setup.
24 (OPTION_NO_TLS_GET_ADDR_OPT): Define.
25 (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add
26 --no-tls-get-addr-optimize.
27 (PARSE_AND_LIST_ARGS_CASES): Handle it.
28
29 2009-09-18 Nick Clifton <nickc@redhat.com>
30
31 * po/es.po: Updated Spanish translation.
32
33 2009-09-13 Alan Modra <amodra@bigpond.net.au>
34
35 PR ld/6766
36 * lexsup.c (parse_args <-e>): Revert 2009-03-18 change.
37 * ldemul.c (after_parse_default): Add entry symbol as undef.
38 * emultempl/alphaelf.em (alpha_after_parse): Call after_parse_default.
39 * emultempl/cr16elf.em (cr16elf_after_parse): Likewise.
40 * emultempl/crxelf.em (crxelf_after_parse): Likewise.
41 * emultempl/hppaelf.em (hppaelf_after_parse): Likewise.
42 * emultempl/ia64elf.em (gld${EMULATION_NAME}_after_parse): Likewise.
43 * emultempl/pe.em (gld_${EMULATION_NAME}_after_parse): Call
44 after_parse_default and delete now duplicate code.
45 * emultempl/pep.em (gld_${EMULATION_NAME}_after_parse): Likewise.
46 * scripttempl/elf32cr16.sc: No need to make entry extern.
47 * scripttempl/elf32cr16c.sc: Likewise.
48 * scripttempl/elf32crx.sc: Likewise.
49 * scripttempl/elf32xc16xs.sc: Only provide ENTRY on final link.
50
51 2009-09-11 Nick Clifton <nickc@redhat.com>
52
53 * po/ld.pot: Updated by the Translation project.
54 * po/fi.po: Updated Finnish translation.
55
56 2009-09-11 Martin Thuresson <martint@google.com>
57
58 Updated sources to compile cleanly with -Wc++-compat:
59 * ld.h (enum endian_enum,enum symbolic_enum,enum
60 dynamic_list_enum): Move to top level.
61 * ldcref.c: Add casts.
62 * ldctor.c: Add casts.
63 * ldexp.c
64 * ldexp.h (enum node_tree_enum,enum phase_enum): Move to top level.
65 * ldlang.c: Add casts. (lang_insert_orphan): Use enum name instead
66 of integer.
67 * ldlang.h (enum statement_enum): Move to top level.
68 * ldmain.c: Add casts.
69 * ldwrite.c: Add casts.
70 * lexsup.c: Add casts. (enum control_enum): Move to top level.
71 * mri.c: Add casts. (mri_draw_tree): Use enum name instead of
72 integer.
73
74 2009-09-09 Alan Modra <amodra@bigpond.net.au>
75
76 * scripttempl/aix.sc: Only provide ENTRY on final link.
77 * scripttempl/alpha.sc: Likewise.
78 * scripttempl/armcoff.sc: Likewise.
79 * scripttempl/crisaout.sc: Likewise.
80 * scripttempl/delta68.sc: Likewise.
81 * scripttempl/ebmon29k.sc: Likewise.
82 * scripttempl/elf32xc16x.sc: Likewise.
83 * scripttempl/elf32xc16xl.sc: Likewise.
84 * scripttempl/elfmicroblaze.sc: Likewise.
85 * scripttempl/epocpe.sc: Likewise.
86 * scripttempl/h8300.sc: Likewise.
87 * scripttempl/h8300h.sc: Likewise.
88 * scripttempl/h8300hn.sc: Likewise.
89 * scripttempl/h8300s.sc: Likewise.
90 * scripttempl/h8300sn.sc: Likewise.
91 * scripttempl/h8300sx.sc: Likewise.
92 * scripttempl/h8300sxn.sc: Likewise.
93 * scripttempl/hppaelf.sc: Likewise.
94 * scripttempl/i386beos.sc: Likewise.
95 * scripttempl/i386coff.sc: Likewise.
96 * scripttempl/i386go32.sc: Likewise.
97 * scripttempl/m68kaux.sc: Likewise.
98 * scripttempl/m68klynx.sc: Likewise.
99 * scripttempl/m88kbcs.sc: Likewise.
100 * scripttempl/maxqcoff.sc: Likewise.
101 * scripttempl/mcorepe.sc: Likewise.
102 * scripttempl/mips.sc: Likewise.
103 * scripttempl/ppcpe.sc: Likewise.
104 * scripttempl/sa29200.sc: Likewise.
105 * scripttempl/sparccoff.sc: Likewise.
106 * scripttempl/sparclynx.sc: Likewise.
107 * scripttempl/tic4xcoff.sc: Likewise.
108 * scripttempl/tic54xcoff.sc: Likewise.
109 * scripttempl/tic80coff.sc: Likewise.
110 * scripttempl/z8000.sc: Likewise.
111
112 2009-09-07 Tristan Gingold <gingold@adacore.com>
113
114 * po/ld.pot: Regenerate.
115
116 2009-09-05 Martin Thuresson <martin@mtme.org>
117
118 * emultempl/elf32.em (gld${EMULATION_NAME}_load_symbols,
119 gld${EMULATION_NAME}_try_needed): Rename variable class to
120 link_class.
121
122 2009-09-04 Tristan Gingold <gingold@adacore.com>
123
124 * NEWS: Add marker for 2.20.
125
126 2009-09-04 Alan Modra <amodra@bigpond.net.au>
127
128 * scripttempl/elf.sc (.text): Add cold text sections.
129
130 2009-09-04 Jie Zhang <jie.zhang@analog.com>
131
132 * emulparams/elf32bfinfd.sh (OTHER_SECTIONS): Add .l2.text
133 and .l2.data.
134
135 2009-09-03 Dave Korn <dave.korn.cygwin@gmail.com>
136
137 * scripttempl/pe.sc (.text): Add "*(.text.*)" in order to catch
138 new GCC hot/cold/unlikely partitions.
139 * scripttempl/pep.sc: Likewise.
140 * scripttempl/epocpe.sc: Likewise.
141 * scripttempl/mcorepe.sc: Likewise.
142 * scripttempl/ppcpe.sc: Likewise.
143
144 2009-09-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
145
146 * Makefile.am (ldgram.o, ldlex.o, deffilep.o): Supply correct
147 source file name for generated files which may be in $(srcdir).
148 * Makefile.in: Regenerate.
149
150 2009-09-01 H.J. Lu <hongjiu.lu@intel.com>
151
152 * ldver.c (ldversion): Change to "Copyright 2009".
153
154 2009-09-01 Jie Zhang <jie.zhang@analog.com>
155
156 * scripttempl/elf.sc: Add ${USER_LABEL_PREFIX} to _start, etext,
157 _stack and __bss_start.
158 * emulparams/bfin.sh (ENTRY): Remove.
159
160 2009-08-30 Alan Modra <amodra@bigpond.net.au>
161
162 PR ld/10569
163 * ldexp.c (fold_name <MAXPAGESIZE>): Return config.maxpagesize.
164 (fold_name <COMMONPAGESIZE>): Similarly.
165 * ldlang.c (output_target): Make global.
166 * ldlang.h (output_target): Declare.
167 * ldmain.c (main): Set config.maxpagesize from bfd_emul_get_maxpagesize.
168 Similarly for config.commonpagesize.
169 * ldemul.c (set_output_arch_default): Call bfd_emul_set_maxpagesize
170 and bfd_emul_set_commonpagesize.
171 * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Don't call
172 bfd_emul_set_maxpagesize or bfd_emul_set_commonpagesize here.
173
174 2009-08-29 Martin Thuresson <martin@mtme.org>
175
176 * ldexp.c (exp_intop, exp_bigintop, exp_relop, exp_binop)
177 (exp_trinop, exp_unop, exp_nameop, exp_assop): Rename variable new
178 to new_e.
179 * ldfile.c (ldfile_add_library_path): Rename variable new to
180 new_dirs. (ldfile_add_arch): Rename variable new to new_arch.
181 * ldlang.c (new_statement, lang_final, lang_add_wild)
182 (lang_target, lang_add_fill, lang_add_data, lang_add_assignment)
183 (lang_add_insert): Rename variable new to new_stmt. (new_afile):
184 Added missing cast. (lang_memory_region_lookup): Rename variable
185 new to new_region. (init_os): Rename variable new to
186 new_userdata. (lang_add_section): Rename variable new to
187 new_section. (ldlang_add_undef): Rename variable new to
188 new_undef. (realsymbol): Rename variable new to new_name.
189
190 2009-08-26 Nick Clifton <nickc@redhat.com>
191
192 PR ld/10555
193 * emultempl/elf32.em (_after_open): Do not create a
194 .note.gnu-build-id section if there are no input files.
195
196 2009-08-24 Nick Clifton <nickc@redhat.com>
197
198 * scripttempl/elfxtensa.sc (DISCARDED): Discard sections with
199 .gnu.lto_ prefix.
200 * scripttempl/armbpabi.sc: Likewise.
201 * scripttempl/elf32sh-symbian.sc: Likewise.
202 * scripttempl/elf64hppa.sc: Likewise.
203 * scripttempl/mep.sc: Likewise.
204
205 2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
206
207 * Makefile.am (ldmain.o, ldfile.o): Fix typos in non-fastdep
208 rules.
209 (eelf32_spu.o): Add dependency tracking.
210 * Makefile.in: Regenerate.
211
212 * Makefile.am (am__skiplex, am__skipyacc): New.
213 * Makefile.in: Regenerate.
214
215 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
216
217 * Makefile.am (bin_PROGRAMS): Renamed from ...
218 (noinst_PROGRAMS): ... this.
219 (transform): Override, including the renaming of ld-new to ld.
220 (install-exec-local): Installation of ld in $(bindir) not needed
221 here any more.
222 (AM_CPPFLAGS): Renamed from ...
223 (INCLUDES): ... this.
224 (MAINTAINERCLEANFILES): Add ld.1.
225 * Makefile.in: Regenerate.
226
227 * Makefile.am (AUTOMAKE_OPTIONS): Remove cygnus. Add
228 no-texinfo.tex, no-dist, foreign.
229 (TEXINFO_TEX): New variable.
230 (install-data-local): Removed, not needed any more.
231 (all): Dependencies upon info and ld.1 not needed any more.
232 (MKDEP, DEP, DEP1, dep.sed, dep, dep-in, dep-am): Removed.
233 (mkdep generated section): Removed.
234 (ldgram.o, ldlex.o, deffilep.o, ldmain.o, ldfile.o): Rewrite to
235 use automake dependency tracking mechanism.
236 (EXTRA_ld_new_SOURCES): Add pep-dll.c, pe-dll.c, and
237 $(ALL_EMULATIONS:.o=.c) $(ALL_64_EMULATIONS:.o=.c) so their
238 dependencies are tracked too.
239 (BUILT_SOURCES): New, list $(GENERATED_HFILES) to ensure they
240 are built early.
241 * configure.in: Use AM_MAINTAINER_MODE.
242 * aclocal.m4, configure, Makefile.in: Regenerate.
243
244 * Makefile.am (pdf__strip_dir, install-pdf, install-pdf-am)
245 (install-pdf-recursive, html__strip_dir, install-html)
246 (install-html-am, install-html-recursive): Remove.
247 * Makefile.in: Regenerate.
248
249 * Makefile.in: Regenerate.
250 * aclocal.m4: Likewise.
251 * config.in: Likewise.
252 * configure: Likewise.
253
254 2009-08-21 Richard Guenther <rguenther@suse.de>
255
256 * scripttempl/elf.sc: Discard sections with .gnu.lto_ prefix.
257
258 2009-08-12 Tristan Gingold <gingold@adacore.com>
259
260 * ld.h (fat_user_section_struct): Add map_symbol_def_count field.
261 * ldlang.c (hash_entry_addr_cmp): New function.
262 (print_all_symbols): Sort the symbols by address before printing them.
263
264 2009-08-10 Alan Modra <amodra@bigpond.net.au>
265
266 PR 10474
267 * ldemul.c (after_allocation_default): Run lang_relax_sections.
268 * ldlang.h (lang_relax_sections): Declare.
269 * ldlang.c (relax_sections): Delete.
270 (lang_relax_sections): New function.
271 (lang_process): Don't relax directly from here.
272 * emultempl/alphaelf.em (alpha_finish): Call finish_default.
273 * emultempl/armelf.em (arm_elf_after_allocation): Delete. Move body..
274 (gld${EMULATION_NAME}_finish): ..to here. Move existing code..
275 (gld${EMULATION_NAME}_after_allocation): ..to here. New function.
276 (LDEMUL_AFTER_ALLOCATION): Update.
277 * emultempl/avrelf.em (avr_elf_finish, LDEMUL_FINISH): Delete.
278 (avr_elf_after_allocation): New function.
279 (LDEMUL_AFTER_ALLOCATION): Define.
280 * emultempl/elf-generic.em (gld${EMULATION_NAME}_map_segments): Call
281 lang_relax_sections.
282 * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Delete. Move..
283 (gld${EMULATION_NAME}_after_allocation): ..code to here. New function.
284 (LDEMUL_AFTER_ALLOCATION, LDEMUL_FINISH): Update.
285 * emultempl/genelf.em (gld${EMULATION_NAME}_finish): Delete. Move..
286 (gld${EMULATION_NAME}_after_allocation): ..code to here. New function.
287 (LDEMUL_FINISH): Delete.
288 (LDEMUL_AFTER_ALLOCATION): Define.
289 * emultempl/hppaelf.em (gld${EMULATION_NAME}_finish): Delete. Move..
290 (gld${EMULATION_NAME}_after_allocation): ..to here. New function.
291 (LDEMUL_FINISH): Delete.
292 (LDEMUL_AFTER_ALLOCATION): Define.
293 * emultempl/m68hc1xelf.em (m68hc11elf_finish): Delete. Move..
294 (m68hc11elf_after_allocation): ..to here. New function.
295 (LDEMUL_FINISH): Delete.
296 (LDEMUL_AFTER_ALLOCATION): Define.
297 * emultempl/m68kelf.em (m68k_elf_after_allocation): Call
298 gld${EMULATION_NAME}_after_allocation.
299 * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Call
300 gld${EMULATION_NAME}_after_allocation.
301 * emultempl/mmo.em (mmo_finish): Delete. Move body..
302 (gld${EMULATION_NAME}_after_allocation): ..to here. New function.
303 (LDEMUL_FINISH): Define.
304 * emultempl/ppc64elf.em (ppc_layout_sections_again): Set elf_gp.
305 (gld${EMULATION_NAME}_finish): Move code sizing sections..
306 (gld${EMULATION_NAME}_after_allocation): ..to here.
307 * emultempl/sh64elf.em (sh64_elf_${EMULATION_NAME}_after_allocation):
308 Call gld${EMULATION_NAME}_after_allocation.
309 * emultempl/spuelf.em (gld${EMULATION_NAME}_finish): Delete
310 bfd_elf_discard_info and map_segments call.
311
312 2009-08-06 Michael Eager <eager@eagercon.com>
313
314 * Makefile.am: Add eelf32mb_linux.o, eelf32microblaze.o to
315 ALL_EMULATIONS, targets.
316 * Makefile.in: Regenerate.
317 * configure.tgt: Add microblaze*-linux*, microblaze* targets.
318 * emulparams/elf32mb_linux.sh: New.
319 * emulparams/elf32microblaze.sh. New.
320 * scripttempl/elfmicroblaze.sc: New.
321
322 2009-08-05 Trevor Smigiel <Trevor_Smigiel@playstation.sony.com>
323
324 * emulparams/elf32_spu.sh (OTHER_READONLY_SECTIONS): Add .fixup
325 section and __fixup_start symbol.
326 * emultempl/spuelf.em (params): Initialize emit_fixups member.
327 (spu_before_allocation): Call spu_elf_size_sections.
328 (OPTION_SPU_EMIT_FIXUPS): Define.
329 (PARSE_AND_LIST_LONGOPTS): Add --emit-fixups.
330 (PARSE_AND_LIST_ARGS_CASES): Handle --emit-fixups.
331 * ld.texinfo (--emit-fixups): Document.
332
333 2009-08-04 Alan Modra <amodra@bigpond.net.au>
334
335 PR 10474
336 * emultempl/ppc32elf.em (ppc_before_allocation): Test rawsize,
337 not size, after lang_reset_memory_regions.
338
339 2009-07-30 Alan Modra <amodra@bigpond.net.au>
340
341 * emulparams/elf32ppc.sh (PLT): Don't include ".iplt".
342 * emulparams/elf_i386.sh (IREL_IN_PLT): Define.
343 * emulparams/elf_x86_64.sh (IREL_IN_PLT): Define.
344 * scripttempl/elf.sc: Create separate .iplt and .rela.iplt sections
345 when !IREL_IN_PLT.
346
347 2009-07-29 Hans-Peter Nilsson <hp@bitrange.com>
348
349 * scripttempl/mmo.sc: For relocateable links, set $OUTPUT_FORMAT to
350 the new $RELOCATEABLE_OUTPUT_FORMAT, if set.
351 (OUTPUT_FORMAT): Use the variable $OUTPUT_FORMAT.
352 (ENTRY): Don't emit for relocateable links.
353 (/DISCARD/): Don't discard .gnu.warning.* for relocateable links.
354 * emulparams/mmo.sh (RELOCATEABLE_OUTPUT_FORMAT): Set, to
355 elf64-mmix.
356 * emulparams/elf64mmix.sh (OTHER_TEXT_SECTIONS): Empty, don't
357 provide "Main" or set "_start.", for relocateable links.
358
359 2009-07-27 Nick Clifton <nickc@redhat.com>
360
361 * (po/fi.po): Updated Finnish translation.
362
363 2009-07-25 H.J. Lu <hongjiu.lu@intel.com>
364
365 * configure.tgt (targ64_extra_emuls): Add elf_l1om if elf_x86_64
366 is supported. Add elf_l1om_fbsd if elf_x86_64_fbsd is supported.
367 (targ_extra_emuls): Likewise.
368
369 * Makefile.am (ALL_64_EMULATIONS): Add eelf_l1om.o and
370 eelf_l1om_fbsd.o
371 (eelf_l1om.c): New.
372 (eelf_l1om_fbsd.c): Likewise.
373 * Makefile.in: Regenerated.
374
375 * emulparams/elf_l1om.sh: New.
376 * emulparams/elf_l1om_fbsd.sh: Likewise.
377
378 2009-07-23 Ulrich Drepper <drepper@redhat.com>
379
380 * NEWS: Mention the linker's support for symbols with a binding of
381 STB_GNU_UNIQUE.
382
383 2009-07-22 H.J. Lu <hongjiu.lu@intel.com>
384
385 PR ld/10429
386 * ldlang.c (insert_os_after): Tie assignments to non-alloc
387 output sections if there is no-input section.
388
389 2009-07-11 Alan Modra <amodra@bigpond.net.au>
390
391 * ldlang.c (insert_os_after): Don't tie assignments to non-alloc
392 output sections.
393
394 2009-07-10 Alan Modra <amodra@bigpond.net.au>
395
396 * emultempl/ppc32elf.em (ppc_before_allocation): Turn on
397 linker relaxation if it might be necessary.
398
399 2009-07-10 Alan Modra <amodra@bigpond.net.au>
400
401 * emulparams/elf32ppc.sh (GOTPLT, PLT): Handle .iplt.
402
403 2009-07-06 Matthias Klose <doko@ubuntu.com>
404
405 * ld.texinfo: Fix typo.
406
407 2009-07-03 Tristan Gingold <gingold@adacore.com>
408
409 * scripttempl/pep.sc: Put .eh_frame in its own section.
410 * scripttempl/pe.sc: Ditto.
411
412 2009-06-26 Kai Tietz <kai.tietz@onevision.com>
413
414 * scripttempl/pe.sc (.debug_pubtypes): Added section rule.
415 * scripttempl/pep.sc: Likewise.
416
417 2009-06-25 Tristan Gingold <gingold@adacore.com>
418
419 * ldlang.c (print_input_section): Add is_discarded parameter. Adjust
420 prototype.
421 (lang_map): Print the size of discarded sections.
422 (print_statement): Adjust call to print_input_section.
423
424 2009-06-18 Dave Korn <dave.korn.cygwin@gmail.com>
425
426 Merge cegcc and mingw32ce target name changes from CeGCC project:
427
428 2008-09-24 Pedro Alves <pedroalves@users.sourceforge.net>
429
430 * configure.tgt (arm*-*-cegcc*): Set LIB_PATH to
431 ${tooldir}/lib/w32api.
432
433 2007-12-25 Pedro Alves <pedro_alves@portugalmail.pt>
434
435 * configure.tgt: Add arm*-*-cegcc* target.
436
437 2007-12-17 Pedro Alves <pedro_alves@portugalmail.pt>
438
439 * configure.tgt: Add arm-*-mingw32ce* target.
440
441 2009-06-10 Philip Blundell <philb@gnu.org>
442
443 * emultempl/armelf.em (gld${EMULATION_NAME}_finish): Avoid crash
444 if section has no ELF data.
445
446 2009-06-06 H.J. Lu <hongjiu.lu@intel.com>
447
448 * scripttempl/elf.sc: Add .rel.ifunc and .rela.ifunc.
449
450 2009-06-05 H.J. Lu <hongjiu.lu@intel.com>
451
452 * scripttempl/elf.sc: Remove .rel.ifunc.dyn and .rela.ifunc.dyn.
453
454 2009-06-04 Alan Modra <amodra@bigpond.net.au>
455
456 * dep-in.sed: Don't use \n in replacement part of s command.
457 * Makefile.am (DEP1): LC_ALL for uniq.
458 * Makefile.in: Regenerate.
459
460 2009-06-01 H.J. Lu <hongjiu.lu@intel.com>
461
462 * scripttempl/elf.sc (PLT): Add "*(.iplt)".
463 (GOT): Add "*(.igot.plt)a" and "*(.igot)".
464 (GOTPLT): Add "*(.igot)".
465 (__rel_iplt_start): New.
466 (__rel_iplt_end): Likewise.
467 (__rela_iplt_start): Likewise.
468 (__rela_iplt_end): Likewise.
469
470 2009-05-27 Dave Korn <dave.korn.cygwin@gmail.com>
471
472 * deffilep.y (%union): Add new string-type semantic value 'digits'.
473 (%token): Remove NUMBER as token, add DIGITS.
474 (%type): Add NUMBER as type. Add new id types anylang_id, opt_id.
475 (ALIGNCOMM): Parse an anylang_id instead of a plain ID.
476 (anylang_id): New production.
477 (opt_digits): Likewise.
478 (opt_id): Likewise.
479 (NUMBER): Likewise.
480 (def_lex): Return strings of digits in raw string form as DIGITS
481 token, instead of converting to numeric integer type.
482
483 2009-05-26 Nathan Sidwell <nathan@codesourcery.com>
484
485 * ldmain.c (main): Don't reject --relax -r.
486 * ld.texinfo (PowerPC ELF32): Document behaviour of relaxing
487 partial links.
488
489 2009-05-26 Nick Clifton <nickc@redhat.com>
490
491 * po/id.po: Updated Indonesian translation.
492 * po/ld.pot: Updated template file.
493
494 2009-05-26 Alan Modra <amodra@bigpond.net.au>
495
496 * dep-in.sed: Output one filename per line with all lines having
497 continuation backslash. Prefix first line with "A", following
498 lines with "B".
499 * Makefile.am (DEP): Don't use dep.sed here.
500 (DEP1): Run $MKDEP on single files, use dep.sed here on dependencies,
501 sort and uniq.
502 * Makefile.in: Regenerate.
503
504 2009-05-26 Alan Modra <amodra@bigpond.net.au>
505
506 * ldlang.c (lang_check_section_addresses): Ignore non-alloc sections.
507
508 2009-05-22 Julian Brown <julian@codesourcery.com>
509
510 * emultempl/armelf.em (fix_cortex_a8): New.
511 (arm_elf_before_allocation): Call bfd_elf32_arm_set_cortex_a8_fix.
512 (arm_elf_create_output_section_statements): Add fix_cortex_a8 to
513 bfd_elf32_arm_set_target_relocs.
514 (OPTION_FIX_CORTEX_A8, OPTION_NO_FIX_CORTEX_A8): New.
515 (PARSE_AND_LIST_LONGOPTS): Add [no-]fix-cortex-a8 options.
516 (PARSE_AND_LIST_OPTIONS): Add [no-]fix-cortex-a8 options.
517 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_[NO_]FIX_CORTEX_A8.
518 * ld.texinfo (--[no-]fix-cortex-a8): Briefly document new options.
519
520 2009-05-22 Nathan Sidwell <nathan@codesourcery.com>
521
522 * ldlang.c (lang_check_section_addresses): Ignore non-loadable
523 sections when checking for overlap. Clarify error message
524 concerns load address.
525
526 2009-05-22 Alan Modra <amodra@bigpond.net.au>
527
528 * Makefile.am: Run "make dep-am".
529 * Makefile.in: Regenerate.
530
531 2009-05-19 Dave Korn <dave.korn.cygwin@gmail.com>
532
533 * NEWS: Mention new feature.
534 * deffile.h (def_file_aligncomm): Add new struct definition.
535 (def_file): Add new def_file_aligncomm member.
536 * deffilep.y (%token): Add new ALIGNCOMM token.
537 (command): Add production rule for ALIGNCOMM.
538 (def_file_free): Free any chained def_file_aligncomm structs.
539 (diropts[]): Add entry for '-aligncomm' .drectve command.
540 (def_aligncomm): New grammar function.
541 * ld.texinfo: Document new feature.
542 * pe-dll.c (process_def_file): Rename from this ...
543 (process_def_file_and_drectve): ... to this, updating all callers,
544 and process any aligncomms chained to the def file after scanning
545 all .drectve sections.
546 (generate_edata): Updated to match.
547 (pe_dll_build_sections): Likewise.
548
549 2009-05-17 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
550
551 * pe-dll.c (process_def_file): Do not create empty export table.
552
553 2009-05-15 Alan Modra <amodra@bigpond.net.au>
554
555 * ldlang.c (lang_output_section_statement_lookup): Add function
556 comment. Make "name" non-const. Ensure duplicate entries use
557 the same string, allowing simple comparison in hash bucket loop.
558 Tweak constraint check.
559 (next_matching_output_section_statement): New function.
560 * ldlang.h (lang_output_section_statement_lookup): Update.
561 (next_matching_output_section_statement): Declare.
562 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
563 combine orphan sections when input sections flags differ in
564 alloc or load.
565 * emultempl/pe.em: Formatting throughout.
566 (gld${EMULATION_NAME}_place_orphan): As for elf32.em.
567 * emultempl/pep.em: Formatting throughout.
568 (gld${EMULATION_NAME}_place_orphan): As for elf32.em.
569
570 2009-05-14 Ulrich Weigand <uweigand@de.ibm.com>
571
572 * emultempl/spuelf.em (PARSE_AND_LIST_ARGS_CASES): Always use
573 compact stubs with software i-cache.
574
575 2009-05-14 Alan Modra <amodra@bigpond.net.au>
576
577 * emultempl/spuelf.em (spu_before_allocation): Call
578 spu_elf_place_overlay_data.
579
580 2009-05-14 Alan Modra <amodra@bigpond.net.au>
581
582 * ldlang.c (lang_insert_orphan): Add __start_<section> symbol
583 assignment inside output section statement. Ensure only one
584 set of symbols per output section.
585 * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Add non-
586 dollar sections before dollar sections. Correct add_child
587 list insertion.
588 * emultempl/pep.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
589
590 2009-05-05 Paul Brook <paul@codesourcery.com>
591
592 * emultempl/armelf.em (compare_output_sec_vma): New function.
593 (gld${EMULATION_NAME}_finish): Add exidx munging code.
594
595 2009-05-05 Anatoly Sokolov <aesok@post.ru>
596
597 * scripttempl/avr.sc (MEMORY): Use DATA_ORIGIN.
598 * emulparams/avr1.sh (DATA_ORIGIN): Add.
599 * emulparams/avr2.sh (DATA_ORIGIN): Add.
600 * emulparams/avr25.sh (DATA_ORIGIN): Add.
601 * emulparams/avr3.sh (DATA_ORIGIN): Add.
602 * emulparams/avr31.sh (DATA_ORIGIN): Add.
603 * emulparams/avr35.sh (DATA_ORIGIN): Add.
604 * emulparams/avr4.sh (DATA_ORIGIN): Add.
605 * emulparams/avr5.sh (DATA_ORIGIN): Add.
606 * emulparams/avr51.sh (DATA_ORIGIN): Add.
607 (DATA_LENGTH): Update.
608 * emulparams/avr6.sh (DATA_ORIGIN): Add.
609 (DATA_LENGTH): Update.
610
611 2009-05-04 Dave Korn <dave.korn.cygwin@gmail.com>
612
613 * NEWS: Mention new feature.
614 * ld.texinfo (--version-script): Document extent of PE support.
615 (WIN32): Mention --version-script. Extend auto-export description.
616 * pe-dll.c (process_def_file): Use version script info to filter
617 symbols from auto-export.
618 * testsuite/ld-pe/vers-script-1.d: New file.
619 * testsuite/ld-pe/vers-script-2.d: New file.
620 * testsuite/ld-pe/vers-script-3.d: New file.
621 * testsuite/ld-pe/vers-script-4.d: New file.
622 * testsuite/ld-pe/vers-script-1.ver: New file.
623 * testsuite/ld-pe/vers-script-2.ver: New file.
624 * testsuite/ld-pe/vers-script-3.ver: New file.
625 * testsuite/ld-pe/vers-script-4.ver: New file.
626 * testsuite/ld-pe/vers-script-dll.c: New file.
627 * testsuite/ld-pe/vers-script.exp: New test script.
628
629 2009-05-01 Nathan Sidwell <nathan@codesourcery.com>
630
631 * emulparams/vxworks.sh (TEXT_START_ADDR): Override.
632
633 2009-04-30 Nick Clifton <nickc@redhat.com>
634
635 * NEWS: Mention support for IFUNC symbols.
636
637 2009-04-29 Anthony Green <green@moxielogic.com>
638
639 * emulparams/elf32moxie.sh (STACK_ADDR): Move default stack
640 position out to accommodate larger programs.
641
642 2009-04-29 Chris Demetriou <cgd@google.com>
643
644 * lexsup.c (option_values): Add OPTION_NO_EXPORT_DYNAMIC.
645 (ld_options): Likewise.
646 (parse_args): Likewise.
647 * ld.texinfo: Document --no-export-dynamic.
648 * NEWS: Mention --no-export-dynamic.
649
650 2009-04-29 Alan Modra <amodra@bigpond.net.au>
651
652 * deffilep.y (STACKSIZE_K): Rename from STACKSIZE.
653
654 2009-04-25 Alan Modra <amodra@bigpond.net.au>
655
656 PR 10061
657 * genscripts.sh: Don't pass $EMULATION_NAME as $CUSTOMIZER_SCRIPT
658 param.
659
660 2009-04-21 Daniel Jacobowitz <dan@codesourcery.com>
661
662 * emultempl/armelf.em (bfd_for_interwork, arm_elf_after_open)
663 (arm_elf_set_bfd_for_interworking): Delete.
664 (arm_elf_before_allocation): Do not set the interworking BFD.
665 Move allocation inside not-dynamic block.
666 (arm_elf_create_output_section_statements): Create glue sections
667 and set the interworking BFD here.
668 (LDEMUL_AFTER_OPEN): Delete.
669
670 2009-04-16 Richard Sandiford <r.sandiford@uk.ibm.com>
671
672 * ldlang.c (lang_one_common): Use bfd_define_common_symbol.
673
674 2009-04-15 Anthony Green <green@moxielogic.com>
675
676 * configure.tgt: Add moxie support.
677 * Makefile.am: Add moxie files.
678 * Makefile.in: Rebuilt.
679 * emulparams/elf32moxie.sh: New file.
680 * scripttempl/moxie.sc: New file.
681
682 2009-04-15 Kazu Hirata <kazu@codesourcery.com>
683
684 * ldlang.c: Do not include limits.h.
685
686 2009-04-14 Alan Modra <amodra@bigpond.net.au>
687
688 PR ld/10047
689 * ldfile.c (find_scripts_dir): Use make_relative_prefix to find
690 ldscripts in build tree. Don't repeat search for ../lib/ldscripts.
691
692 2009-04-13 H.J. Lu <hongjiu.lu@intel.com>
693
694 * ldfile.c (ldfile_find_command_file): Revert the last change.
695
696 2009-04-11 H.J. Lu <hongjiu.lu@intel.com>
697
698 PR ld/10047
699 * ldfile.c (ldfile_find_command_file): First try raw name.
700
701 2009-04-09 Nick Clifton <nickc@redhat.com>
702
703 PR 9824
704 * ld.texinfo (Output Section Constraint): New node. Documents the
705 ONLY_IF_RO and ONLY_IF_RW constraints.
706 (Symbolic Constants): New node. Documents the CONSTANT operator.
707
708 2009-04-09 Thilo Fischer <thilo.fischer@uni-muenster.de>
709
710 * emultempl/spuelf.em (embedded_spu_file): Use pex_one in place
711 of fork/execvp.
712
713 2009-04-08 H.J. Lu <hongjiu.lu@intel.com>
714
715 * lexsup.c (option_values): Add OPTION_WARN_ALTERNATE_EM.
716 (ld_options): Likewise.
717 (parse_args): Likewise.
718
719 * ld.texinfo: Document --warn-alternate-em.
720
721 * NEWS: Mention --warn-alternate-em.
722
723 2009-04-07 DJ Delorie <dj@redhat.com>
724
725 * emulparams/elf32mep.sh: Change default endian to little.
726
727 2009-04-07 Nick Clifton <nickc@redhat.com>
728
729 * ld.texinfo (Output Section Address): Note that specifying an
730 address for an output section will only change the location
731 counter if the output section is used.
732
733 2009-04-06 Kazu Hirata <kazu@codesourcery.com>
734
735 * ldfile.c (ldfile_find_command_file): Initialize result.
736
737 2009-04-06 Kazu Hirata <kazu@codesourcery.com>
738
739 * ld.texinfo (-L): Mention that -L options do not affect how ld
740 searches for a linker script unless -T option is specified.
741 * ldfile.c (ldfile_find_command_file): Append the path obtained
742 from the program name to the search path instead of
743 prepending. Add a new parameter "default_only". Restrict the
744 search to the default script location if the new parameter is
745 true.
746 (ldfile_open_command_file_1): New.
747 (ldfile_open_command_file): Call ldfile_open_command_file_1.
748 (ldfile_open_default_command_file): New.
749
750 2009-04-03 Nathan Sidwell <nathan@codesourcery.com>
751
752 * ldlang.c (lang_leave_output_section_statement): Set lma_region
753 if it is not overridden and section is for the same vma region as
754 the previous section.
755
756 2009-04-02 Dave Korn <dave.korn.cygwin@gmail.com>
757
758 PR ld/6744
759 * ld.texinfo (--export-dynamic): Mention --export-all-symbols.
760 * emultempl/pe.em (gld_${EMULATION_NAME}_after_parse): Issue
761 warning if --export-dynamic was passed on command-line.
762 * emultempl/pep.em (gld_${EMULATION_NAME}_after_parse): Likewise.
763
764 2009-04-01 Richard Sandiford <r.sandiford@uk.ibm.com>
765
766 * emultempl/aix.em (gld${EMULATION_NAME}_open_dynamic_archive): New
767 function.
768 (ld_${EMULATION_NAME}_emulation): Use it.
769
770 2009-03-20 H.J. Lu <hongjiu.lu@intel.com>
771
772 PR ld/9970
773 * ldlang.c (lang_end): Warn missing entry symbol for -pie.
774
775 2009-03-19 Alan Modra <amodra@bigpond.net.au>
776
777 * emultempl/spuelf.em (spu_before_allocation): Report errors from
778 spu_elf_find_overlays.
779
780 2009-03-18 H.J. Lu <hongjiu.lu@intel.com>
781
782 PR ld/6766
783 * lexsup.c (parse_args): Call ldlang_add_undef for -e.
784
785 2009-03-18 Alan Modra <amodra@bigpond.net.au>
786
787 * ld.h: Remove alloca handling.
788
789 2009-03-17 Alan Modra <amodra@bigpond.net.au>
790
791 * emultempl/spu_icache.S: Add new entry to dummy handler.
792 * emultempl/spu_icache.o_c: Regenerate.
793 * emultempl/spuelf.em (params): Init new field.
794 (no_overlays): New static var.
795 (spu_before_allocation): Use it.
796 (OPTION_SPU_COMPACT_STUBS): Define.
797 (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add compact-stubs.
798 (PARSE_AND_LIST_ARGS_CASES): Handle compact-stubs. Adjust no-overlays
799 handling.
800
801 2009-03-17 Alan Modra <amodra@bigpond.net.au>
802
803 * configure.host (HOSTING_LIBS): Two dollars on shell variable
804 expansion to suit make.
805
806 2009-03-17 Alan Modra <amodra@bigpond.net.au>
807
808 * configure.in: Invoke ACX_PROG_CMP_IGNORE_INITIAL.
809 * Makefile.am (check-DEJAGNU): Set DO_COMPARE.
810 * aclocal.m4: Regenerate.
811 * configure: Regenerate.
812 * Makefile.in: Regenerate.
813
814 2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
815
816 * emultempl/aix.em (auto_export_flags): New variable.
817 (explicit_auto_export_flags): Likewise.
818 (OPTION_EXPALL, OPTION_EXPFULL): New enum values.
819 (OPTION_NOEXPALL, OPTION_NOEXPFULL): Likewise.
820 (gld${EMULATION_NAME}_add_options): Add -bexpall, -bexpfull,
821 -bnoexpall and -bnoexpfull.
822 (gld${EMULATION_NAME}_handle_option): Handle them.
823 (gld${EMULATION_NAME}_before_allocation): Update the call to
824 bfd_size_dynamic_sections.
825
826 2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
827
828 * emultempl/aix.em (gld${EMULATION_NAME}_handle_option): Make
829 -berok and -bernotok control link_info.unresolved_syms_in_objects
830 and link_info.unresolved_syms_in_shared_libs instead of
831 force_make_executable.
832
833 2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
834
835 * emultempl/aix.em (gld${EMULATION_NAME}_before_parse): Set
836 config.dynamic_link to TRUE.
837
838 2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
839
840 * emultempl/aix.em (gld${EMULATION_NAME}_before_allocation): Mark
841 .text, .data and .bss output sections as SEC_KEEP.
842
843 2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
844
845 * configure.tgt: Extend AIX 5 behavior to AIX 6 and above.
846
847 2009-03-14 Dave Korn <dave.korn.cygwin@gmail.com>
848 Danny Smith <dannysmith@users.sourceforge.net>
849
850 * emultmpl/pe.em (pe_dll_characteristics): New variable.
851 (OPTION_DYNAMIC_BASE, OPTION_FORCE_INTEGRITY, OPTION_NX_COMPAT,
852 OPTION_NO_ISOLATION. OPTION_NO_SEH, OPTION_NO_BIND,
853 OPTION_WDM_DRIVER, OPTION_TERMINAL_SERVER_AWARE):
854 New macros for options to set DllCharacteristics flag bits.
855 (gld${EMULATION_NAME}_add_options): Add dynamicbase, forceinteg,
856 nxcompat, no-isolation, no-seh, no-bind, wdmdriver, tsaware options.
857 (init): Add DllCharacteristics field.
858 (gld_${EMULATION_NAME}_list_options): List new options.
859 (gld${EMULATION_NAME}_handle_option): Handle new options.
860 * emultmpl/pep.em (pe_dll_characteristics): New variable.
861 (OPTION_DYNAMIC_BASE, OPTION_FORCE_INTEGRITY, OPTION_NX_COMPAT,
862 OPTION_NO_ISOLATION. OPTION_NO_SEH, OPTION_NO_BIND,
863 OPTION_WDM_DRIVER, OPTION_TERMINAL_SERVER_AWARE):
864 New macros for options to set DllCharacteristics flags.
865 (gld${EMULATION_NAME}_add_options): Add dynamicbase, forceinteg,
866 nxcompat,no-isolation, no-seh, no-bind, wdmdriver, tsaware options.
867 (init): Add DllCharacteristics field.
868 (gld_${EMULATION_NAME}_list_options): List new options.
869 (gld${EMULATION_NAME}_handle_option): Handle new options.
870 * ldtexinfo : Document dynamicbase, forceinteg, nxcompat,
871 no-isolation, no-seh, no-bind, wdmdriver, tsaware options.
872
873 2009-03-06 Nick Clifton <nickc@redhat.com>
874
875 * po/es.po: Updated Spanish translation.
876
877 2009-03-03 Dave Korn <dave.korn.cygwin@gmail.com>
878
879 * emultempl/pe.em (debug_section_p): New bfd_map_over_sections hook.
880 (gld_${EMULATION_NAME}_after_open): Use it to iterate all sections
881 of all input BFDs, looking for debug info. Enable long section names
882 if any found.
883 * emultempl/pe.em (debug_section_p): Likewise.
884 (gld_${EMULATION_NAME}_after_open): Likewise.
885 * NEWS: Retrospectively adjust news announcement.
886 * ld.texinfo: Update documentation to mention new behaviour.
887
888 2009-03-03 Alan Modra <amodra@bigpond.net.au>
889
890 * Makefile.am: Run "make dep-am".
891 * Makefile.in: Regenerate.
892
893 2009-03-02 Sebastian Huber <sebastian.huber@embedded-brains.de>
894
895 * ldgram.y: Add support for REGION_ALIAS operator.
896 * ldlang.c: Likewise.
897 * ldlang.h: Likewise.
898 * ldlex.l: Likewise.
899 * NEWS: Mention the new feature.
900 * ld.texinfo: Document the new feature.
901
902 2009-03-02 Qinwei <qinwei@sunnorth.com.cn>
903
904 * Makefile.am: Replace score elf emulation with score3 and score7
905 emulations.
906 * Makefile.in: Regenerate,
907 * NEWS: Mention support for Score7 architecture.
908 * configure.tgt: Add score7 emulation to score-elf target.
909 * emulparams/scoreelf.sh: Add score7 support.
910 * emultempl/scoreelf.em: Likewise.
911
912 2009-03-01 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
913
914 * configure.tgt: Only use elf64hppa target emulation for hpux.
915 * emulparams/elf64hppa.sh: Don't include hppa64linux.sh.
916 (SCRIPT_NAME): Use new script elf64hppa.
917 (SCRIPT_NAME, ELFSIZE, NO_REL_RELOCS, ARCH, MACHINE, ENTRY,
918 TEMPLATE_NAME, GENERATE_SHLIB_SCRIPT, OTHER_READONLY_SECTIONS,
919 OTHER_READWRITE_SECTIONS, OTHER_BSS_SECTIONS, OTHER_GOT_RELOC_SECTIONS,
920 DATA_START_SYMBOLS, OTHER_SYMBOLS, DATA_PLT, PLT_BEFORE_GOT,
921 TEXT_DYNAMIC): Define.
922 * emulparams/hppa64linux.sh: Adjust comments.
923 * scripttempl/elf64hppa.sc: New file.
924
925 2009-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
926
927 * configure: Regenerate.
928
929 2009-02-27 Dave Korn <dave.korn.cygwin@gmail.com>
930
931 * emultempl/pe.em (gld_${EMULATION_NAME}_before_parse): Set
932 default state of auto-import flag based on $target.
933
934 2009-02-24 Joseph Myers <joseph@codesourcery.com>
935
936 * ld.texinfo (ARM): Document changed meaning of --stub-group-size.
937 * emultempl/armelf.em (hook_in_stub): Insert after the input section.
938 (elf32_arm_add_stub_section): Update comment.
939 (PARSE_AND_LIST_OPTIONS): Update help for --stub-group-size.
940
941 2009-02-24 Sandra Loosemore <sandra@codesourcery.com>
942
943 * ld.texinfo (Options): Correct typos in example. Recommend
944 using joined forms of syntax for passing options with arguments
945 from a driver.
946 (-a): Use consistent syntax for documenting option arguments.
947 Clean up indexing and markup.
948 (-A/--architecture): Likewise.
949 (-f/--auxiliary): Likewise.
950 (-F/--filter): Likewise.
951 (-fini): Likewise.
952 (-G/--gpsize): Likewise.
953 (-h/-soname):Likewise.
954 (-init): Likewise.
955 (-l/--library): Likewise.
956 (-L/--library-path): Likewise.
957 (-m): Likewise.
958 (--defsym): Likewise.
959 (-I/--dynamic-linker): Likewise.
960 (-Map): Likewise.
961 (--oformat): Likewise.
962 (--retain-symbols-file): Likewise.
963 (-rpath): Likewise.
964 (-rpath-link): Likewise.
965 (--sort-common): Likewise.
966 (--sort-section): Likewise.
967 (--split-by-file): Likewise.
968 (--split-by-reloc): Likewise.
969 (--sysroot): Likewise.
970 (--section-start): Likewise.
971 (-Tbss, -Tdata, -Ttext): Likewise.
972 (-Ttext-segment): Likewise.
973 (--version-script): Likewise.
974 (--wrap): Likewise.
975
976 2009-02-18 Dave Korn <dave.korn.cygwin@gmail.com>
977
978 * ld.texinfo: Update to mention long section name options.
979 * NEWS: Mention new behaviour and command-line options.
980 * pe-dll.c (pe_use_coff_long_section_names): New global variable.
981 (pe_output_file_set_long_section_names): New function.
982 (pe_dll_build_sections): Call it on output BFDs.
983 (pe_exe_build_sections): Likewise.
984 (pe_dll_fill_sections): Likewise.
985 (pe_exe_fill_sections): Likewise.
986 * pe-dll.h (pe_use_coff_long_section_names): Declare extern.
987 (pe_output_file_set_long_section_names): Add prototype.
988 * pep-dll.c (pe_use_coff_long_section_names): Define pep_ alias.
989 (pe_output_file_set_long_section_names): Likewise.
990 * pep-dll.h (pep_use_coff_long_section_names): Declare extern.
991 (pep_output_file_set_long_section_names): Add prototype.
992 * pe.em (OPTION_ENABLE_LONG_SECTION_NAMES): New getopt value macro.
993 (OPTION_DISABLE_LONG_SECTION_NAMES): Likewise.
994 (gld${EMULATION_NAME}_add_options): Add new options to xtra_long[].
995 (gld_${EMULATION_NAME}_list_options): Describe them.
996 (gld${EMULATION_NAME}_handle_option): Set or clear global
997 pe_use_coff_long_section_names flag when options recognised.
998 (gld_${EMULATION_NAME}_after_open): En/disable long section names
999 for main output bfd by calling pe_output_file_set_long_section_names.
1000 * pep.em (enum options): Extend enum with new getopt option values.
1001 (gld${EMULATION_NAME}_add_options): Add new options to xtra_long[].
1002 (gld_${EMULATION_NAME}_list_options): Describe them.
1003 (gld${EMULATION_NAME}_handle_option): Set or clear global
1004 pe_use_coff_long_section_names flag when options recognised.
1005 (gld_${EMULATION_NAME}_after_open): En/disable long section names
1006 for main output bfd by calling pep_output_file_set_long_section_names.
1007
1008 2009-02-16 Dave Korn <dave.korn.cygwin@gmail.com>
1009
1010 * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Don't emit
1011 inadvertent .reloc sections caused by refactoring accident.
1012
1013 2009-02-16 Alan Modra <amodra@bigpond.net.au>
1014
1015 * ldlang.c (process_insert_statements): ASSERT that output section
1016 statements are in order.
1017
1018 2009-02-16 Alan Modra <amodra@bigpond.net.au>
1019
1020 * ldlang.c (push_stat_ptr, pop_stat_ptr): New functions.
1021 (stat_save, stat_save_ptr): New variables.
1022 (lang_insert_orphan): Use push_stat_ptr and pop_stat_ptr.
1023 (load_symbols): Likewise. Delete dead "bad_load" code.
1024 (open_input_bfds): Warn on script containing output sections.
1025 (lang_enter_output_section_statement): Use push_stat_ptr.
1026 (lang_enter_group): Likewise.
1027 (lang_leave_output_section_statement): Use pop_stat_ptr.
1028 (lang_leave_group): Likewise.
1029 * ldlang.h (push_stat_ptr, pop_stat_ptr): Declare.
1030 * ldctor.c (ldctor_build_sets): Use push_stat_ptr and pop_stat_ptr.
1031 * emultempl/beos.em (gld_${EMULATION_NAME}_set_symbols): Likewise.
1032 * emultempl/pe.em (gld_${EMULATION_NAME}_set_symbols): Likewise.
1033 * emultempl/pep.em (gld_${EMULATION_NAME}_set_symbols): Likewise.
1034 * emultempl/spuelf.em (spu_place_special_section): Likewise.
1035 * emultempl/xtensaelf.em (ld_xtensa_insert_page_offsets): Likewise.
1036
1037 2009-02-09 Nathan Sidwell <nathan@codesourcery.com>
1038
1039 Missing piece of 2009-01-26 commit
1040 * ldlang.c (lang_process): Don't consider relocatable flag when
1041 checking for overlap.
1042
1043 2009-02-05 Joseph Myers <joseph@codesourcery.com>
1044
1045 * emulparams/m68kelf.sh: Add newline at end of file.
1046
1047 2009-02-04 Nick Clifton <nickc@redhat.com>
1048
1049 PR 9805
1050 * ld.texinfo (--allow-shlib-undefined): Correct description of
1051 default settings and tidy up the rest of the entry.
1052
1053 2009-02-04 Alan Modra <amodra@bigpond.net.au>
1054
1055 * emultempl/spuelf.em (spu_after_open): Don't combine .text.ia.*
1056 during relocatable link.
1057
1058 2009-02-03 Nick Clifton <nickc@redhat.com>
1059
1060 PR 9797
1061 * ld.texinfo (Constants): Document the base-encoding suffixes
1062 supported in linker scripts.
1063
1064 2009-02-03 Alan Modra <amodra@bigpond.net.au>
1065
1066 * NEWS: Mention --as-needed change.
1067
1068 2009-02-03 Carlos O'Donell <carlos@codesourcery.com>
1069
1070 * configure.in: AC_SUBST pdfdir.
1071 * Makefile.am: Add install-pdf, install-pdf-am,
1072 and install-pdf-recursive targets. Define pdf__strip_dir.
1073 * po/Make-in: Add install-pdf target.
1074 * configure: Regenerate.
1075 * Makefile.in: Regenerate.
1076
1077 2009-01-31 Alan Modra <amodra@bigpond.net.au>
1078
1079 * ld.texinfo (--as-needed): Update.
1080
1081 2009-01-29 Andrew Jenner <andrew@codesourcery.com>
1082
1083 * emultempl/armelf.em: Correct formatting of help text for
1084 --no-enum-size-warning option.
1085
1086 2009-01-26 Nathan Sidwell <nathan@codesourcery.com>
1087
1088 * lexsup.c (parse_args): Set check_section_addresses to 1 or 0.
1089 * ld.h (args_type): Make check_section_addresses a char.
1090 * ldmain.c (main): Default check_section_addresses to -1. Check it
1091 for relocatable links.
1092 * ld.texinfo (--check-sections): Update documentation.
1093
1094 2009-01-26 Kai Tietz <kai.tietz@onevision.com>
1095
1096 * pe-dll.c (tmp_seq2): New static variable.
1097 (make_singleton_name_imp): New.
1098 (make_import_fixup_entry): Use for v2 the _imp_<name> symbol and
1099 avoid duplicate import table generation for same symbol.
1100 (pe_create_runtime_relocator_reference): Make reference for
1101 64-bit 8 bytes.
1102
1103 2009-01-21 Alan Modra <amodra@bigpond.net.au>
1104
1105 * emultempl/spuelf.em (params): Init new field.
1106 (OPTION_SPU_NON_IA_TEXT): Define.
1107 (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add --non-ia-text.
1108 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_SPU_NON_IA_TEXT.
1109
1110 2009-01-16 H.J. Lu <hongjiu.lu@intel.com>
1111
1112 * lexsup.c (option_values): Add OPTION_TTEXT_SEGMENT.
1113 (ld_options): Add -Ttext-segment.
1114 (parse_args): Handle OPTION_TTEXT_SEGMENT.
1115
1116 * ld.texinfo: Document -Ttext-segment.
1117
1118 * NEWS: Mention -Ttext-segment.
1119
1120 * scripttempl/elf.sc (TEXT_START_ADDR): Use SEGMENT_START.
1121 (SHLIB_TEXT_START_ADDR): Likewise.
1122
1123 2009-01-13 Alan Modra <amodra@bigpond.net.au>
1124
1125 * emultempl/spu_icache.o_c: Regenerate.
1126
1127 2009-01-12 Alan Modra <amodra@bigpond.net.au>
1128
1129 * emultempl/spuelf.em (params): Init new fields.
1130 (num_lines_set, line_size_set, icache_mgr, icache_mgr_stream): New vars.
1131 (spu_place_special_section): Adjust placement for soft-icache. Pad
1132 soft-icache section to a fixed size. Clear addr_tree.
1133 (spu_elf_load_ovl_mgr): Support soft-icache. Map overlay manager
1134 sections a little more intelligently.
1135 (gld${EMULATION_NAME}_finish): Don't call spu_elf_build_stubs.
1136 (OPTION_SPU_NUM_LINES): Rename from OPTION_SPU_NUM_REGIONS.
1137 (OPTION_SPU_SOFT_ICACHE, OPTION_SPU_LINE_SIZE): Define.
1138 (OPTION_SPU_LRLIVE): Define.
1139 (PARSE_AND_LIST_LONGOPTS): Add new soft-icache options.
1140 (PARSE_AND_LIST_OPTIONS): Likewise.
1141 (PARSE_AND_LIST_ARGS_CASES): Handle them.
1142 * emultempl/spu_icache.S: Dummy file.
1143 * emultempl/spu_icache.o_c: Regenerate.
1144 * Makefile.am (eelf32_spu.c): Depend on spu_icache.o_c.
1145 (spu_icache.o_c): Add rule to build.
1146 (CLEANFILES): Zap temp files.
1147 (EXTRA_DIST): Add spu_icache.o_c.
1148 * Makefile.in: Regenerate.
1149
1150 2009-01-08 Kai Tietz <kai.tietz@onevision.com>
1151
1152 * pe.em (OPTION_USE_NUL_PREFIXED_IMPORT_TABLES): New.
1153 (gld..._add_options): Add new option
1154 --use-nul-prefixed-import-tables.
1155 (gld..._handle_option): Likewise.
1156 * pep.em: Same as for pe.em.
1157 * ld.texinfo: Add new option documentation for
1158 --use-nul-prefixed-import-tables.
1159 * pe-dll.c (pe_use_nul_prefixed_import_tables): New.
1160 (make_head): Make prefix leading zero prefix element for
1161 idata$4 and idata$5 dependent to new flag.
1162 (make_import_fixup_entry): Remove idata4/5 prefix.
1163 * pe-dll.h (pe_use_nul_prefixed_import_tables): New.
1164 * pep-dll.c (pe_use_nul_prefixed_import_tables): New.
1165 * pep-dll.h (pep_use_nul_prefixed_import_tables): New.
1166 * NEWS: Add new option.
1167
1168 2009-01-05 Kai Tietz <kai.tietz@onevision.com>
1169
1170 * emultempl/pe.em: Prefix dollar characters to be outputed in
1171 generated C file.
1172 * emultempl/pep.em: Likewise.
1173
1174 2009-01-03 Dave Korn <dave.korn.cygwin@gmail.com>
1175
1176 * NEWS: Mention new feature --exclude-modules-for-implib.
1177 * ld.texinfo: Document new --exclude-modules-for-implib option.
1178 * pe-dll.c (exclude_list_struct): Change type member from int to
1179 new enumeration exclude_type.
1180 (pe_dll_add_excludes): Accept exclude_type instead of int param.
1181 (auto_export): Replace magic constants by exclude_type values and
1182 handle new choice EXCLUDEFORIMPLIB.
1183 (pe_dll_generate_implib): Accept a pointer to the link_info and
1184 iterate all input BFDs looking for EXCLUDEFORIMPLIB modules; re-open
1185 fresh BFDs for any found and link into import lib archive chain.
1186 * pe-dll.h (exclude_type): Add new enumerated type to replace magic
1187 constants previously used for exclude_list_struct type member.
1188 (pe_dll_add_excludes, pe_dll_generate_implib): Update prototypes.
1189 * pep-dll.h (exclude_type, pe_dll_add_excludes,
1190 pe_dll_generate_implib): Likewise to all the above.
1191 * emultempl/pe.em (OPTION_EXCLUDE_MODULES_FOR_IMPLIB): Define new
1192 getopts long option code for new --exclude-modules-for-implib option.
1193 (gld${EMULATION_NAME}_add_options): Add new entry to xtra_long[].
1194 (gld_${EMULATION_NAME}_list_options): List usage for it.
1195 (gld${EMULATION_NAME}_handle_option): Use exclude_type enumerated
1196 values when calling pe_dll_add_excludes, and handle EXCLUDEFORIMPLIB.
1197 (gld_${EMULATION_NAME}_finish): Pass pointer to link_info when
1198 calling pe_dll_generate_implib.
1199 * emultempl/pep.em (options): Define new enumerated value for getopts
1200 long option code for new --exclude-modules-for-implib option.
1201 (gld${EMULATION_NAME}_add_options, gld_${EMULATION_NAME}_list_options,
1202 gld${EMULATION_NAME}_handle_option, gld_${EMULATION_NAME}_finish):
1203 Again, likewise to all the above.
1204
1205 2009-01-03 Dave Korn <dave.korn.cygwin@gmail.com>
1206
1207 * pe-dll.c (autofilter_liblist): Add entry for shared libgcc.
1208 (libnamencmp): New function.
1209 (auto_export): Use it in place of strncmp when filtering libraries.
1210
1211 For older changes see ChangeLog-2008
1212 \f
1213 Local Variables:
1214 mode: change-log
1215 left-margin: 8
1216 fill-column: 74
1217 version-control: never
1218 End: