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