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