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