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