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