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