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