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