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