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