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