Committed on behalf of
[binutils-gdb.git] / ld / ChangeLog
1 2009-05-17 Dave Korn <dave.korn.cygwin@gmail.com>
2
3 2008-08-07 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
4
5 * pe-dll.c (process_def_file): Do not create empty export table.
6
7 2009-05-15 Alan Modra <amodra@bigpond.net.au>
8
9 * ldlang.c (lang_output_section_statement_lookup): Add function
10 comment. Make "name" non-const. Ensure duplicate entries use
11 the same string, allowing simple comparison in hash bucket loop.
12 Tweak constraint check.
13 (next_matching_output_section_statement): New function.
14 * ldlang.h (lang_output_section_statement_lookup): Update.
15 (next_matching_output_section_statement): Declare.
16 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
17 combine orphan sections when input sections flags differ in
18 alloc or load.
19 * emultempl/pe.em: Formatting throughout.
20 (gld${EMULATION_NAME}_place_orphan): As for elf32.em.
21 * emultempl/pep.em: Formatting throughout.
22 (gld${EMULATION_NAME}_place_orphan): As for elf32.em.
23
24 2009-05-14 Ulrich Weigand <uweigand@de.ibm.com>
25
26 * emultempl/spuelf.em (PARSE_AND_LIST_ARGS_CASES): Always use
27 compact stubs with software i-cache.
28
29 2009-05-14 Alan Modra <amodra@bigpond.net.au>
30
31 * emultempl/spuelf.em (spu_before_allocation): Call
32 spu_elf_place_overlay_data.
33
34 2009-05-14 Alan Modra <amodra@bigpond.net.au>
35
36 * ldlang.c (lang_insert_orphan): Add __start_<section> symbol
37 assignment inside output section statement. Ensure only one
38 set of symbols per output section.
39 * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Add non-
40 dollar sections before dollar sections. Correct add_child
41 list insertion.
42 * emultempl/pep.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
43
44 2009-05-05 Paul Brook <paul@codesourcery.com>
45
46 * emultempl/armelf.em (compare_output_sec_vma): New function.
47 (gld${EMULATION_NAME}_finish): Add exidx munging code.
48
49 2009-05-05 Anatoly Sokolov <aesok@post.ru>
50
51 * scripttempl/avr.sc (MEMORY): Use DATA_ORIGIN.
52 * emulparams/avr1.sh (DATA_ORIGIN): Add.
53 * emulparams/avr2.sh (DATA_ORIGIN): Add.
54 * emulparams/avr25.sh (DATA_ORIGIN): Add.
55 * emulparams/avr3.sh (DATA_ORIGIN): Add.
56 * emulparams/avr31.sh (DATA_ORIGIN): Add.
57 * emulparams/avr35.sh (DATA_ORIGIN): Add.
58 * emulparams/avr4.sh (DATA_ORIGIN): Add.
59 * emulparams/avr5.sh (DATA_ORIGIN): Add.
60 * emulparams/avr51.sh (DATA_ORIGIN): Add.
61 (DATA_LENGTH): Update.
62 * emulparams/avr6.sh (DATA_ORIGIN): Add.
63 (DATA_LENGTH): Update.
64
65 2009-05-04 Dave Korn <dave.korn.cygwin@gmail.com>
66
67 * NEWS: Mention new feature.
68 * ld.texinfo (--version-script): Document extent of PE support.
69 (WIN32): Mention --version-script. Extend auto-export description.
70 * pe-dll.c (process_def_file): Use version script info to filter
71 symbols from auto-export.
72 * testsuite/ld-pe/vers-script-1.d: New file.
73 * testsuite/ld-pe/vers-script-2.d: New file.
74 * testsuite/ld-pe/vers-script-3.d: New file.
75 * testsuite/ld-pe/vers-script-4.d: New file.
76 * testsuite/ld-pe/vers-script-1.ver: New file.
77 * testsuite/ld-pe/vers-script-2.ver: New file.
78 * testsuite/ld-pe/vers-script-3.ver: New file.
79 * testsuite/ld-pe/vers-script-4.ver: New file.
80 * testsuite/ld-pe/vers-script-dll.c: New file.
81 * testsuite/ld-pe/vers-script.exp: New test script.
82
83 2009-05-01 Nathan Sidwell <nathan@codesourcery.com>
84
85 * emulparams/vxworks.sh (TEXT_START_ADDR): Override.
86
87 2009-04-30 Nick Clifton <nickc@redhat.com>
88
89 * NEWS: Mention support for IFUNC symbols.
90
91 2009-04-29 Anthony Green <green@moxielogic.com>
92
93 * emulparams/elf32moxie.sh (STACK_ADDR): Move default stack
94 position out to accommodate larger programs.
95
96 2009-04-29 Chris Demetriou <cgd@google.com>
97
98 * lexsup.c (option_values): Add OPTION_NO_EXPORT_DYNAMIC.
99 (ld_options): Likewise.
100 (parse_args): Likewise.
101 * ld.texinfo: Document --no-export-dynamic.
102 * NEWS: Mention --no-export-dynamic.
103
104 2009-04-29 Alan Modra <amodra@bigpond.net.au>
105
106 * deffilep.y (STACKSIZE_K): Rename from STACKSIZE.
107
108 2009-04-25 Alan Modra <amodra@bigpond.net.au>
109
110 PR 10061
111 * genscripts.sh: Don't pass $EMULATION_NAME as $CUSTOMIZER_SCRIPT
112 param.
113
114 2009-04-21 Daniel Jacobowitz <dan@codesourcery.com>
115
116 * emultempl/armelf.em (bfd_for_interwork, arm_elf_after_open)
117 (arm_elf_set_bfd_for_interworking): Delete.
118 (arm_elf_before_allocation): Do not set the interworking BFD.
119 Move allocation inside not-dynamic block.
120 (arm_elf_create_output_section_statements): Create glue sections
121 and set the interworking BFD here.
122 (LDEMUL_AFTER_OPEN): Delete.
123
124 2009-04-16 Richard Sandiford <r.sandiford@uk.ibm.com>
125
126 * ldlang.c (lang_one_common): Use bfd_define_common_symbol.
127
128 2009-04-15 Anthony Green <green@moxielogic.com>
129
130 * configure.tgt: Add moxie support.
131 * Makefile.am: Add moxie files.
132 * Makefile.in: Rebuilt.
133 * emulparams/elf32moxie.sh: New file.
134 * scripttempl/moxie.sc: New file.
135
136 2009-04-15 Kazu Hirata <kazu@codesourcery.com>
137
138 * ldlang.c: Do not include limits.h.
139
140 2009-04-14 Alan Modra <amodra@bigpond.net.au>
141
142 PR ld/10047
143 * ldfile.c (find_scripts_dir): Use make_relative_prefix to find
144 ldscripts in build tree. Don't repeat search for ../lib/ldscripts.
145
146 2009-04-13 H.J. Lu <hongjiu.lu@intel.com>
147
148 * ldfile.c (ldfile_find_command_file): Revert the last change.
149
150 2009-04-11 H.J. Lu <hongjiu.lu@intel.com>
151
152 PR ld/10047
153 * ldfile.c (ldfile_find_command_file): First try raw name.
154
155 2009-04-09 Nick Clifton <nickc@redhat.com>
156
157 PR 9824
158 * ld.texinfo (Output Section Constraint): New node. Documents the
159 ONLY_IF_RO and ONLY_IF_RW constraints.
160 (Symbolic Constants): New node. Documents the CONSTANT operator.
161
162 2009-04-09 Thilo Fischer <thilo.fischer@uni-muenster.de>
163
164 * emultempl/spuelf.em (embedded_spu_file): Use pex_one in place
165 of fork/execvp.
166
167 2009-04-08 H.J. Lu <hongjiu.lu@intel.com>
168
169 * lexsup.c (option_values): Add OPTION_WARN_ALTERNATE_EM.
170 (ld_options): Likewise.
171 (parse_args): Likewise.
172
173 * ld.texinfo: Document --warn-alternate-em.
174
175 * NEWS: Mention --warn-alternate-em.
176
177 2009-04-07 DJ Delorie <dj@redhat.com>
178
179 * emulparams/elf32mep.sh: Change default endian to little.
180
181 2009-04-07 Nick Clifton <nickc@redhat.com>
182
183 * ld.texinfo (Output Section Address): Note that specifying an
184 address for an output section will only change the location
185 counter if the output section is used.
186
187 2009-04-06 Kazu Hirata <kazu@codesourcery.com>
188
189 * ldfile.c (ldfile_find_command_file): Initialize result.
190
191 2009-04-06 Kazu Hirata <kazu@codesourcery.com>
192
193 * ld.texinfo (-L): Mention that -L options do not affect how ld
194 searches for a linker script unless -T option is specified.
195 * ldfile.c (ldfile_find_command_file): Append the path obtained
196 from the program name to the search path instead of
197 prepending. Add a new parameter "default_only". Restrict the
198 search to the default script location if the new parameter is
199 true.
200 (ldfile_open_command_file_1): New.
201 (ldfile_open_command_file): Call ldfile_open_command_file_1.
202 (ldfile_open_default_command_file): New.
203
204 2009-04-03 Nathan Sidwell <nathan@codesourcery.com>
205
206 * ldlang.c (lang_leave_output_section_statement): Set lma_region
207 if it is not overridden and section is for the same vma region as
208 the previous section.
209
210 2009-04-02 Dave Korn <dave.korn.cygwin@gmail.com>
211
212 PR ld/6744
213 * ld.texinfo (--export-dynamic): Mention --export-all-symbols.
214 * emultempl/pe.em (gld_${EMULATION_NAME}_after_parse): Issue
215 warning if --export-dynamic was passed on command-line.
216 * emultempl/pep.em (gld_${EMULATION_NAME}_after_parse): Likewise.
217
218 2009-04-01 Richard Sandiford <r.sandiford@uk.ibm.com>
219
220 * emultempl/aix.em (gld${EMULATION_NAME}_open_dynamic_archive): New
221 function.
222 (ld_${EMULATION_NAME}_emulation): Use it.
223
224 2009-03-20 H.J. Lu <hongjiu.lu@intel.com>
225
226 PR ld/9970
227 * ldlang.c (lang_end): Warn missing entry symbol for -pie.
228
229 2009-03-19 Alan Modra <amodra@bigpond.net.au>
230
231 * emultempl/spuelf.em (spu_before_allocation): Report errors from
232 spu_elf_find_overlays.
233
234 2009-03-18 H.J. Lu <hongjiu.lu@intel.com>
235
236 PR ld/6766
237 * lexsup.c (parse_args): Call ldlang_add_undef for -e.
238
239 2009-03-18 Alan Modra <amodra@bigpond.net.au>
240
241 * ld.h: Remove alloca handling.
242
243 2009-03-17 Alan Modra <amodra@bigpond.net.au>
244
245 * emultempl/spu_icache.S: Add new entry to dummy handler.
246 * emultempl/spu_icache.o_c: Regenerate.
247 * emultempl/spuelf.em (params): Init new field.
248 (no_overlays): New static var.
249 (spu_before_allocation): Use it.
250 (OPTION_SPU_COMPACT_STUBS): Define.
251 (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add compact-stubs.
252 (PARSE_AND_LIST_ARGS_CASES): Handle compact-stubs. Adjust no-overlays
253 handling.
254
255 2009-03-17 Alan Modra <amodra@bigpond.net.au>
256
257 * configure.host (HOSTING_LIBS): Two dollars on shell variable
258 expansion to suit make.
259
260 2009-03-17 Alan Modra <amodra@bigpond.net.au>
261
262 * configure.in: Invoke ACX_PROG_CMP_IGNORE_INITIAL.
263 * Makefile.am (check-DEJAGNU): Set DO_COMPARE.
264 * aclocal.m4: Regenerate.
265 * configure: Regenerate.
266 * Makefile.in: Regenerate.
267
268 2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
269
270 * emultempl/aix.em (auto_export_flags): New variable.
271 (explicit_auto_export_flags): Likewise.
272 (OPTION_EXPALL, OPTION_EXPFULL): New enum values.
273 (OPTION_NOEXPALL, OPTION_NOEXPFULL): Likewise.
274 (gld${EMULATION_NAME}_add_options): Add -bexpall, -bexpfull,
275 -bnoexpall and -bnoexpfull.
276 (gld${EMULATION_NAME}_handle_option): Handle them.
277 (gld${EMULATION_NAME}_before_allocation): Update the call to
278 bfd_size_dynamic_sections.
279
280 2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
281
282 * emultempl/aix.em (gld${EMULATION_NAME}_handle_option): Make
283 -berok and -bernotok control link_info.unresolved_syms_in_objects
284 and link_info.unresolved_syms_in_shared_libs instead of
285 force_make_executable.
286
287 2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
288
289 * emultempl/aix.em (gld${EMULATION_NAME}_before_parse): Set
290 config.dynamic_link to TRUE.
291
292 2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
293
294 * emultempl/aix.em (gld${EMULATION_NAME}_before_allocation): Mark
295 .text, .data and .bss output sections as SEC_KEEP.
296
297 2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
298
299 * configure.tgt: Extend AIX 5 behavior to AIX 6 and above.
300
301 2009-03-14 Dave Korn <dave.korn.cygwin@gmail.com>
302 Danny Smith <dannysmith@users.sourceforge.net>
303
304 * emultmpl/pe.em (pe_dll_characteristics): New variable.
305 (OPTION_DYNAMIC_BASE, OPTION_FORCE_INTEGRITY, OPTION_NX_COMPAT,
306 OPTION_NO_ISOLATION. OPTION_NO_SEH, OPTION_NO_BIND,
307 OPTION_WDM_DRIVER, OPTION_TERMINAL_SERVER_AWARE):
308 New macros for options to set DllCharacteristics flag bits.
309 (gld${EMULATION_NAME}_add_options): Add dynamicbase, forceinteg,
310 nxcompat, no-isolation, no-seh, no-bind, wdmdriver, tsaware options.
311 (init): Add DllCharacteristics field.
312 (gld_${EMULATION_NAME}_list_options): List new options.
313 (gld${EMULATION_NAME}_handle_option): Handle new options.
314 * emultmpl/pep.em (pe_dll_characteristics): New variable.
315 (OPTION_DYNAMIC_BASE, OPTION_FORCE_INTEGRITY, OPTION_NX_COMPAT,
316 OPTION_NO_ISOLATION. OPTION_NO_SEH, OPTION_NO_BIND,
317 OPTION_WDM_DRIVER, OPTION_TERMINAL_SERVER_AWARE):
318 New macros for options to set DllCharacteristics flags.
319 (gld${EMULATION_NAME}_add_options): Add dynamicbase, forceinteg,
320 nxcompat,no-isolation, no-seh, no-bind, wdmdriver, tsaware options.
321 (init): Add DllCharacteristics field.
322 (gld_${EMULATION_NAME}_list_options): List new options.
323 (gld${EMULATION_NAME}_handle_option): Handle new options.
324 * ldtexinfo : Document dynamicbase, forceinteg, nxcompat,
325 no-isolation, no-seh, no-bind, wdmdriver, tsaware options.
326
327 2009-03-06 Nick Clifton <nickc@redhat.com>
328
329 * po/es.po: Updated Spanish translation.
330
331 2009-03-03 Dave Korn <dave.korn.cygwin@gmail.com>
332
333 * emultempl/pe.em (debug_section_p): New bfd_map_over_sections hook.
334 (gld_${EMULATION_NAME}_after_open): Use it to iterate all sections
335 of all input BFDs, looking for debug info. Enable long section names
336 if any found.
337 * emultempl/pe.em (debug_section_p): Likewise.
338 (gld_${EMULATION_NAME}_after_open): Likewise.
339 * NEWS: Retrospectively adjust news announcement.
340 * ld.texinfo: Update documentation to mention new behaviour.
341
342 2009-03-03 Alan Modra <amodra@bigpond.net.au>
343
344 * Makefile.am: Run "make dep-am".
345 * Makefile.in: Regenerate.
346
347 2009-03-02 Sebastian Huber <sebastian.huber@embedded-brains.de>
348
349 * ldgram.y: Add support for REGION_ALIAS operator.
350 * ldlang.c: Likewise.
351 * ldlang.h: Likewise.
352 * ldlex.l: Likewise.
353 * NEWS: Mention the new feature.
354 * ld.texinfo: Document the new feature.
355
356 2009-03-02 Qinwei <qinwei@sunnorth.com.cn>
357
358 * Makefile.am: Replace score elf emulation with score3 and score7
359 emulations.
360 * Makefile.in: Regenerate,
361 * NEWS: Mention support for Score7 architecture.
362 * configure.tgt: Add score7 emulation to score-elf target.
363 * emulparams/scoreelf.sh: Add score7 support.
364 * emultempl/scoreelf.em: Likewise.
365
366 2009-03-01 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
367
368 * configure.tgt: Only use elf64hppa target emulation for hpux.
369 * emulparams/elf64hppa.sh: Don't include hppa64linux.sh.
370 (SCRIPT_NAME): Use new script elf64hppa.
371 (SCRIPT_NAME, ELFSIZE, NO_REL_RELOCS, ARCH, MACHINE, ENTRY,
372 TEMPLATE_NAME, GENERATE_SHLIB_SCRIPT, OTHER_READONLY_SECTIONS,
373 OTHER_READWRITE_SECTIONS, OTHER_BSS_SECTIONS, OTHER_GOT_RELOC_SECTIONS,
374 DATA_START_SYMBOLS, OTHER_SYMBOLS, DATA_PLT, PLT_BEFORE_GOT,
375 TEXT_DYNAMIC): Define.
376 * emulparams/hppa64linux.sh: Adjust comments.
377 * scripttempl/elf64hppa.sc: New file.
378
379 2009-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
380
381 * configure: Regenerate.
382
383 2009-02-27 Dave Korn <dave.korn.cygwin@gmail.com>
384
385 * emultempl/pe.em (gld_${EMULATION_NAME}_before_parse): Set
386 default state of auto-import flag based on $target.
387
388 2009-02-24 Joseph Myers <joseph@codesourcery.com>
389
390 * ld.texinfo (ARM): Document changed meaning of --stub-group-size.
391 * emultempl/armelf.em (hook_in_stub): Insert after the input section.
392 (elf32_arm_add_stub_section): Update comment.
393 (PARSE_AND_LIST_OPTIONS): Update help for --stub-group-size.
394
395 2009-02-24 Sandra Loosemore <sandra@codesourcery.com>
396
397 * ld.texinfo (Options): Correct typos in example. Recommend
398 using joined forms of syntax for passing options with arguments
399 from a driver.
400 (-a): Use consistent syntax for documenting option arguments.
401 Clean up indexing and markup.
402 (-A/--architecture): Likewise.
403 (-f/--auxiliary): Likewise.
404 (-F/--filter): Likewise.
405 (-fini): Likewise.
406 (-G/--gpsize): Likewise.
407 (-h/-soname):Likewise.
408 (-init): Likewise.
409 (-l/--library): Likewise.
410 (-L/--library-path): Likewise.
411 (-m): Likewise.
412 (--defsym): Likewise.
413 (-I/--dynamic-linker): Likewise.
414 (-Map): Likewise.
415 (--oformat): Likewise.
416 (--retain-symbols-file): Likewise.
417 (-rpath): Likewise.
418 (-rpath-link): Likewise.
419 (--sort-common): Likewise.
420 (--sort-section): Likewise.
421 (--split-by-file): Likewise.
422 (--split-by-reloc): Likewise.
423 (--sysroot): Likewise.
424 (--section-start): Likewise.
425 (-Tbss, -Tdata, -Ttext): Likewise.
426 (-Ttext-segment): Likewise.
427 (--version-script): Likewise.
428 (--wrap): Likewise.
429
430 2009-02-18 Dave Korn <dave.korn.cygwin@gmail.com>
431
432 * ld.texinfo: Update to mention long section name options.
433 * NEWS: Mention new behaviour and command-line options.
434 * pe-dll.c (pe_use_coff_long_section_names): New global variable.
435 (pe_output_file_set_long_section_names): New function.
436 (pe_dll_build_sections): Call it on output BFDs.
437 (pe_exe_build_sections): Likewise.
438 (pe_dll_fill_sections): Likewise.
439 (pe_exe_fill_sections): Likewise.
440 * pe-dll.h (pe_use_coff_long_section_names): Declare extern.
441 (pe_output_file_set_long_section_names): Add prototype.
442 * pep-dll.c (pe_use_coff_long_section_names): Define pep_ alias.
443 (pe_output_file_set_long_section_names): Likewise.
444 * pep-dll.h (pep_use_coff_long_section_names): Declare extern.
445 (pep_output_file_set_long_section_names): Add prototype.
446 * pe.em (OPTION_ENABLE_LONG_SECTION_NAMES): New getopt value macro.
447 (OPTION_DISABLE_LONG_SECTION_NAMES): Likewise.
448 (gld${EMULATION_NAME}_add_options): Add new options to xtra_long[].
449 (gld_${EMULATION_NAME}_list_options): Describe them.
450 (gld${EMULATION_NAME}_handle_option): Set or clear global
451 pe_use_coff_long_section_names flag when options recognised.
452 (gld_${EMULATION_NAME}_after_open): En/disable long section names
453 for main output bfd by calling pe_output_file_set_long_section_names.
454 * pep.em (enum options): Extend enum with new getopt option values.
455 (gld${EMULATION_NAME}_add_options): Add new options to xtra_long[].
456 (gld_${EMULATION_NAME}_list_options): Describe them.
457 (gld${EMULATION_NAME}_handle_option): Set or clear global
458 pe_use_coff_long_section_names flag when options recognised.
459 (gld_${EMULATION_NAME}_after_open): En/disable long section names
460 for main output bfd by calling pep_output_file_set_long_section_names.
461
462 2009-02-16 Dave Korn <dave.korn.cygwin@gmail.com>
463
464 * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Don't emit
465 inadvertent .reloc sections caused by refactoring accident.
466
467 2009-02-16 Alan Modra <amodra@bigpond.net.au>
468
469 * ldlang.c (process_insert_statements): ASSERT that output section
470 statements are in order.
471
472 2009-02-16 Alan Modra <amodra@bigpond.net.au>
473
474 * ldlang.c (push_stat_ptr, pop_stat_ptr): New functions.
475 (stat_save, stat_save_ptr): New variables.
476 (lang_insert_orphan): Use push_stat_ptr and pop_stat_ptr.
477 (load_symbols): Likewise. Delete dead "bad_load" code.
478 (open_input_bfds): Warn on script containing output sections.
479 (lang_enter_output_section_statement): Use push_stat_ptr.
480 (lang_enter_group): Likewise.
481 (lang_leave_output_section_statement): Use pop_stat_ptr.
482 (lang_leave_group): Likewise.
483 * ldlang.h (push_stat_ptr, pop_stat_ptr): Declare.
484 * ldctor.c (ldctor_build_sets): Use push_stat_ptr and pop_stat_ptr.
485 * emultempl/beos.em (gld_${EMULATION_NAME}_set_symbols): Likewise.
486 * emultempl/pe.em (gld_${EMULATION_NAME}_set_symbols): Likewise.
487 * emultempl/pep.em (gld_${EMULATION_NAME}_set_symbols): Likewise.
488 * emultempl/spuelf.em (spu_place_special_section): Likewise.
489 * emultempl/xtensaelf.em (ld_xtensa_insert_page_offsets): Likewise.
490
491 2009-02-09 Nathan Sidwell <nathan@codesourcery.com>
492
493 Missing piece of 2009-01-26 commit
494 * ldlang.c (lang_process): Don't consider relocatable flag when
495 checking for overlap.
496
497 2009-02-05 Joseph Myers <joseph@codesourcery.com>
498
499 * emulparams/m68kelf.sh: Add newline at end of file.
500
501 2009-02-04 Nick Clifton <nickc@redhat.com>
502
503 PR 9805
504 * ld.texinfo (--allow-shlib-undefined): Correct description of
505 default settings and tidy up the rest of the entry.
506
507 2009-02-04 Alan Modra <amodra@bigpond.net.au>
508
509 * emultempl/spuelf.em (spu_after_open): Don't combine .text.ia.*
510 during relocatable link.
511
512 2009-02-03 Nick Clifton <nickc@redhat.com>
513
514 PR 9797
515 * ld.texinfo (Constants): Document the base-encoding suffixes
516 supported in linker scripts.
517
518 2009-02-03 Alan Modra <amodra@bigpond.net.au>
519
520 * NEWS: Mention --as-needed change.
521
522 2009-02-03 Carlos O'Donell <carlos@codesourcery.com>
523
524 * configure.in: AC_SUBST pdfdir.
525 * Makefile.am: Add install-pdf, install-pdf-am,
526 and install-pdf-recursive targets. Define pdf__strip_dir.
527 * po/Make-in: Add install-pdf target.
528 * configure: Regenerate.
529 * Makefile.in: Regenerate.
530
531 2009-01-31 Alan Modra <amodra@bigpond.net.au>
532
533 * ld.texinfo (--as-needed): Update.
534
535 2009-01-29 Andrew Jenner <andrew@codesourcery.com>
536
537 * emultempl/armelf.em: Correct formatting of help text for
538 --no-enum-size-warning option.
539
540 2009-01-26 Nathan Sidwell <nathan@codesourcery.com>
541
542 * lexsup.c (parse_args): Set check_section_addresses to 1 or 0.
543 * ld.h (args_type): Make check_section_addresses a char.
544 * ldmain.c (main): Default check_section_addresses to -1. Check it
545 for relocatable links.
546 * ld.texinfo (--check-sections): Update documentation.
547
548 2009-01-26 Kai Tietz <kai.tietz@onevision.com>
549
550 * pe-dll.c (tmp_seq2): New static variable.
551 (make_singleton_name_imp): New.
552 (make_import_fixup_entry): Use for v2 the _imp_<name> symbol and
553 avoid duplicate import table generation for same symbol.
554 (pe_create_runtime_relocator_reference): Make reference for
555 64-bit 8 bytes.
556
557 2009-01-21 Alan Modra <amodra@bigpond.net.au>
558
559 * emultempl/spuelf.em (params): Init new field.
560 (OPTION_SPU_NON_IA_TEXT): Define.
561 (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add --non-ia-text.
562 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_SPU_NON_IA_TEXT.
563
564 2009-01-16 H.J. Lu <hongjiu.lu@intel.com>
565
566 * lexsup.c (option_values): Add OPTION_TTEXT_SEGMENT.
567 (ld_options): Add -Ttext-segment.
568 (parse_args): Handle OPTION_TTEXT_SEGMENT.
569
570 * ld.texinfo: Document -Ttext-segment.
571
572 * NEWS: Mention -Ttext-segment.
573
574 * scripttempl/elf.sc (TEXT_START_ADDR): Use SEGMENT_START.
575 (SHLIB_TEXT_START_ADDR): Likewise.
576
577 2009-01-13 Alan Modra <amodra@bigpond.net.au>
578
579 * emultempl/spu_icache.o_c: Regenerate.
580
581 2009-01-12 Alan Modra <amodra@bigpond.net.au>
582
583 * emultempl/spuelf.em (params): Init new fields.
584 (num_lines_set, line_size_set, icache_mgr, icache_mgr_stream): New vars.
585 (spu_place_special_section): Adjust placement for soft-icache. Pad
586 soft-icache section to a fixed size. Clear addr_tree.
587 (spu_elf_load_ovl_mgr): Support soft-icache. Map overlay manager
588 sections a little more intelligently.
589 (gld${EMULATION_NAME}_finish): Don't call spu_elf_build_stubs.
590 (OPTION_SPU_NUM_LINES): Rename from OPTION_SPU_NUM_REGIONS.
591 (OPTION_SPU_SOFT_ICACHE, OPTION_SPU_LINE_SIZE): Define.
592 (OPTION_SPU_LRLIVE): Define.
593 (PARSE_AND_LIST_LONGOPTS): Add new soft-icache options.
594 (PARSE_AND_LIST_OPTIONS): Likewise.
595 (PARSE_AND_LIST_ARGS_CASES): Handle them.
596 * emultempl/spu_icache.S: Dummy file.
597 * emultempl/spu_icache.o_c: Regenerate.
598 * Makefile.am (eelf32_spu.c): Depend on spu_icache.o_c.
599 (spu_icache.o_c): Add rule to build.
600 (CLEANFILES): Zap temp files.
601 (EXTRA_DIST): Add spu_icache.o_c.
602 * Makefile.in: Regenerate.
603
604 2009-01-08 Kai Tietz <kai.tietz@onevision.com>
605
606 * pe.em (OPTION_USE_NUL_PREFIXED_IMPORT_TABLES): New.
607 (gld..._add_options): Add new option
608 --use-nul-prefixed-import-tables.
609 (gld..._handle_option): Likewise.
610 * pep.em: Same as for pe.em.
611 * ld.texinfo: Add new option documentation for
612 --use-nul-prefixed-import-tables.
613 * pe-dll.c (pe_use_nul_prefixed_import_tables): New.
614 (make_head): Make prefix leading zero prefix element for
615 idata$4 and idata$5 dependent to new flag.
616 (make_import_fixup_entry): Remove idata4/5 prefix.
617 * pe-dll.h (pe_use_nul_prefixed_import_tables): New.
618 * pep-dll.c (pe_use_nul_prefixed_import_tables): New.
619 * pep-dll.h (pep_use_nul_prefixed_import_tables): New.
620 * NEWS: Add new option.
621
622 2009-01-05 Kai Tietz <kai.tietz@onevision.com>
623
624 * emultempl/pe.em: Prefix dollar characters to be outputed in
625 generated C file.
626 * emultempl/pep.em: Likewise.
627
628 2009-01-03 Dave Korn <dave.korn.cygwin@gmail.com>
629
630 * NEWS: Mention new feature --exclude-modules-for-implib.
631 * ld.texinfo: Document new --exclude-modules-for-implib option.
632 * pe-dll.c (exclude_list_struct): Change type member from int to
633 new enumeration exclude_type.
634 (pe_dll_add_excludes): Accept exclude_type instead of int param.
635 (auto_export): Replace magic constants by exclude_type values and
636 handle new choice EXCLUDEFORIMPLIB.
637 (pe_dll_generate_implib): Accept a pointer to the link_info and
638 iterate all input BFDs looking for EXCLUDEFORIMPLIB modules; re-open
639 fresh BFDs for any found and link into import lib archive chain.
640 * pe-dll.h (exclude_type): Add new enumerated type to replace magic
641 constants previously used for exclude_list_struct type member.
642 (pe_dll_add_excludes, pe_dll_generate_implib): Update prototypes.
643 * pep-dll.h (exclude_type, pe_dll_add_excludes,
644 pe_dll_generate_implib): Likewise to all the above.
645 * emultempl/pe.em (OPTION_EXCLUDE_MODULES_FOR_IMPLIB): Define new
646 getopts long option code for new --exclude-modules-for-implib option.
647 (gld${EMULATION_NAME}_add_options): Add new entry to xtra_long[].
648 (gld_${EMULATION_NAME}_list_options): List usage for it.
649 (gld${EMULATION_NAME}_handle_option): Use exclude_type enumerated
650 values when calling pe_dll_add_excludes, and handle EXCLUDEFORIMPLIB.
651 (gld_${EMULATION_NAME}_finish): Pass pointer to link_info when
652 calling pe_dll_generate_implib.
653 * emultempl/pep.em (options): Define new enumerated value for getopts
654 long option code for new --exclude-modules-for-implib option.
655 (gld${EMULATION_NAME}_add_options, gld_${EMULATION_NAME}_list_options,
656 gld${EMULATION_NAME}_handle_option, gld_${EMULATION_NAME}_finish):
657 Again, likewise to all the above.
658
659 2009-01-03 Dave Korn <dave.korn.cygwin@gmail.com>
660
661 * pe-dll.c (autofilter_liblist): Add entry for shared libgcc.
662 (libnamencmp): New function.
663 (auto_export): Use it in place of strncmp when filtering libraries.
664
665 For older changes see ChangeLog-2008
666 \f
667 Local Variables:
668 mode: change-log
669 left-margin: 8
670 fill-column: 74
671 version-control: never
672 End: