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