OSDN Git Service

873fb4bad721fd86cc1557b12324024563ae95ca
[pf3gnuchains/pf3gnuchains4x.git] / ld / ChangeLog
1 2007-05-24  Nathan Sidwell  <nathan@codesourcery.com>
2
3         * ldlex.l: ASSERT is recognized in SCRIPT env.  NAMES cannot
4         contain commas in EXP env.
5         * ldgram.y (extern_name_list): Push to EXP env, move body to ...
6         (extern_name_list_body): ... here.
7         (script_file, ifile_list): Reformat.
8         (statement): Add ASSERT.
9
10 2007-05-22  Nick Clifton  <nickc@redhat.com>
11
12         * ld.texinfo: Use @copying around the copyright notice.
13         * ldint.texinfo: Likewise.
14
15 2007-05-18  Richard Sandiford  <richard@codesourcery.com>
16
17         * emulparams/elf32ebmipvxworks.sh (OTHER_READONLY_SECTIONS)
18         (OTHER_READWRITE_SECTIONS): Define.  Add .rdata sections.
19
20 2007-05-16  Richard Sandiford  <richard@codesourcery.com>
21
22         * configure.in: Allow sysroots to be relocated under $prefix as
23         well as $exec_prefix.
24         * configure: Regenerate.
25
26 2007-05-14  Andreas Schwab  <schwab@suse.de>
27
28         * emultempl/ppc64elf.em (gld${EMULATION_NAME}_new_vers_pattern):
29         Handle null pattern.
30
31 2007-05-11  Alan Modra  <amodra@bigpond.net.au>
32
33         * emultempl/ppc32elf.em (plt_style): New variable.
34         (old_plt): Delete.
35         (ppc_after_open): Adjust ppc_elf_select_plt_layout call.
36         (PARSE_AND_LIST_PROLOGUE): Define OPTION_NEW_PLT, renumber
37         OPTION_OLD_PLT, OPTION_OLD_GOT and OPTION_STUBSYMS.
38         (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add secure-plt.
39         (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_NEW_PLT.
40         * ld.texinfo (--secure-plt): Document.
41
42 2007-05-08  Alan Modra  <amodra@bigpond.net.au>
43
44         * ld.h (args_type, ld_config_type): Reorder fields.
45         * ldmain.c (main): Don't initialise a bunch of vars we know are
46         zero already.
47
48 2007-05-05  Anatoly Sokolov <aesok@post.ru>
49
50         * multempl/avrelf.em (PARSE_AND_LIST_ARGS_CASES): Add new value for 
51         "--pmem-wrap-around".
52         (PARSE_AND_LIST_OPTIONS): Describe new value for "--pmem-wrap-around".
53
54 2007-05-03  Bob Wilson  <bob.wilson@acm.org>
55
56         * scripttempl/elfxtensa.sc: Merge changes from elf.sc.
57
58 2007-05-03  Alan Modra  <amodra@bigpond.net.au>
59
60         * ld.texinfo (--no-warn-search-mismatch): Document.
61         * ldfile.c (ldfile_try_open_bfd): Don't warn about skipping
62         incompatible libraries if --no-warn-search-mismatch.
63         * ld.h (args_type): Add warn_search_mismatch.
64         * ldmain.c (main): Init it.
65         * lexsup.c (enum option_values): Add OPTION_NO_WARN_SEARCH_MISMATCH.
66         (ld_options): Add entry for --no-warn-search-mismatch.
67         (parse_args): Handle OPTION_NO_WARN_SEARCH_MISMATCH.
68
69 2007-05-03  Alan Modra  <amodra@bigpond.net.au>
70
71         * scripttempl/elf.sc: Add .debug_pubtypes and .debug_ranges.
72
73 2007-05-01  Robert Millan  <rmh@aybabtu.com>
74
75         * ldlang.c (lang_check): Error on architecture mismatch.
76
77 2007-04-30  Alan Modra  <amodra@bigpond.net.au>
78
79         * ldmain.c (link_callbacks): Init info and minfo fields.
80         * ldmisc.c (minfo): Do nothing if no map file.
81         * emultempl/spuelf.em (stack_analysis, emit_stack_syms): New vars.
82         (spu_after_open): Adjust spu_elf_create_sections call.
83         (spu_before_allocation): Likewise for spu_elf_size_stubs.
84         (OPTION_SPU_STACK_ANALYSIS, OPTION_SPU_STACK_SYMS): Define.
85         (PARSE_AND_LIST_LONGOPTS): Add new entries.
86         (PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Likewise.
87         * gen-doc.texi: Add @set for SPU and other missing targets.
88         * ld.texinfo: Update man page selection to match gen-doc.texi.
89         Document SPU features.
90
91 2007-04-28  Alan Modra  <amodra@bigpond.net.au>
92
93         * ldcref.c (struct cref_hash_entry): Make "demangled" const.
94         (cref_fill_array): Adjust for changed demangler.
95         * ldlang.c (lang_one_common): Likewise.
96
97 2007-04-27  Nathan Froyd  <froydnj@codesourcery.com>
98
99         * emulparams/elf32_sparc.sh: Update comments.
100         * emulparams/elf32bmip.sh: Likewise.
101         * emulparams/elf32ppc.sh: Likewise.
102         * emulparams/vxworks.sh: Likewise.
103
104 2007-04-27  Alan Modra  <amodra@bigpond.net.au>
105
106         Many files: Include sysdep.h first.  Remove duplicate headers.
107         * Makefile.am: Run "make dep-am".
108         * Makefile.in: Regenerate.
109
110 2007-04-24  Alan Modra  <amodra@bigpond.net.au>
111
112         * Makefile.in: Regenerate.
113
114 2007-04-19  Alan Modra  <amodra@bigpond.net.au>
115
116         * ldcref.c (cref_fill_array): Call bfd_demangle rather than demangle.
117         * ldlang.c (lang_one_common): Likewise.
118         * ldmisc.c (vfinfo): Likewise.
119         (demangle): Delete.
120         * ldmisc.h (demangle): Delete.
121         * Makefile.am: Run "make dep-am".
122         * Makefile.in: Regenerate.
123
124 2007-04-18  Alan Modra  <amodra@bigpond.net.au>
125
126         * ldlang.h (enum section_type): Add overlay_section.
127         * ldlang.c (lang_add_section): Handle flags for overlay_section
128         as per normal_section.
129         (lang_size_sections_1): When setting lma, detect overlays by
130         os->sectype rather than by looking for overlapping vmas.
131         (lang_enter_overlay_section): Use overlay_section type.
132         (lang_leave_overlay): Set first overlay section to normal.
133
134 2007-04-14  Steve Ellcey  <sje@cup.hp.com>
135
136         * Makefile.am: Add ACLOCAL_AMFLAGS.
137         * Makefile.in: Regenerate.
138
139 2007-04-12  Bob Wilson  <bob.wilson@acm.org>
140
141         * emulparams/elf32xtensa.sh (OTHER_SECTIONS): KEEP property sections.
142
143 2007-04-10  Richard Henderson  <rth@redhat.com>
144
145         * ldlang.c (relax_sections): Initialize and increment
146         link_info.relax_trip.
147
148 2007-04-04  Paul Brook  <paul@codesourcery.com>
149
150         * configure.tgt: Loosen checks for arm uclinux eabi targets.
151
152 2007-04-02  H.J. Lu  <hongjiu.lu@intel.com>
153
154         PR ld/4090
155         * ldexp.h (node_type): Add lineno.
156         * ldexp.c: Include "ldlex.h".
157         (exp_intop): Set the lineno field from lineno.
158         (exp_bigintop): Likewise.
159         (exp_relop): Likewise.
160         (exp_nameop): Likewise.
161         (exp_binop): Set the lineno field from lineno of lhs.
162         (exp_trinop): Likewise.
163         (exp_unop): Set the lineno field from lineno of child.
164         (exp_assop): Set the lineno field from lineno of src.
165         (exp_provide): Likewise.
166         (exp_assert): Set the lineno field from lineno of exp.
167         (exp_get_abs_int): Set lineno from lineno of nonconstant
168         expression when report problem.
169
170 2007-03-29  Richard Sandiford  <richard@codesourcery.com>
171             Daniel Jacobowitz  <dan@codesourcery.com>
172
173         * NEWS: Mention -l:foo.
174         * ld.texinfo: Document it.
175         * ldlang.c (new_afile): If a lang_input_file_is_l_enum
176         entry as a name beginning with a coloh, convert it to a
177         lang_input_file_is_search_file_enum entry without the colon.
178
179 2007-03-28  Richard Sandiford  <richard@codesourcery.com>
180
181         * ld.h (ld_config_type): Add rpath_separator.
182         * ldmain.c (main): Initialize it.
183         * lexsup.c (parse_args): Honor config.rpath_separator.
184         * emultempl/elf32.em (gld${EMULATION_NAME}_search_needed): Likewise.
185         (gld${EMULATION_NAME}_add_sysroot): Likewise.
186         (gld${EMULATION_NAME}_parse_ld_so_conf): Use config.rpath_separator
187         rather than ':' when building the path.
188         * emultempl/vxworks.em (vxworks_before_parse): New function.
189         Override config.rpath_separator.
190         (LDEMUL_AFTER_OPEN): Do not change if EXTRA_EM_FILE has been
191         set to gld${EMULATION_NAME}_after_open; #define that identifier
192         to vxworks_foo instead.
193         (LDEMUL_BEFORE_PARSE): Override in the same way as LDEMUL_AFTER_OPEN.
194
195 2007-03-28  Richard Sandiford  <richard@codesourcery.com>
196             Phil Edwards  <phil@codesourcery.com>
197
198         * ld.texinfo: Put the contents after the title page rather
199         than at the end of the document.
200
201 2007-03-26  Alan Modra  <amodra@bigpond.net.au>
202
203         * Makefile.am: Add dependency on ldemul-list.h for powerpc and
204         spu target emul files.
205         * configure.in: Check for mkstemp and waitpid.
206         * Makefile.in: Regenerate.
207         * configure: Regenerate.
208         * config.in: Regenerate.
209         * ldlang.c (input_file_chain): Make global.
210         (lang_add_input_file): Don't set lang_has_input_file here.
211         * ldlang.h (input_file_chain): Declare.
212         * emultempl/ppc32elf.em (ppc_recognized_file): New function.
213         (LDEMUL_RECOGNIZED_FILE): Define.
214         * emultempl/ppc64elf.em (ppc64_recognized_file): New function.
215         (LDEMUL_RECOGNIZED_FILE): Define.
216         * emultempl/spuelf.em (struct tflist): New.
217         (tmp_file_list): New var.
218         (clean_tmp, embedded_spu_file): New functions.
219
220 2007-03-24  Alan Modra  <amodra@bigpond.net.au>
221
222         * ldlang.c (lang_insert_orphan): Provide start/stop loadaddr syms
223         rather than defining unconditionally.
224         (lang_leave_overlay_section): Likewise.
225         * ld.texinfo (Overlay Description): Update description and examples
226         for start/stop syms.
227
228 2007-03-22  Joseph Myers  <joseph@codesourcery.com>
229
230         * ld.texinfo: Include VERSION_PACKAGE when reporting version.
231
232 2007-03-20  Paul Brook  <paul@codesourcery.com>
233
234         * emultempl/armelf.em (pic_veneer): New variable.
235         (PARSE_AND_LIST_PROLOGUE): Add OPTION_PIC_VENEER.
236         (PARSE_AND_LIST_ARGS_CASES): Ditto.
237         (PARSE_AND_LIST_LONGOPTS): Add "pic-veneer".
238         (PARSE_AND_LIST_OPTIONS): Ditto.
239         * ld.texinfo: Document --pic-veneer.
240
241 2007-03-18  Mark Shinwell  <shinwell@codesourcery.com>
242
243         * ld.texinfo: Document --no-enum-size-warning.
244         * emultempl/armelf.em (no_enum_size_warning): New.
245         (arm_elf_create_output_section_statements): Correct typo
246         in comment.  Pass no_enum_size_warning to
247         bfd_elf32_arm_set_target_relocs.
248         (PARSE_AND_LIST_PROLOGUE): Define OPTION_NO_ENUM_SIZE_WARNING.
249         (PARSE_AND_LIST_OPTIONS): Document --no-enum-size-warning.
250         (PARSE_AND_LIST_ARGS_CASES): Add OPTION_NO_ENUM_SIZE_WARNING
251         case.
252
253 2007-03-19  Bernd Schmidt  <bernd.schmidt@analog.com>
254
255         * configure.tgt (bfin-*-elf, bfin-*-uclinux*): Add targ_extra_libpath.
256         (bfin-*-linux-uclibc*): New target.
257
258 2007-03-16  Kai Tietz  <Kai.Tietz@onevision.com>
259
260         * pe-dll.c (make_one): Use pc-relative relocation instead of an
261         absolute relocation for x86_64-pc-mingw32 target.
262
263 2007-03-15  H.J. Lu  <hongjiu.lu@intel.com>
264
265         * Makefile.am (ld_TEXINFOS): Remove ldver.texi.
266         (AM_MAKEINFOFLAGS): Add -I ../../bfd/doc.
267         (TEXI2DVI): Likewise.
268         (REPORT_BUGS_TO): Removed.
269         (INCLUDES): Remove -DREPORT_BUGS_TO.
270         (ldver.texi): Likewise.
271         (ld.1): Don't depend on ldver.texi.
272         (MOSTLYCLEANFILES): Remove ldver.texi.
273         * Makefile.in: Regenerated.
274
275         * configure.in (--with-bugurl): Removed.
276         * configure: Regenerated.
277
278         * lexsup.c: Include bfdver.h.
279
280         * ld.texinfo: Include bfdver.texi instead of ldver.texi.
281
282 2007-03-11  Hans-Peter Nilsson  <hp@bitrange.com>
283
284         * emultempl/mmixelf.em: Remove incorrect '#line' directive.
285
286 2007-03-08  Alan Modra  <amodra@bigpond.net.au>
287
288         * ldlang.c (lang_size_sections_1): Correct backwards dot move
289         test to not trigger on overlays.  Only warn on backwards move
290         if non-default lma.
291
292 2007-03-07  Joseph Myers  <joseph@codesourcery.com>
293
294         * configure.in (REPORT_BUGS_TEXI): Define to Texinfo version of
295         bug-reporting URL.
296         * Makefile.am (ldver.texi): Define BUGURL.
297         * ld.texinfo: Use BUGURL.
298         * Makefile.in, configure: Regenerate.
299
300 2007-03-07  Nick Clifton  <nickc@redhat.com>
301
302         PR ld/4023
303         * emultempl/aix.em (..._before_allocation): Strip sysroot prefix
304         from any paths being inserted into the output binary's DT_RPATH.
305
306 2007-03-02  Nathan Sidwell  <nathan@codesourcery.com>
307
308         * emulparams/shelf_uclinux.sh: New. Missed in 2007-02-28 commit.
309
310 2007-03-01  Joseph Myers  <joseph@codesourcery.com>
311
312         * ldver.c (ldversion): Remove word "version" from output.  Update
313         copyright date.
314
315 2007-02-28  Nathan Sidwell  <nathan@codesourcery.com>
316
317         * Makefile.am (ALL_EMULATIONS): Add eshelf_uclinux.o
318         (eshelf_uclinux.c): New target.
319         * Makefile.in: Rebuilt.
320         * configure.tgt (sh-*-uclinux* | sh[12]-*-uclinux*): New stanza.
321         * emulparams/shelf_uclinux.sh: New.
322
323 2007-02-28  Alan Modra  <amodra@bigpond.net.au>
324
325         * configure.tgt: Fix type last change.
326         * configure.tgt (spu-*-elf*): Delete targ_extra_ofiles.
327
328 2007-02-27  Alan Modra  <amodra@bigpond.net.au>
329
330         * Makefile.am (ALL_EMUL_EXTRA_OFILES): Remove spu_inc.o.
331         (eelf32_spu.c): Adjust dependencies.
332         * Makefile.in: Regenerate.
333         * emultempl/spuelf.em (ovl_mgr): New array.  Insert spu_ovl.o
334         code using bin2c.
335         (_binary_spu_ovl_o_start, _binary_spu_ovl_o_end): Delete.
336         (ovl_mgr_stream): Update.
337         * emultempl/spu_inc.s: Delete.
338         * emultempl/spu_none.s: Delete.
339
340 2007-02-26  Alan Modra  <amodra@bigpond.net.au>
341
342         * emultempl/spuelf.em (_binary_builtin_ovl_mgr_start): Rename
343         to _binary_spu_ovl_o_start.
344         (_binary_builtin_ovl_mgr_end): Rename to _binary_spu_ovl_o_end.
345         (spu_elf_load_ovl_mgr): Fatal error on missing overlay manager.
346         * emultempl/spu_inc.s: Rename symbols.
347         * emultempl/spu_none.s: New file.
348         * emultempl/spu_ovl.S: Update copyright.
349         * Makefile.am (spu_inc.o): Try building with ld -r first, then
350         gas incbin, then build without overlay manager.
351         * Makefile.in: Regenerate.
352
353 2007-02-22  Joseph Myers  <joseph@codesourcery.com>
354
355         * configure.tgt (mips64*el-*-linux-*, mips64*-*-linux-*,
356         mips*el-*-linux-*, mips*-*-linux-*): Set
357         targ_extra_libpath=$targ_extra_emuls.
358
359 2007-02-21  Nick Clifton  <nickc@redhat.com>
360
361         * ldlang.c (ldlang_override_segment_assignment): New function.
362         * ldlang.h (ldlang_override_segment_assignment): Prototype.
363         * ldmain.c (link_callbacks): Add
364         ldlang_override_segment_assignment.
365
366 2007-02-20  Alan Modra  <amodra@bigpond.net.au>
367
368         * ldexp.c (fold_name <LOADADDR>): Ensure result is always absolute.
369
370 2007-02-17  Mark Mitchell  <mark@codesourcery.com>
371             Nathan Sidwell  <nathan@codesourcery.com>
372             Vladimir Prus  <vladimir@codesourcery.com
373             Joseph Myers  <joseph@codesourcery.com>
374
375         * configure.in (--with-bugurl): New option.
376         * configure: Regenerate.
377         * Makefile.am (REPORT_BUGS_TO): Define.
378         (INCLUDES): Define REPORT_BUGS_TO.
379         Regenerate dependencies.
380         * Makefile.in: Regenerate.
381         * ld.h: Remove include of bin-bugs.h.
382         * lexsup.c (help): Don't print empty REPORT_BUGS_TO.
383
384 2007-02-17  Alan Modra  <amodra@bigpond.net.au>
385
386         * ldcref.c (check_reloc_refs): Compare section for local syms.
387
388 2007-02-13  Alan Modra  <amodra@bigpond.net.au>
389
390         * emultempl/spu_ovl.S (__ovly_return, __ovly_load): Set sym size.
391         (__ovly_load_event): Define.
392         (size): Rename to osize.
393         * emultempl/spu_ovl.o: Regenerate.
394
395 2007-02-13  Alan Modra  <amodra@bigpond.net.au>
396
397         * emulparams/elf64ppc.sh (OTHER_READWRITE_SECTIONS): Add ".branch_lt".
398         * emultempl/ppc64elf.em (ppc_add_stub_section): Create without
399         SEC_RELOC flag set.
400
401 2007-02-09  H.J. Lu  <hongjiu.lu@intel.com>
402
403         * configure.in (targ_extra_emuls): Add $targ64_extra_emuls if
404         want64 is true.
405         (targ_extra_libpath): Add $targ64_extra_libpath if want64 is
406         true
407         * configure: Regenerated.
408
409         * configure.tgt (targ_extra_libpath): Initialize.
410         (targ64_extra_emuls): New. Document. Initialize.
411         (targ64_extra_libpath): Likewise.
412         (i[3-7]86-*-linux-*): Set targ64_extra_emuls and
413         targ64_extra_libpath.
414         (powerpc*-*-linux*): Likewise.
415         (s390-*-linux*): Likewise.
416
417 2007-02-07  Paul Brook  <paul@codesourcery.com>
418
419         * configure.tgt: Add arm*-*-uclinux-*eabi.
420
421 2007-02-06  H.J. Lu  <hongjiu.lu@intel.com>
422
423         * ldlang.c (lang_size_sections_1): Add a missing `)'.
424
425 2007-02-06  Alan Modra  <amodra@bigpond.net.au>
426
427         PR ld/3966
428         * ldlang.c (lang_size_sections_1): Don't warn on backwards dot
429         move unless section size is non-zero.
430
431 2007-02-05  Dave Brolley  <brolley@redhat.com>
432
433         * Makefile.am (ALL_EMULATIONS): Add support for Toshiba MeP.
434         * configure.tgt: Likewise.
435         * scripttempl/mep.sc: New file.
436         * emulparams/elf32mep.sh: New file.
437         * Makefile.in: Regenerate.
438
439 2006-01-29  Julian Brown  <julian@codesourcery.com>
440
441         * NEWS: Mention --vfp11-denorm-fix option.
442         * ld.texinfo: Document above.
443         * emulparams/armelf_linux.sh (OTHER_TEXT_SECTIONS): Add
444         .vfp11_veneer section.
445         * emulparams/armelf.sh (OTHER_TEXT_SECTIONS): Likewise.
446         * emultempl/armelf.em (vfp11_denorm_fix): New static variable.
447         (arm_elf_before_allocation): Call bfd_elf32_arm_set_vfp11_fix,
448         bfd_elf32_arm_init_maps and bfd_elf32_arm_vfp11_erratum_scan.
449         (arm_elf_after_allocation): New function. Call
450         bfd_elf32_arm_vfp11_fix_veneer_locations for all input statements.
451         (arm_elf_create_output_section_statements): Pass vfp11 fix command
452         line option to BFD.
453         (OPTION_VFP11_DENORM_FIX): New option.
454         (PARSE_AND_LIST_LONGOPTS): Handle new option.
455         (PARSE_AND_LIST_OPTIONS): Likewise.
456         (PARSE_AND_LIST_ARGS_CASES): Likewise.
457         (LDEMUL_AFTER_ALLOCATION): Define.
458
459 2007-01-24  H.J. Lu  <hongjiu.lu@intel.com>
460
461         * ldgram.y (SIZEOF_HEADERS): Remove duplicated one.
462         (DEFSYMEND): Likewise.
463         (NAME): Likewise.
464         (LNAME): Likewise.
465
466 2007-01-19  Murali Vemulapati  <murali.vemulapati@gmail.com>
467
468         * pe-dll.c: (make_one) Conditionally include jump stubs.
469         * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Identify
470         redundant jump stubs from import libraries and exclude them from
471         link.
472
473 2007-01-19  H.J. Lu  <hongjiu.lu@intel.com>
474
475         * ld.h (args_type): Add new symbolic and dynamic_list fields.
476
477         * ld.texinfo: Update -Bsymbolic-functions.
478
479         * ldmain.c (main): Initialize command_line.symbolic to
480         symbolic_unset and command_line.dynamic_list to
481         dynamic_list_unset.  Check -Bsymbolic, -Bsymbolic-functions and
482         --dynamic-list* before setting link_info.symbolic,
483         link_info.dynamic and link_info.dynamic_data.
484
485         * lexsup.c (option_values): Add OPTION_SYMBOLIC_FUNCTIONS.
486         (ld_options): Use OPTION_SYMBOLIC_FUNCTIONS with
487         -Bsymbolic-functions.
488         (parse_args): Handle -Bsymbolic-functions.  Don't set
489         link_info.dynamic, link_info.dynamic_data and link_info.symbolic
490         here.  Set command_line.symbolic for -Bsymbolic.  Set
491         command_line.dynamic_list and command_line.symbolic for
492         --dynamic-list-data, --dynamic-list-cpp-new,
493         --dynamic-list-cpp-typeinfo and --dynamic-list.
494
495 2007-01-19  Jakub Jelinek  <jakub@redhat.com>
496             H.J. Lu  <hongjiu.lu@intel.com>
497
498         * emultempl/elf32.em (handle_option): Make sure -z max-page-size
499         or -z common-page-size argument is a power of 2.  Call
500         bfd_emul_set_maxpagesize and bfd_emul_set_commonpagesize.
501
502 2007-01-19  H.J. Lu  <hongjiu.lu@intel.com>
503
504         * ldmain.c (main): Don't call bfd_emul_set_maxpagesize nor
505         bfd_emul_set_commonpagesize.
506
507 2007-01-19  H.J. Lu  <hongjiu.lu@intel.com>
508
509         * NEWS: Mention --default-script/-dT.
510
511         * ld.h (args_type): Add a default_script field.
512
513         * ld.texinfo: Document --default-script/-dT.
514
515         * ldmain.c (main): Handle command_line.default_script.
516
517         * lexsup.c (option_values): Add OPTION_DEFAULT_SCRIPT.
518         (ld_options): Add entries for --default-script and -dT.
519         (parse_args): Handle --default-script/-dT.
520
521 2007-01-16  H.J. Lu  <hongjiu.lu@intel.com>
522
523         PR ld/3831
524         * NEWS: Mention -Bsymbolic-functions, --dynamic-list-data and
525         --dynamic-list-cpp-new.
526
527         * ld.texinfo: Document -Bsymbolic-functions, --dynamic-list-data
528         and --dynamic-list-cpp-new.
529
530         * ldlang.c (lang_append_dynamic_list_cpp_new): New.
531         (lang_process): Change link_info.dynamic to
532         link_info.dynamic_list.
533         (lang_append_dynamic_list): Likewise.
534         * ldmain.c (main): Likewise.  Initialize link_info.dynamic and
535         link_info.dynamic_data to FALSE.
536
537         * ldlang.h (lang_append_dynamic_list_cpp_new): New.
538
539         * lexsup.c (option_values): Add OPTION_DYNAMIC_LIST_DATA and
540         OPTION_DYNAMIC_LIST_CPP_NEW.
541         (ld_options): Add entries for -Bsymbolic-functions,
542         --dynamic-list-data and --dynamic-list-cpp-new.  Make
543         -Bsymbolic-functions an alias of --dynamic-list-data.
544         (parse_args): Change link_info.dynamic to link_info.dynamic_list.
545         Set link_info.dynamic to TRUE for --dynamic-list and
546         --dynamic-list-cpp-typeinfo.  Handle --dynamic-list-data and
547         --dynamic-list-cpp-new.
548
549 2007-01-11  Nathan Sidwell  <nathan@codesourcery.com>
550
551         * emultempl/elf-generic.em (gdl_map_segments): Only allow header
552         shrinkage for the first few iterations.
553
554 2007-01-08  Kai Tietz   <kai.tietz@onevision.com>
555
556         * configure.tgt: Renamed target x86_64-*-mingw64 to
557         x86_64-*-mingw*.
558
559 2007-01-08  Pedro Alves  <pedro_alves@portugalmail.pt>
560
561         * configure.host: Add i[3-7]86-*-mingw* case.
562
563 2007-01-08  Nick Clifton  <nickc@redhat.com>
564
565         * pep-dll.h (pep_bfd_is_dll): Add prototype.
566
567 2007-01-08  Aurelien Jarno  <aurelien@aurel32.net>
568
569         PR ld/3843
570         * configure.tgt (x86_64_[k]freebsd*): Add targ_extra_libpath and
571         tdir_elf_i386_fbsd.
572
573 2007-01-06  Nathan Sidwell  <nathan@codesourcery.com>
574
575         * ldexp.c (fold_name): Issue error on undefined sections.
576
577 2007-01-02  Alan Modra  <amodra@bigpond.net.au>
578
579         * pe-dll.c: Include pe-dll.h.
580         * pep-dll.c (pe_bfd_is_dll): Define.
581
582 For older changes see ChangeLog-2006
583 \f
584 Local Variables:
585 mode: change-log
586 left-margin: 8
587 fill-column: 74
588 version-control: never
589 End: