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