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