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