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