binutils/
[deliverable/binutils-gdb.git] / ld / ChangeLog
CommitLineData
81c23f82
TG
12009-09-04 Tristan Gingold <gingold@adacore.com>
2
3 * NEWS: Add marker for 2.20.
4
4c4fb5da
AM
52009-09-04 Alan Modra <amodra@bigpond.net.au>
6
7 * scripttempl/elf.sc (.text): Add cold text sections.
8
7dd8f318
JZ
92009-09-04 Jie Zhang <jie.zhang@analog.com>
10
11 * emulparams/elf32bfinfd.sh (OTHER_SECTIONS): Add .l2.text
12 and .l2.data.
13
032f3e01
DK
142009-09-03 Dave Korn <dave.korn.cygwin@gmail.com>
15
16 * scripttempl/pe.sc (.text): Add "*(.text.*)" in order to catch
17 new GCC hot/cold/unlikely partitions.
18 * scripttempl/pep.sc: Likewise.
19 * scripttempl/epocpe.sc: Likewise.
20 * scripttempl/mcorepe.sc: Likewise.
21 * scripttempl/ppcpe.sc: Likewise.
22
7bb7d81f
RW
232009-09-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
24
25 * Makefile.am (ldgram.o, ldlex.o, deffilep.o): Supply correct
26 source file name for generated files which may be in $(srcdir).
27 * Makefile.in: Regenerate.
28
43123e98
L
292009-09-01 H.J. Lu <hongjiu.lu@intel.com>
30
31 * ldver.c (ldversion): Change to "Copyright 2009".
32
8d17e044
JZ
332009-09-01 Jie Zhang <jie.zhang@analog.com>
34
35 * scripttempl/elf.sc: Add ${USER_LABEL_PREFIX} to _start, etext,
36 _stack and __bss_start.
37 * emulparams/bfin.sh (ENTRY): Remove.
38
8be573a7
AM
392009-08-30 Alan Modra <amodra@bigpond.net.au>
40
41 PR ld/10569
42 * ldexp.c (fold_name <MAXPAGESIZE>): Return config.maxpagesize.
43 (fold_name <COMMONPAGESIZE>): Similarly.
44 * ldlang.c (output_target): Make global.
45 * ldlang.h (output_target): Declare.
46 * ldmain.c (main): Set config.maxpagesize from bfd_emul_get_maxpagesize.
47 Similarly for config.commonpagesize.
48 * ldemul.c (set_output_arch_default): Call bfd_emul_set_maxpagesize
49 and bfd_emul_set_commonpagesize.
50 * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Don't call
51 bfd_emul_set_maxpagesize or bfd_emul_set_commonpagesize here.
52
d3ce72d0
NC
532009-08-29 Martin Thuresson <martin@mtme.org>
54
55 * ldexp.c (exp_intop, exp_bigintop, exp_relop, exp_binop)
56 (exp_trinop, exp_unop, exp_nameop, exp_assop): Rename variable new
57 to new_e.
58 * ldfile.c (ldfile_add_library_path): Rename variable new to
59 new_dirs. (ldfile_add_arch): Rename variable new to new_arch.
60 * ldlang.c (new_statement, lang_final, lang_add_wild)
61 (lang_target, lang_add_fill, lang_add_data, lang_add_assignment)
62 (lang_add_insert): Rename variable new to new_stmt. (new_afile):
63 Added missing cast. (lang_memory_region_lookup): Rename variable
64 new to new_region. (init_os): Rename variable new to
65 new_userdata. (lang_add_section): Rename variable new to
66 new_section. (ldlang_add_undef): Rename variable new to
67 new_undef. (realsymbol): Rename variable new to new_name.
68
e9e0a58e
NC
692009-08-26 Nick Clifton <nickc@redhat.com>
70
71 PR ld/10555
72 * emultempl/elf32.em (_after_open): Do not create a
73 .note.gnu-build-id section if there are no input files.
74
43e56c34
NC
752009-08-24 Nick Clifton <nickc@redhat.com>
76
77 * scripttempl/elfxtensa.sc (DISCARDED): Discard sections with
78 .gnu.lto_ prefix.
79 * scripttempl/armbpabi.sc: Likewise.
80 * scripttempl/elf32sh-symbian.sc: Likewise.
81 * scripttempl/elf64hppa.sc: Likewise.
82 * scripttempl/mep.sc: Likewise.
83
a15af8e2
RW
842009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
85
8a0e2760
RW
86 * Makefile.am (ldmain.o, ldfile.o): Fix typos in non-fastdep
87 rules.
88 (eelf32_spu.o): Add dependency tracking.
89 * Makefile.in: Regenerate.
90
a15af8e2
RW
91 * Makefile.am (am__skiplex, am__skipyacc): New.
92 * Makefile.in: Regenerate.
93
81ecdfbb
RW
942009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
95
14ec8efd
RW
96 * Makefile.am (bin_PROGRAMS): Renamed from ...
97 (noinst_PROGRAMS): ... this.
98 (transform): Override, including the renaming of ld-new to ld.
99 (install-exec-local): Installation of ld in $(bindir) not needed
100 here any more.
101 (AM_CPPFLAGS): Renamed from ...
102 (INCLUDES): ... this.
103 (MAINTAINERCLEANFILES): Add ld.1.
104 * Makefile.in: Regenerate.
105
64ac50ac
RW
106 * Makefile.am (AUTOMAKE_OPTIONS): Remove cygnus. Add
107 no-texinfo.tex, no-dist, foreign.
108 (TEXINFO_TEX): New variable.
109 (install-data-local): Removed, not needed any more.
110 (all): Dependencies upon info and ld.1 not needed any more.
111 (MKDEP, DEP, DEP1, dep.sed, dep, dep-in, dep-am): Removed.
112 (mkdep generated section): Removed.
113 (ldgram.o, ldlex.o, deffilep.o, ldmain.o, ldfile.o): Rewrite to
114 use automake dependency tracking mechanism.
115 (EXTRA_ld_new_SOURCES): Add pep-dll.c, pe-dll.c, and
116 $(ALL_EMULATIONS:.o=.c) $(ALL_64_EMULATIONS:.o=.c) so their
117 dependencies are tracked too.
118 (BUILT_SOURCES): New, list $(GENERATED_HFILES) to ensure they
119 are built early.
120 * configure.in: Use AM_MAINTAINER_MODE.
121 * aclocal.m4, configure, Makefile.in: Regenerate.
122
af542c2e
RW
123 * Makefile.am (pdf__strip_dir, install-pdf, install-pdf-am)
124 (install-pdf-recursive, html__strip_dir, install-html)
125 (install-html-am, install-html-recursive): Remove.
126 * Makefile.in: Regenerate.
127
81ecdfbb
RW
128 * Makefile.in: Regenerate.
129 * aclocal.m4: Likewise.
130 * config.in: Likewise.
131 * configure: Likewise.
132
032b94c5
NC
1332009-08-21 Richard Guenther <rguenther@suse.de>
134
135 * scripttempl/elf.sc: Discard sections with .gnu.lto_ prefix.
136
02688209
TG
1372009-08-12 Tristan Gingold <gingold@adacore.com>
138
139 * ld.h (fat_user_section_struct): Add map_symbol_def_count field.
140 * ldlang.c (hash_entry_addr_cmp): New function.
141 (print_all_symbols): Sort the symbols by address before printing them.
142
eaeb0a9d
AM
1432009-08-10 Alan Modra <amodra@bigpond.net.au>
144
145 PR 10474
146 * ldemul.c (after_allocation_default): Run lang_relax_sections.
147 * ldlang.h (lang_relax_sections): Declare.
148 * ldlang.c (relax_sections): Delete.
149 (lang_relax_sections): New function.
150 (lang_process): Don't relax directly from here.
151 * emultempl/alphaelf.em (alpha_finish): Call finish_default.
152 * emultempl/armelf.em (arm_elf_after_allocation): Delete. Move body..
153 (gld${EMULATION_NAME}_finish): ..to here. Move existing code..
154 (gld${EMULATION_NAME}_after_allocation): ..to here. New function.
155 (LDEMUL_AFTER_ALLOCATION): Update.
156 * emultempl/avrelf.em (avr_elf_finish, LDEMUL_FINISH): Delete.
157 (avr_elf_after_allocation): New function.
158 (LDEMUL_AFTER_ALLOCATION): Define.
159 * emultempl/elf-generic.em (gld${EMULATION_NAME}_map_segments): Call
160 lang_relax_sections.
161 * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Delete. Move..
162 (gld${EMULATION_NAME}_after_allocation): ..code to here. New function.
163 (LDEMUL_AFTER_ALLOCATION, LDEMUL_FINISH): Update.
164 * emultempl/genelf.em (gld${EMULATION_NAME}_finish): Delete. Move..
165 (gld${EMULATION_NAME}_after_allocation): ..code to here. New function.
166 (LDEMUL_FINISH): Delete.
167 (LDEMUL_AFTER_ALLOCATION): Define.
168 * emultempl/hppaelf.em (gld${EMULATION_NAME}_finish): Delete. Move..
169 (gld${EMULATION_NAME}_after_allocation): ..to here. New function.
170 (LDEMUL_FINISH): Delete.
171 (LDEMUL_AFTER_ALLOCATION): Define.
172 * emultempl/m68hc1xelf.em (m68hc11elf_finish): Delete. Move..
173 (m68hc11elf_after_allocation): ..to here. New function.
174 (LDEMUL_FINISH): Delete.
175 (LDEMUL_AFTER_ALLOCATION): Define.
176 * emultempl/m68kelf.em (m68k_elf_after_allocation): Call
177 gld${EMULATION_NAME}_after_allocation.
178 * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Call
179 gld${EMULATION_NAME}_after_allocation.
180 * emultempl/mmo.em (mmo_finish): Delete. Move body..
181 (gld${EMULATION_NAME}_after_allocation): ..to here. New function.
182 (LDEMUL_FINISH): Define.
183 * emultempl/ppc64elf.em (ppc_layout_sections_again): Set elf_gp.
184 (gld${EMULATION_NAME}_finish): Move code sizing sections..
185 (gld${EMULATION_NAME}_after_allocation): ..to here.
186 * emultempl/sh64elf.em (sh64_elf_${EMULATION_NAME}_after_allocation):
187 Call gld${EMULATION_NAME}_after_allocation.
188 * emultempl/spuelf.em (gld${EMULATION_NAME}_finish): Delete
189 bfd_elf_discard_info and map_segments call.
190
7ba29e2a
NC
1912009-08-06 Michael Eager <eager@eagercon.com>
192
193 * Makefile.am: Add eelf32mb_linux.o, eelf32microblaze.o to
194 ALL_EMULATIONS, targets.
195 * Makefile.in: Regenerate.
196 * configure.tgt: Add microblaze*-linux*, microblaze* targets.
197 * emulparams/elf32mb_linux.sh: New.
198 * emulparams/elf32microblaze.sh. New.
199 * scripttempl/elfmicroblaze.sc: New.
200
9cc305ec
TS
2012009-08-05 Trevor Smigiel <Trevor_Smigiel@playstation.sony.com>
202
203 * emulparams/elf32_spu.sh (OTHER_READONLY_SECTIONS): Add .fixup
204 section and __fixup_start symbol.
205 * emultempl/spuelf.em (params): Initialize emit_fixups member.
206 (spu_before_allocation): Call spu_elf_size_sections.
207 (OPTION_SPU_EMIT_FIXUPS): Define.
208 (PARSE_AND_LIST_LONGOPTS): Add --emit-fixups.
209 (PARSE_AND_LIST_ARGS_CASES): Handle --emit-fixups.
210 * ld.texinfo (--emit-fixups): Document.
211
07088e95
AM
2122009-08-04 Alan Modra <amodra@bigpond.net.au>
213
214 PR 10474
215 * emultempl/ppc32elf.em (ppc_before_allocation): Test rawsize,
216 not size, after lang_reset_memory_regions.
217
8dfab6dd
AM
2182009-07-30 Alan Modra <amodra@bigpond.net.au>
219
220 * emulparams/elf32ppc.sh (PLT): Don't include ".iplt".
221 * emulparams/elf_i386.sh (IREL_IN_PLT): Define.
222 * emulparams/elf_x86_64.sh (IREL_IN_PLT): Define.
223 * scripttempl/elf.sc: Create separate .iplt and .rela.iplt sections
224 when !IREL_IN_PLT.
225
18c32df5
HPN
2262009-07-29 Hans-Peter Nilsson <hp@bitrange.com>
227
228 * scripttempl/mmo.sc: For relocateable links, set $OUTPUT_FORMAT to
229 the new $RELOCATEABLE_OUTPUT_FORMAT, if set.
230 (OUTPUT_FORMAT): Use the variable $OUTPUT_FORMAT.
231 (ENTRY): Don't emit for relocateable links.
232 (/DISCARD/): Don't discard .gnu.warning.* for relocateable links.
233 * emulparams/mmo.sh (RELOCATEABLE_OUTPUT_FORMAT): Set, to
234 elf64-mmix.
235 * emulparams/elf64mmix.sh (OTHER_TEXT_SECTIONS): Empty, don't
236 provide "Main" or set "_start.", for relocateable links.
237
c38fbd5c
NC
2382009-07-27 Nick Clifton <nickc@redhat.com>
239
240 * (po/fi.po): Updated Finnish translation.
241
8a9036a4
L
2422009-07-25 H.J. Lu <hongjiu.lu@intel.com>
243
244 * configure.tgt (targ64_extra_emuls): Add elf_l1om if elf_x86_64
245 is supported. Add elf_l1om_fbsd if elf_x86_64_fbsd is supported.
246 (targ_extra_emuls): Likewise.
247
248 * Makefile.am (ALL_64_EMULATIONS): Add eelf_l1om.o and
249 eelf_l1om_fbsd.o
250 (eelf_l1om.c): New.
251 (eelf_l1om_fbsd.c): Likewise.
252 * Makefile.in: Regenerated.
253
254 * emulparams/elf_l1om.sh: New.
255 * emulparams/elf_l1om_fbsd.sh: Likewise.
256
3e7a7d11
NC
2572009-07-23 Ulrich Drepper <drepper@redhat.com>
258
259 * NEWS: Mention the linker's support for symbols with a binding of
260 STB_GNU_UNIQUE.
261
249b2a84
L
2622009-07-22 H.J. Lu <hongjiu.lu@intel.com>
263
264 PR ld/10429
265 * ldlang.c (insert_os_after): Tie assignments to non-alloc
266 output sections if there is no-input section.
267
0fa4d7cf
AM
2682009-07-11 Alan Modra <amodra@bigpond.net.au>
269
270 * ldlang.c (insert_os_after): Don't tie assignments to non-alloc
271 output sections.
272
4135c73b
AM
2732009-07-10 Alan Modra <amodra@bigpond.net.au>
274
275 * emultempl/ppc32elf.em (ppc_before_allocation): Turn on
276 linker relaxation if it might be necessary.
277
e054468f
AM
2782009-07-10 Alan Modra <amodra@bigpond.net.au>
279
280 * emulparams/elf32ppc.sh (GOTPLT, PLT): Handle .iplt.
281
07d8eb55
NC
2822009-07-06 Matthias Klose <doko@ubuntu.com>
283
249b2a84 284 * ld.texinfo: Fix typo.
07d8eb55 285
27505b5d
TG
2862009-07-03 Tristan Gingold <gingold@adacore.com>
287
288 * scripttempl/pep.sc: Put .eh_frame in its own section.
289 * scripttempl/pe.sc: Ditto.
290
a626fe20
KT
2912009-06-26 Kai Tietz <kai.tietz@onevision.com>
292
293 * scripttempl/pe.sc (.debug_pubtypes): Added section rule.
294 * scripttempl/pep.sc: Likewise.
295
d64703c6
TG
2962009-06-25 Tristan Gingold <gingold@adacore.com>
297
298 * ldlang.c (print_input_section): Add is_discarded parameter. Adjust
299 prototype.
300 (lang_map): Print the size of discarded sections.
301 (print_statement): Adjust call to print_input_section.
302
361dff73
DK
3032009-06-18 Dave Korn <dave.korn.cygwin@gmail.com>
304
32425da9 305 Merge cegcc and mingw32ce target name changes from CeGCC project:
361dff73 306
32425da9 307 2008-09-24 Pedro Alves <pedroalves@users.sourceforge.net>
361dff73
DK
308
309 * configure.tgt (arm*-*-cegcc*): Set LIB_PATH to
310 ${tooldir}/lib/w32api.
311
32425da9 312 2007-12-25 Pedro Alves <pedro_alves@portugalmail.pt>
361dff73
DK
313
314 * configure.tgt: Add arm*-*-cegcc* target.
315
32425da9 316 2007-12-17 Pedro Alves <pedro_alves@portugalmail.pt>
361dff73
DK
317
318 * configure.tgt: Add arm-*-mingw32ce* target.
319
f3711133
PB
3202009-06-10 Philip Blundell <philb@gnu.org>
321
322 * emultempl/armelf.em (gld${EMULATION_NAME}_finish): Avoid crash
323 if section has no ELF data.
324
2a81c24a
L
3252009-06-06 H.J. Lu <hongjiu.lu@intel.com>
326
327 * scripttempl/elf.sc: Add .rel.ifunc and .rela.ifunc.
328
fc1e8789
L
3292009-06-05 H.J. Lu <hongjiu.lu@intel.com>
330
331 * scripttempl/elf.sc: Remove .rel.ifunc.dyn and .rela.ifunc.dyn.
332
67a648f1
AM
3332009-06-04 Alan Modra <amodra@bigpond.net.au>
334
335 * dep-in.sed: Don't use \n in replacement part of s command.
336 * Makefile.am (DEP1): LC_ALL for uniq.
337 * Makefile.in: Regenerate.
338
3aa14d16
L
3392009-06-01 H.J. Lu <hongjiu.lu@intel.com>
340
341 * scripttempl/elf.sc (PLT): Add "*(.iplt)".
342 (GOT): Add "*(.igot.plt)a" and "*(.igot)".
343 (GOTPLT): Add "*(.igot)".
344 (__rel_iplt_start): New.
345 (__rel_iplt_end): Likewise.
346 (__rela_iplt_start): Likewise.
347 (__rela_iplt_end): Likewise.
348
05056a8d
DK
3492009-05-27 Dave Korn <dave.korn.cygwin@gmail.com>
350
351 * deffilep.y (%union): Add new string-type semantic value 'digits'.
352 (%token): Remove NUMBER as token, add DIGITS.
353 (%type): Add NUMBER as type. Add new id types anylang_id, opt_id.
354 (ALIGNCOMM): Parse an anylang_id instead of a plain ID.
355 (anylang_id): New production.
356 (opt_digits): Likewise.
357 (opt_id): Likewise.
358 (NUMBER): Likewise.
359 (def_lex): Return strings of digits in raw string form as DIGITS
360 token, instead of converting to numeric integer type.
361
c8a1f254
NS
3622009-05-26 Nathan Sidwell <nathan@codesourcery.com>
363
364 * ldmain.c (main): Don't reject --relax -r.
365 * ld.texinfo (PowerPC ELF32): Document behaviour of relaxing
366 partial links.
367
f12e7348
NC
3682009-05-26 Nick Clifton <nickc@redhat.com>
369
370 * po/id.po: Updated Indonesian translation.
371 * po/ld.pot: Updated template file.
372
00f3247a
AM
3732009-05-26 Alan Modra <amodra@bigpond.net.au>
374
375 * dep-in.sed: Output one filename per line with all lines having
376 continuation backslash. Prefix first line with "A", following
377 lines with "B".
378 * Makefile.am (DEP): Don't use dep.sed here.
379 (DEP1): Run $MKDEP on single files, use dep.sed here on dependencies,
380 sort and uniq.
381 * Makefile.in: Regenerate.
382
e50d6125
AM
3832009-05-26 Alan Modra <amodra@bigpond.net.au>
384
385 * ldlang.c (lang_check_section_addresses): Ignore non-alloc sections.
386
48229727
JB
3872009-05-22 Julian Brown <julian@codesourcery.com>
388
389 * emultempl/armelf.em (fix_cortex_a8): New.
390 (arm_elf_before_allocation): Call bfd_elf32_arm_set_cortex_a8_fix.
391 (arm_elf_create_output_section_statements): Add fix_cortex_a8 to
392 bfd_elf32_arm_set_target_relocs.
393 (OPTION_FIX_CORTEX_A8, OPTION_NO_FIX_CORTEX_A8): New.
394 (PARSE_AND_LIST_LONGOPTS): Add [no-]fix-cortex-a8 options.
395 (PARSE_AND_LIST_OPTIONS): Add [no-]fix-cortex-a8 options.
396 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_[NO_]FIX_CORTEX_A8.
397 * ld.texinfo (--[no-]fix-cortex-a8): Briefly document new options.
398
ec6d26be
NS
3992009-05-22 Nathan Sidwell <nathan@codesourcery.com>
400
401 * ldlang.c (lang_check_section_addresses): Ignore non-loadable
402 sections when checking for overlap. Clarify error message
403 concerns load address.
404
2b3decb5
AM
4052009-05-22 Alan Modra <amodra@bigpond.net.au>
406
407 * Makefile.am: Run "make dep-am".
408 * Makefile.in: Regenerate.
409
c1711530
DK
4102009-05-19 Dave Korn <dave.korn.cygwin@gmail.com>
411
412 * NEWS: Mention new feature.
413 * deffile.h (def_file_aligncomm): Add new struct definition.
414 (def_file): Add new def_file_aligncomm member.
415 * deffilep.y (%token): Add new ALIGNCOMM token.
416 (command): Add production rule for ALIGNCOMM.
417 (def_file_free): Free any chained def_file_aligncomm structs.
418 (diropts[]): Add entry for '-aligncomm' .drectve command.
419 (def_aligncomm): New grammar function.
420 * ld.texinfo: Document new feature.
421 * pe-dll.c (process_def_file): Rename from this ...
422 (process_def_file_and_drectve): ... to this, updating all callers,
423 and process any aligncomms chained to the def file after scanning
424 all .drectve sections.
425 (generate_edata): Updated to match.
426 (pe_dll_build_sections): Likewise.
427
b982bd05 4282009-05-17 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
177b81d6
DK
429
430 * pe-dll.c (process_def_file): Do not create empty export table.
431
d127ecce
AM
4322009-05-15 Alan Modra <amodra@bigpond.net.au>
433
434 * ldlang.c (lang_output_section_statement_lookup): Add function
435 comment. Make "name" non-const. Ensure duplicate entries use
436 the same string, allowing simple comparison in hash bucket loop.
437 Tweak constraint check.
438 (next_matching_output_section_statement): New function.
439 * ldlang.h (lang_output_section_statement_lookup): Update.
440 (next_matching_output_section_statement): Declare.
441 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
442 combine orphan sections when input sections flags differ in
443 alloc or load.
444 * emultempl/pe.em: Formatting throughout.
445 (gld${EMULATION_NAME}_place_orphan): As for elf32.em.
446 * emultempl/pep.em: Formatting throughout.
447 (gld${EMULATION_NAME}_place_orphan): As for elf32.em.
448
cdc83fba
UW
4492009-05-14 Ulrich Weigand <uweigand@de.ibm.com>
450
451 * emultempl/spuelf.em (PARSE_AND_LIST_ARGS_CASES): Always use
452 compact stubs with software i-cache.
453
bbb0fc04
AM
4542009-05-14 Alan Modra <amodra@bigpond.net.au>
455
456 * emultempl/spuelf.em (spu_before_allocation): Call
457 spu_elf_place_overlay_data.
458
011aa75f
AM
4592009-05-14 Alan Modra <amodra@bigpond.net.au>
460
461 * ldlang.c (lang_insert_orphan): Add __start_<section> symbol
462 assignment inside output section statement. Ensure only one
463 set of symbols per output section.
464 * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Add non-
465 dollar sections before dollar sections. Correct add_child
466 list insertion.
467 * emultempl/pep.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
468
2468f9c9
PB
4692009-05-05 Paul Brook <paul@codesourcery.com>
470
471 * emultempl/armelf.em (compare_output_sec_vma): New function.
472 (gld${EMULATION_NAME}_finish): Add exidx munging code.
473
84f1b567
NC
4742009-05-05 Anatoly Sokolov <aesok@post.ru>
475
476 * scripttempl/avr.sc (MEMORY): Use DATA_ORIGIN.
477 * emulparams/avr1.sh (DATA_ORIGIN): Add.
478 * emulparams/avr2.sh (DATA_ORIGIN): Add.
479 * emulparams/avr25.sh (DATA_ORIGIN): Add.
480 * emulparams/avr3.sh (DATA_ORIGIN): Add.
481 * emulparams/avr31.sh (DATA_ORIGIN): Add.
482 * emulparams/avr35.sh (DATA_ORIGIN): Add.
483 * emulparams/avr4.sh (DATA_ORIGIN): Add.
484 * emulparams/avr5.sh (DATA_ORIGIN): Add.
485 * emulparams/avr51.sh (DATA_ORIGIN): Add.
486 (DATA_LENGTH): Update.
487 * emulparams/avr6.sh (DATA_ORIGIN): Add.
488 (DATA_LENGTH): Update.
489
09e2aba4
DK
4902009-05-04 Dave Korn <dave.korn.cygwin@gmail.com>
491
492 * NEWS: Mention new feature.
493 * ld.texinfo (--version-script): Document extent of PE support.
494 (WIN32): Mention --version-script. Extend auto-export description.
495 * pe-dll.c (process_def_file): Use version script info to filter
496 symbols from auto-export.
497 * testsuite/ld-pe/vers-script-1.d: New file.
498 * testsuite/ld-pe/vers-script-2.d: New file.
499 * testsuite/ld-pe/vers-script-3.d: New file.
500 * testsuite/ld-pe/vers-script-4.d: New file.
501 * testsuite/ld-pe/vers-script-1.ver: New file.
502 * testsuite/ld-pe/vers-script-2.ver: New file.
503 * testsuite/ld-pe/vers-script-3.ver: New file.
504 * testsuite/ld-pe/vers-script-4.ver: New file.
505 * testsuite/ld-pe/vers-script-dll.c: New file.
506 * testsuite/ld-pe/vers-script.exp: New test script.
507
1f7f5cbe
NS
5082009-05-01 Nathan Sidwell <nathan@codesourcery.com>
509
510 * emulparams/vxworks.sh (TEXT_START_ADDR): Override.
511
d8045f23
NC
5122009-04-30 Nick Clifton <nickc@redhat.com>
513
514 * NEWS: Mention support for IFUNC symbols.
515
efaf18f3
AG
5162009-04-29 Anthony Green <green@moxielogic.com>
517
518 * emulparams/elf32moxie.sh (STACK_ADDR): Move default stack
519 position out to accommodate larger programs.
520
267e2722
CD
5212009-04-29 Chris Demetriou <cgd@google.com>
522
523 * lexsup.c (option_values): Add OPTION_NO_EXPORT_DYNAMIC.
524 (ld_options): Likewise.
525 (parse_args): Likewise.
526 * ld.texinfo: Document --no-export-dynamic.
527 * NEWS: Mention --no-export-dynamic.
528
8e58566f
AM
5292009-04-29 Alan Modra <amodra@bigpond.net.au>
530
531 * deffilep.y (STACKSIZE_K): Rename from STACKSIZE.
532
f50230ae
AM
5332009-04-25 Alan Modra <amodra@bigpond.net.au>
534
535 PR 10061
536 * genscripts.sh: Don't pass $EMULATION_NAME as $CUSTOMIZER_SCRIPT
537 param.
538
3e6b1042
DJ
5392009-04-21 Daniel Jacobowitz <dan@codesourcery.com>
540
541 * emultempl/armelf.em (bfd_for_interwork, arm_elf_after_open)
542 (arm_elf_set_bfd_for_interworking): Delete.
543 (arm_elf_before_allocation): Do not set the interworking BFD.
544 Move allocation inside not-dynamic block.
545 (arm_elf_create_output_section_statements): Create glue sections
546 and set the interworking BFD here.
547 (LDEMUL_AFTER_OPEN): Delete.
548
3023e3f6
RS
5492009-04-16 Richard Sandiford <r.sandiford@uk.ibm.com>
550
551 * ldlang.c (lang_one_common): Use bfd_define_common_symbol.
552
20135e4c
NC
5532009-04-15 Anthony Green <green@moxielogic.com>
554
555 * configure.tgt: Add moxie support.
556 * Makefile.am: Add moxie files.
557 * Makefile.in: Rebuilt.
558 * emulparams/elf32moxie.sh: New file.
559 * scripttempl/moxie.sc: New file.
560
39e65143
KH
5612009-04-15 Kazu Hirata <kazu@codesourcery.com>
562
563 * ldlang.c: Do not include limits.h.
564
c38b10fa
AM
5652009-04-14 Alan Modra <amodra@bigpond.net.au>
566
567 PR ld/10047
568 * ldfile.c (find_scripts_dir): Use make_relative_prefix to find
569 ldscripts in build tree. Don't repeat search for ../lib/ldscripts.
570
8c3e16f4
L
5712009-04-13 H.J. Lu <hongjiu.lu@intel.com>
572
573 * ldfile.c (ldfile_find_command_file): Revert the last change.
574
6dc6e834
L
5752009-04-11 H.J. Lu <hongjiu.lu@intel.com>
576
577 PR ld/10047
578 * ldfile.c (ldfile_find_command_file): First try raw name.
579
0c71d759
NC
5802009-04-09 Nick Clifton <nickc@redhat.com>
581
582 PR 9824
583 * ld.texinfo (Output Section Constraint): New node. Documents the
584 ONLY_IF_RO and ONLY_IF_RW constraints.
585 (Symbolic Constants): New node. Documents the CONSTANT operator.
586
fc15a272
AM
5872009-04-09 Thilo Fischer <thilo.fischer@uni-muenster.de>
588
589 * emultempl/spuelf.em (embedded_spu_file): Use pex_one in place
590 of fork/execvp.
591
a0c402a5
L
5922009-04-08 H.J. Lu <hongjiu.lu@intel.com>
593
594 * lexsup.c (option_values): Add OPTION_WARN_ALTERNATE_EM.
595 (ld_options): Likewise.
596 (parse_args): Likewise.
597
598 * ld.texinfo: Document --warn-alternate-em.
599
600 * NEWS: Mention --warn-alternate-em.
601
4d28413b
DD
6022009-04-07 DJ Delorie <dj@redhat.com>
603
604 * emulparams/elf32mep.sh: Change default endian to little.
605
6ce340f1
NC
6062009-04-07 Nick Clifton <nickc@redhat.com>
607
608 * ld.texinfo (Output Section Address): Note that specifying an
609 address for an output section will only change the location
610 counter if the output section is used.
611
32252ac1
KH
6122009-04-06 Kazu Hirata <kazu@codesourcery.com>
613
614 * ldfile.c (ldfile_find_command_file): Initialize result.
615
7d24f02c
KH
6162009-04-06 Kazu Hirata <kazu@codesourcery.com>
617
618 * ld.texinfo (-L): Mention that -L options do not affect how ld
619 searches for a linker script unless -T option is specified.
620 * ldfile.c (ldfile_find_command_file): Append the path obtained
621 from the program name to the search path instead of
622 prepending. Add a new parameter "default_only". Restrict the
623 search to the default script location if the new parameter is
624 true.
625 (ldfile_open_command_file_1): New.
626 (ldfile_open_command_file): Call ldfile_open_command_file_1.
627 (ldfile_open_default_command_file): New.
628
113e6845
NS
6292009-04-03 Nathan Sidwell <nathan@codesourcery.com>
630
631 * ldlang.c (lang_leave_output_section_statement): Set lma_region
632 if it is not overridden and section is for the same vma region as
633 the previous section.
634
8b747e1a
DK
6352009-04-02 Dave Korn <dave.korn.cygwin@gmail.com>
636
637 PR ld/6744
638 * ld.texinfo (--export-dynamic): Mention --export-all-symbols.
639 * emultempl/pe.em (gld_${EMULATION_NAME}_after_parse): Issue
640 warning if --export-dynamic was passed on command-line.
641 * emultempl/pep.em (gld_${EMULATION_NAME}_after_parse): Likewise.
642
24c611d1
RS
6432009-04-01 Richard Sandiford <r.sandiford@uk.ibm.com>
644
645 * emultempl/aix.em (gld${EMULATION_NAME}_open_dynamic_archive): New
646 function.
647 (ld_${EMULATION_NAME}_emulation): Use it.
648
4bf27aa9
L
6492009-03-20 H.J. Lu <hongjiu.lu@intel.com>
650
651 PR ld/9970
652 * ldlang.c (lang_end): Warn missing entry symbol for -pie.
653
ad2adbc8
AM
6542009-03-19 Alan Modra <amodra@bigpond.net.au>
655
656 * emultempl/spuelf.em (spu_before_allocation): Report errors from
657 spu_elf_find_overlays.
658
e9dfee34
L
6592009-03-18 H.J. Lu <hongjiu.lu@intel.com>
660
661 PR ld/6766
662 * lexsup.c (parse_args): Call ldlang_add_undef for -e.
663
8d25cc3d
AM
6642009-03-18 Alan Modra <amodra@bigpond.net.au>
665
666 * ld.h: Remove alloca handling.
667
a7e11ee1
AM
6682009-03-17 Alan Modra <amodra@bigpond.net.au>
669
670 * emultempl/spu_icache.S: Add new entry to dummy handler.
671 * emultempl/spu_icache.o_c: Regenerate.
672 * emultempl/spuelf.em (params): Init new field.
673 (no_overlays): New static var.
674 (spu_before_allocation): Use it.
675 (OPTION_SPU_COMPACT_STUBS): Define.
676 (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add compact-stubs.
677 (PARSE_AND_LIST_ARGS_CASES): Handle compact-stubs. Adjust no-overlays
678 handling.
679
bba21f15
AM
6802009-03-17 Alan Modra <amodra@bigpond.net.au>
681
682 * configure.host (HOSTING_LIBS): Two dollars on shell variable
683 expansion to suit make.
684
eccbf555
AM
6852009-03-17 Alan Modra <amodra@bigpond.net.au>
686
687 * configure.in: Invoke ACX_PROG_CMP_IGNORE_INITIAL.
688 * Makefile.am (check-DEJAGNU): Set DO_COMPARE.
689 * aclocal.m4: Regenerate.
690 * configure: Regenerate.
691 * Makefile.in: Regenerate.
692
b64232cc
RS
6932009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
694
695 * emultempl/aix.em (auto_export_flags): New variable.
696 (explicit_auto_export_flags): Likewise.
697 (OPTION_EXPALL, OPTION_EXPFULL): New enum values.
698 (OPTION_NOEXPALL, OPTION_NOEXPFULL): Likewise.
699 (gld${EMULATION_NAME}_add_options): Add -bexpall, -bexpfull,
700 -bnoexpall and -bnoexpfull.
701 (gld${EMULATION_NAME}_handle_option): Handle them.
702 (gld${EMULATION_NAME}_before_allocation): Update the call to
703 bfd_size_dynamic_sections.
704
858ef0ce
RS
7052009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
706
707 * emultempl/aix.em (gld${EMULATION_NAME}_handle_option): Make
708 -berok and -bernotok control link_info.unresolved_syms_in_objects
709 and link_info.unresolved_syms_in_shared_libs instead of
710 force_make_executable.
711
62008a16
RS
7122009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
713
714 * emultempl/aix.em (gld${EMULATION_NAME}_before_parse): Set
715 config.dynamic_link to TRUE.
716
9ec59d51
RS
7172009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
718
719 * emultempl/aix.em (gld${EMULATION_NAME}_before_allocation): Mark
720 .text, .data and .bss output sections as SEC_KEEP.
721
e5231592
RS
7222009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
723
724 * configure.tgt: Extend AIX 5 behavior to AIX 6 and above.
725
2f563b51 7262009-03-14 Dave Korn <dave.korn.cygwin@gmail.com>
249b2a84 727 Danny Smith <dannysmith@users.sourceforge.net>
2f563b51
DK
728
729 * emultmpl/pe.em (pe_dll_characteristics): New variable.
730 (OPTION_DYNAMIC_BASE, OPTION_FORCE_INTEGRITY, OPTION_NX_COMPAT,
731 OPTION_NO_ISOLATION. OPTION_NO_SEH, OPTION_NO_BIND,
732 OPTION_WDM_DRIVER, OPTION_TERMINAL_SERVER_AWARE):
733 New macros for options to set DllCharacteristics flag bits.
734 (gld${EMULATION_NAME}_add_options): Add dynamicbase, forceinteg,
735 nxcompat, no-isolation, no-seh, no-bind, wdmdriver, tsaware options.
736 (init): Add DllCharacteristics field.
737 (gld_${EMULATION_NAME}_list_options): List new options.
738 (gld${EMULATION_NAME}_handle_option): Handle new options.
739 * emultmpl/pep.em (pe_dll_characteristics): New variable.
740 (OPTION_DYNAMIC_BASE, OPTION_FORCE_INTEGRITY, OPTION_NX_COMPAT,
741 OPTION_NO_ISOLATION. OPTION_NO_SEH, OPTION_NO_BIND,
742 OPTION_WDM_DRIVER, OPTION_TERMINAL_SERVER_AWARE):
743 New macros for options to set DllCharacteristics flags.
744 (gld${EMULATION_NAME}_add_options): Add dynamicbase, forceinteg,
745 nxcompat,no-isolation, no-seh, no-bind, wdmdriver, tsaware options.
746 (init): Add DllCharacteristics field.
747 (gld_${EMULATION_NAME}_list_options): List new options.
748 (gld${EMULATION_NAME}_handle_option): Handle new options.
749 * ldtexinfo : Document dynamicbase, forceinteg, nxcompat,
750 no-isolation, no-seh, no-bind, wdmdriver, tsaware options.
751
d11fd249
NC
7522009-03-06 Nick Clifton <nickc@redhat.com>
753
754 * po/es.po: Updated Spanish translation.
755
3efd345c
DK
7562009-03-03 Dave Korn <dave.korn.cygwin@gmail.com>
757
758 * emultempl/pe.em (debug_section_p): New bfd_map_over_sections hook.
759 (gld_${EMULATION_NAME}_after_open): Use it to iterate all sections
760 of all input BFDs, looking for debug info. Enable long section names
761 if any found.
762 * emultempl/pe.em (debug_section_p): Likewise.
763 (gld_${EMULATION_NAME}_after_open): Likewise.
764 * NEWS: Retrospectively adjust news announcement.
765 * ld.texinfo: Update documentation to mention new behaviour.
766
a1f7ca36
AM
7672009-03-03 Alan Modra <amodra@bigpond.net.au>
768
769 * Makefile.am: Run "make dep-am".
770 * Makefile.in: Regenerate.
771
4a93e180
NC
7722009-03-02 Sebastian Huber <sebastian.huber@embedded-brains.de>
773
774 * ldgram.y: Add support for REGION_ALIAS operator.
775 * ldlang.c: Likewise.
776 * ldlang.h: Likewise.
777 * ldlex.l: Likewise.
778 * NEWS: Mention the new feature.
779 * ld.texinfo: Document the new feature.
780
c3b7224a
NC
7812009-03-02 Qinwei <qinwei@sunnorth.com.cn>
782
783 * Makefile.am: Replace score elf emulation with score3 and score7
784 emulations.
785 * Makefile.in: Regenerate,
786 * NEWS: Mention support for Score7 architecture.
787 * configure.tgt: Add score7 emulation to score-elf target.
788 * emulparams/scoreelf.sh: Add score7 support.
789 * emultempl/scoreelf.em: Likewise.
790
d1bbb13a
DA
7912009-03-01 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
792
793 * configure.tgt: Only use elf64hppa target emulation for hpux.
794 * emulparams/elf64hppa.sh: Don't include hppa64linux.sh.
795 (SCRIPT_NAME): Use new script elf64hppa.
796 (SCRIPT_NAME, ELFSIZE, NO_REL_RELOCS, ARCH, MACHINE, ENTRY,
797 TEMPLATE_NAME, GENERATE_SHLIB_SCRIPT, OTHER_READONLY_SECTIONS,
798 OTHER_READWRITE_SECTIONS, OTHER_BSS_SECTIONS, OTHER_GOT_RELOC_SECTIONS,
799 DATA_START_SYMBOLS, OTHER_SYMBOLS, DATA_PLT, PLT_BEFORE_GOT,
800 TEXT_DYNAMIC): Define.
801 * emulparams/hppa64linux.sh: Adjust comments.
802 * scripttempl/elf64hppa.sc: New file.
803
58e24671
RW
8042009-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
805
806 * configure: Regenerate.
807
5b9c6027
DK
8082009-02-27 Dave Korn <dave.korn.cygwin@gmail.com>
809
810 * emultempl/pe.em (gld_${EMULATION_NAME}_before_parse): Set
811 default state of auto-import flag based on $target.
812
07d72278
DJ
8132009-02-24 Joseph Myers <joseph@codesourcery.com>
814
815 * ld.texinfo (ARM): Document changed meaning of --stub-group-size.
816 * emultempl/armelf.em (hook_in_stub): Insert after the input section.
817 (elf32_arm_add_stub_section): Update comment.
818 (PARSE_AND_LIST_OPTIONS): Update help for --stub-group-size.
819
2509a395
SL
8202009-02-24 Sandra Loosemore <sandra@codesourcery.com>
821
822 * ld.texinfo (Options): Correct typos in example. Recommend
823 using joined forms of syntax for passing options with arguments
824 from a driver.
825 (-a): Use consistent syntax for documenting option arguments.
826 Clean up indexing and markup.
827 (-A/--architecture): Likewise.
828 (-f/--auxiliary): Likewise.
829 (-F/--filter): Likewise.
830 (-fini): Likewise.
831 (-G/--gpsize): Likewise.
832 (-h/-soname):Likewise.
833 (-init): Likewise.
834 (-l/--library): Likewise.
835 (-L/--library-path): Likewise.
836 (-m): Likewise.
837 (--defsym): Likewise.
838 (-I/--dynamic-linker): Likewise.
839 (-Map): Likewise.
840 (--oformat): Likewise.
841 (--retain-symbols-file): Likewise.
842 (-rpath): Likewise.
843 (-rpath-link): Likewise.
844 (--sort-common): Likewise.
845 (--sort-section): Likewise.
846 (--split-by-file): Likewise.
847 (--split-by-reloc): Likewise.
848 (--sysroot): Likewise.
849 (--section-start): Likewise.
850 (-Tbss, -Tdata, -Ttext): Likewise.
851 (-Ttext-segment): Likewise.
852 (--version-script): Likewise.
853 (--wrap): Likewise.
854
44cf6883 8552009-02-18 Dave Korn <dave.korn.cygwin@gmail.com>
88183869
DK
856
857 * ld.texinfo: Update to mention long section name options.
858 * NEWS: Mention new behaviour and command-line options.
859 * pe-dll.c (pe_use_coff_long_section_names): New global variable.
860 (pe_output_file_set_long_section_names): New function.
861 (pe_dll_build_sections): Call it on output BFDs.
862 (pe_exe_build_sections): Likewise.
863 (pe_dll_fill_sections): Likewise.
864 (pe_exe_fill_sections): Likewise.
865 * pe-dll.h (pe_use_coff_long_section_names): Declare extern.
866 (pe_output_file_set_long_section_names): Add prototype.
867 * pep-dll.c (pe_use_coff_long_section_names): Define pep_ alias.
868 (pe_output_file_set_long_section_names): Likewise.
869 * pep-dll.h (pep_use_coff_long_section_names): Declare extern.
870 (pep_output_file_set_long_section_names): Add prototype.
871 * pe.em (OPTION_ENABLE_LONG_SECTION_NAMES): New getopt value macro.
872 (OPTION_DISABLE_LONG_SECTION_NAMES): Likewise.
873 (gld${EMULATION_NAME}_add_options): Add new options to xtra_long[].
874 (gld_${EMULATION_NAME}_list_options): Describe them.
875 (gld${EMULATION_NAME}_handle_option): Set or clear global
876 pe_use_coff_long_section_names flag when options recognised.
877 (gld_${EMULATION_NAME}_after_open): En/disable long section names
878 for main output bfd by calling pe_output_file_set_long_section_names.
879 * pep.em (enum options): Extend enum with new getopt option values.
880 (gld${EMULATION_NAME}_add_options): Add new options to xtra_long[].
881 (gld_${EMULATION_NAME}_list_options): Describe them.
882 (gld${EMULATION_NAME}_handle_option): Set or clear global
883 pe_use_coff_long_section_names flag when options recognised.
884 (gld_${EMULATION_NAME}_after_open): En/disable long section names
885 for main output bfd by calling pep_output_file_set_long_section_names.
886
1491f1f0
DK
8872009-02-16 Dave Korn <dave.korn.cygwin@gmail.com>
888
889 * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Don't emit
890 inadvertent .reloc sections caused by refactoring accident.
891
d2ae7be0
AM
8922009-02-16 Alan Modra <amodra@bigpond.net.au>
893
894 * ldlang.c (process_insert_statements): ASSERT that output section
895 statements are in order.
896
bde18da4
AM
8972009-02-16 Alan Modra <amodra@bigpond.net.au>
898
899 * ldlang.c (push_stat_ptr, pop_stat_ptr): New functions.
900 (stat_save, stat_save_ptr): New variables.
901 (lang_insert_orphan): Use push_stat_ptr and pop_stat_ptr.
902 (load_symbols): Likewise. Delete dead "bad_load" code.
903 (open_input_bfds): Warn on script containing output sections.
904 (lang_enter_output_section_statement): Use push_stat_ptr.
905 (lang_enter_group): Likewise.
906 (lang_leave_output_section_statement): Use pop_stat_ptr.
907 (lang_leave_group): Likewise.
908 * ldlang.h (push_stat_ptr, pop_stat_ptr): Declare.
909 * ldctor.c (ldctor_build_sets): Use push_stat_ptr and pop_stat_ptr.
910 * emultempl/beos.em (gld_${EMULATION_NAME}_set_symbols): Likewise.
911 * emultempl/pe.em (gld_${EMULATION_NAME}_set_symbols): Likewise.
912 * emultempl/pep.em (gld_${EMULATION_NAME}_set_symbols): Likewise.
913 * emultempl/spuelf.em (spu_place_special_section): Likewise.
914 * emultempl/xtensaelf.em (ld_xtensa_insert_page_offsets): Likewise.
915
662ef24b
NS
9162009-02-09 Nathan Sidwell <nathan@codesourcery.com>
917
918 Missing piece of 2009-01-26 commit
919 * ldlang.c (lang_process): Don't consider relocatable flag when
920 checking for overlap.
921
268e4015
JM
9222009-02-05 Joseph Myers <joseph@codesourcery.com>
923
924 * emulparams/m68kelf.sh: Add newline at end of file.
925
903249d7
NC
9262009-02-04 Nick Clifton <nickc@redhat.com>
927
928 PR 9805
929 * ld.texinfo (--allow-shlib-undefined): Correct description of
930 default settings and tidy up the rest of the entry.
931
df636c05
AM
9322009-02-04 Alan Modra <amodra@bigpond.net.au>
933
934 * emultempl/spuelf.em (spu_after_open): Don't combine .text.ia.*
935 during relocatable link.
936
8a308ae8
NC
9372009-02-03 Nick Clifton <nickc@redhat.com>
938
939 PR 9797
940 * ld.texinfo (Constants): Document the base-encoding suffixes
941 supported in linker scripts.
942
28024d9d
L
9432009-02-03 Alan Modra <amodra@bigpond.net.au>
944
945 * NEWS: Mention --as-needed change.
946
31dd3154
JM
9472009-02-03 Carlos O'Donell <carlos@codesourcery.com>
948
949 * configure.in: AC_SUBST pdfdir.
950 * Makefile.am: Add install-pdf, install-pdf-am,
951 and install-pdf-recursive targets. Define pdf__strip_dir.
952 * po/Make-in: Add install-pdf target.
953 * configure: Regenerate.
954 * Makefile.in: Regenerate.
955
010e5ae2
AM
9562009-01-31 Alan Modra <amodra@bigpond.net.au>
957
958 * ld.texinfo (--as-needed): Update.
959
893dcb0e
JM
9602009-01-29 Andrew Jenner <andrew@codesourcery.com>
961
962 * emultempl/armelf.em: Correct formatting of help text for
963 --no-enum-size-warning option.
964
02b0b1aa
NS
9652009-01-26 Nathan Sidwell <nathan@codesourcery.com>
966
967 * lexsup.c (parse_args): Set check_section_addresses to 1 or 0.
968 * ld.h (args_type): Make check_section_addresses a char.
02b0b1aa
NS
969 * ldmain.c (main): Default check_section_addresses to -1. Check it
970 for relocatable links.
971 * ld.texinfo (--check-sections): Update documentation.
972
9382254d
KT
9732009-01-26 Kai Tietz <kai.tietz@onevision.com>
974
975 * pe-dll.c (tmp_seq2): New static variable.
976 (make_singleton_name_imp): New.
977 (make_import_fixup_entry): Use for v2 the _imp_<name> symbol and
978 avoid duplicate import table generation for same symbol.
979 (pe_create_runtime_relocator_reference): Make reference for
980 64-bit 8 bytes.
981
fb266b8b
AM
9822009-01-21 Alan Modra <amodra@bigpond.net.au>
983
984 * emultempl/spuelf.em (params): Init new field.
985 (OPTION_SPU_NON_IA_TEXT): Define.
986 (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add --non-ia-text.
987 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_SPU_NON_IA_TEXT.
988
258795f5
L
9892009-01-16 H.J. Lu <hongjiu.lu@intel.com>
990
991 * lexsup.c (option_values): Add OPTION_TTEXT_SEGMENT.
992 (ld_options): Add -Ttext-segment.
993 (parse_args): Handle OPTION_TTEXT_SEGMENT.
994
995 * ld.texinfo: Document -Ttext-segment.
996
997 * NEWS: Mention -Ttext-segment.
998
999 * scripttempl/elf.sc (TEXT_START_ADDR): Use SEGMENT_START.
1000 (SHLIB_TEXT_START_ADDR): Likewise.
1001
8d8047c4
AM
10022009-01-13 Alan Modra <amodra@bigpond.net.au>
1003
1004 * emultempl/spu_icache.o_c: Regenerate.
1005
cd4a7468
AM
10062009-01-12 Alan Modra <amodra@bigpond.net.au>
1007
1008 * emultempl/spuelf.em (params): Init new fields.
1009 (num_lines_set, line_size_set, icache_mgr, icache_mgr_stream): New vars.
1010 (spu_place_special_section): Adjust placement for soft-icache. Pad
1011 soft-icache section to a fixed size. Clear addr_tree.
1012 (spu_elf_load_ovl_mgr): Support soft-icache. Map overlay manager
1013 sections a little more intelligently.
1014 (gld${EMULATION_NAME}_finish): Don't call spu_elf_build_stubs.
1015 (OPTION_SPU_NUM_LINES): Rename from OPTION_SPU_NUM_REGIONS.
1016 (OPTION_SPU_SOFT_ICACHE, OPTION_SPU_LINE_SIZE): Define.
1017 (OPTION_SPU_LRLIVE): Define.
1018 (PARSE_AND_LIST_LONGOPTS): Add new soft-icache options.
1019 (PARSE_AND_LIST_OPTIONS): Likewise.
1020 (PARSE_AND_LIST_ARGS_CASES): Handle them.
1021 * emultempl/spu_icache.S: Dummy file.
1022 * emultempl/spu_icache.o_c: Regenerate.
1023 * Makefile.am (eelf32_spu.c): Depend on spu_icache.o_c.
1024 (spu_icache.o_c): Add rule to build.
1025 (CLEANFILES): Zap temp files.
1026 (EXTRA_DIST): Add spu_icache.o_c.
1027 * Makefile.in: Regenerate.
1028
ce11ba6c
KT
10292009-01-08 Kai Tietz <kai.tietz@onevision.com>
1030
1031 * pe.em (OPTION_USE_NUL_PREFIXED_IMPORT_TABLES): New.
1032 (gld..._add_options): Add new option
1033 --use-nul-prefixed-import-tables.
1034 (gld..._handle_option): Likewise.
1035 * pep.em: Same as for pe.em.
1036 * ld.texinfo: Add new option documentation for
1037 --use-nul-prefixed-import-tables.
1038 * pe-dll.c (pe_use_nul_prefixed_import_tables): New.
1039 (make_head): Make prefix leading zero prefix element for
1040 idata$4 and idata$5 dependent to new flag.
1041 (make_import_fixup_entry): Remove idata4/5 prefix.
1042 * pe-dll.h (pe_use_nul_prefixed_import_tables): New.
1043 * pep-dll.c (pe_use_nul_prefixed_import_tables): New.
1044 * pep-dll.h (pep_use_nul_prefixed_import_tables): New.
1045 * NEWS: Add new option.
1046
d34c1c51
KT
10472009-01-05 Kai Tietz <kai.tietz@onevision.com>
1048
1049 * emultempl/pe.em: Prefix dollar characters to be outputed in
1050 generated C file.
1051 * emultempl/pep.em: Likewise.
1052
e1c37eb5
DK
10532009-01-03 Dave Korn <dave.korn.cygwin@gmail.com>
1054
1055 * NEWS: Mention new feature --exclude-modules-for-implib.
1056 * ld.texinfo: Document new --exclude-modules-for-implib option.
1057 * pe-dll.c (exclude_list_struct): Change type member from int to
1058 new enumeration exclude_type.
1059 (pe_dll_add_excludes): Accept exclude_type instead of int param.
1060 (auto_export): Replace magic constants by exclude_type values and
1061 handle new choice EXCLUDEFORIMPLIB.
1062 (pe_dll_generate_implib): Accept a pointer to the link_info and
1063 iterate all input BFDs looking for EXCLUDEFORIMPLIB modules; re-open
1064 fresh BFDs for any found and link into import lib archive chain.
1065 * pe-dll.h (exclude_type): Add new enumerated type to replace magic
1066 constants previously used for exclude_list_struct type member.
1067 (pe_dll_add_excludes, pe_dll_generate_implib): Update prototypes.
1068 * pep-dll.h (exclude_type, pe_dll_add_excludes,
1069 pe_dll_generate_implib): Likewise to all the above.
1070 * emultempl/pe.em (OPTION_EXCLUDE_MODULES_FOR_IMPLIB): Define new
1071 getopts long option code for new --exclude-modules-for-implib option.
1072 (gld${EMULATION_NAME}_add_options): Add new entry to xtra_long[].
1073 (gld_${EMULATION_NAME}_list_options): List usage for it.
1074 (gld${EMULATION_NAME}_handle_option): Use exclude_type enumerated
1075 values when calling pe_dll_add_excludes, and handle EXCLUDEFORIMPLIB.
1076 (gld_${EMULATION_NAME}_finish): Pass pointer to link_info when
1077 calling pe_dll_generate_implib.
1078 * emultempl/pep.em (options): Define new enumerated value for getopts
1079 long option code for new --exclude-modules-for-implib option.
1080 (gld${EMULATION_NAME}_add_options, gld_${EMULATION_NAME}_list_options,
1081 gld${EMULATION_NAME}_handle_option, gld_${EMULATION_NAME}_finish):
1082 Again, likewise to all the above.
1083
81b07b16 10842009-01-03 Dave Korn <dave.korn.cygwin@gmail.com>
84e94c90 1085
81b07b16
DK
1086 * pe-dll.c (autofilter_liblist): Add entry for shared libgcc.
1087 (libnamencmp): New function.
1088 (auto_export): Use it in place of strncmp when filtering libraries.
84e94c90 1089
81b07b16 1090For older changes see ChangeLog-2008
252b5132
RH
1091\f
1092Local Variables:
1093mode: change-log
1094left-margin: 8
1095fill-column: 74
1096version-control: never
1097End:
This page took 0.533869 seconds and 4 git commands to generate.