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