* scripttempl/mmo.sc: For relocateable links, set $OUTPUT_FORMAT to
[deliverable/binutils-gdb.git] / ld / ChangeLog
CommitLineData
18c32df5
HPN
12009-07-29 Hans-Peter Nilsson <hp@bitrange.com>
2
3 * scripttempl/mmo.sc: For relocateable links, set $OUTPUT_FORMAT to
4 the new $RELOCATEABLE_OUTPUT_FORMAT, if set.
5 (OUTPUT_FORMAT): Use the variable $OUTPUT_FORMAT.
6 (ENTRY): Don't emit for relocateable links.
7 (/DISCARD/): Don't discard .gnu.warning.* for relocateable links.
8 * emulparams/mmo.sh (RELOCATEABLE_OUTPUT_FORMAT): Set, to
9 elf64-mmix.
10 * emulparams/elf64mmix.sh (OTHER_TEXT_SECTIONS): Empty, don't
11 provide "Main" or set "_start.", for relocateable links.
12
c38fbd5c
NC
132009-07-27 Nick Clifton <nickc@redhat.com>
14
15 * (po/fi.po): Updated Finnish translation.
16
8a9036a4
L
172009-07-25 H.J. Lu <hongjiu.lu@intel.com>
18
19 * configure.tgt (targ64_extra_emuls): Add elf_l1om if elf_x86_64
20 is supported. Add elf_l1om_fbsd if elf_x86_64_fbsd is supported.
21 (targ_extra_emuls): Likewise.
22
23 * Makefile.am (ALL_64_EMULATIONS): Add eelf_l1om.o and
24 eelf_l1om_fbsd.o
25 (eelf_l1om.c): New.
26 (eelf_l1om_fbsd.c): Likewise.
27 * Makefile.in: Regenerated.
28
29 * emulparams/elf_l1om.sh: New.
30 * emulparams/elf_l1om_fbsd.sh: Likewise.
31
3e7a7d11
NC
322009-07-23 Ulrich Drepper <drepper@redhat.com>
33
34 * NEWS: Mention the linker's support for symbols with a binding of
35 STB_GNU_UNIQUE.
36
249b2a84
L
372009-07-22 H.J. Lu <hongjiu.lu@intel.com>
38
39 PR ld/10429
40 * ldlang.c (insert_os_after): Tie assignments to non-alloc
41 output sections if there is no-input section.
42
0fa4d7cf
AM
432009-07-11 Alan Modra <amodra@bigpond.net.au>
44
45 * ldlang.c (insert_os_after): Don't tie assignments to non-alloc
46 output sections.
47
4135c73b
AM
482009-07-10 Alan Modra <amodra@bigpond.net.au>
49
50 * emultempl/ppc32elf.em (ppc_before_allocation): Turn on
51 linker relaxation if it might be necessary.
52
e054468f
AM
532009-07-10 Alan Modra <amodra@bigpond.net.au>
54
55 * emulparams/elf32ppc.sh (GOTPLT, PLT): Handle .iplt.
56
07d8eb55
NC
572009-07-06 Matthias Klose <doko@ubuntu.com>
58
249b2a84 59 * ld.texinfo: Fix typo.
07d8eb55 60
27505b5d
TG
612009-07-03 Tristan Gingold <gingold@adacore.com>
62
63 * scripttempl/pep.sc: Put .eh_frame in its own section.
64 * scripttempl/pe.sc: Ditto.
65
a626fe20
KT
662009-06-26 Kai Tietz <kai.tietz@onevision.com>
67
68 * scripttempl/pe.sc (.debug_pubtypes): Added section rule.
69 * scripttempl/pep.sc: Likewise.
70
d64703c6
TG
712009-06-25 Tristan Gingold <gingold@adacore.com>
72
73 * ldlang.c (print_input_section): Add is_discarded parameter. Adjust
74 prototype.
75 (lang_map): Print the size of discarded sections.
76 (print_statement): Adjust call to print_input_section.
77
361dff73
DK
782009-06-18 Dave Korn <dave.korn.cygwin@gmail.com>
79
32425da9 80 Merge cegcc and mingw32ce target name changes from CeGCC project:
361dff73 81
32425da9 82 2008-09-24 Pedro Alves <pedroalves@users.sourceforge.net>
361dff73
DK
83
84 * configure.tgt (arm*-*-cegcc*): Set LIB_PATH to
85 ${tooldir}/lib/w32api.
86
32425da9 87 2007-12-25 Pedro Alves <pedro_alves@portugalmail.pt>
361dff73
DK
88
89 * configure.tgt: Add arm*-*-cegcc* target.
90
32425da9 91 2007-12-17 Pedro Alves <pedro_alves@portugalmail.pt>
361dff73
DK
92
93 * configure.tgt: Add arm-*-mingw32ce* target.
94
f3711133
PB
952009-06-10 Philip Blundell <philb@gnu.org>
96
97 * emultempl/armelf.em (gld${EMULATION_NAME}_finish): Avoid crash
98 if section has no ELF data.
99
2a81c24a
L
1002009-06-06 H.J. Lu <hongjiu.lu@intel.com>
101
102 * scripttempl/elf.sc: Add .rel.ifunc and .rela.ifunc.
103
fc1e8789
L
1042009-06-05 H.J. Lu <hongjiu.lu@intel.com>
105
106 * scripttempl/elf.sc: Remove .rel.ifunc.dyn and .rela.ifunc.dyn.
107
67a648f1
AM
1082009-06-04 Alan Modra <amodra@bigpond.net.au>
109
110 * dep-in.sed: Don't use \n in replacement part of s command.
111 * Makefile.am (DEP1): LC_ALL for uniq.
112 * Makefile.in: Regenerate.
113
3aa14d16
L
1142009-06-01 H.J. Lu <hongjiu.lu@intel.com>
115
116 * scripttempl/elf.sc (PLT): Add "*(.iplt)".
117 (GOT): Add "*(.igot.plt)a" and "*(.igot)".
118 (GOTPLT): Add "*(.igot)".
119 (__rel_iplt_start): New.
120 (__rel_iplt_end): Likewise.
121 (__rela_iplt_start): Likewise.
122 (__rela_iplt_end): Likewise.
123
05056a8d
DK
1242009-05-27 Dave Korn <dave.korn.cygwin@gmail.com>
125
126 * deffilep.y (%union): Add new string-type semantic value 'digits'.
127 (%token): Remove NUMBER as token, add DIGITS.
128 (%type): Add NUMBER as type. Add new id types anylang_id, opt_id.
129 (ALIGNCOMM): Parse an anylang_id instead of a plain ID.
130 (anylang_id): New production.
131 (opt_digits): Likewise.
132 (opt_id): Likewise.
133 (NUMBER): Likewise.
134 (def_lex): Return strings of digits in raw string form as DIGITS
135 token, instead of converting to numeric integer type.
136
c8a1f254
NS
1372009-05-26 Nathan Sidwell <nathan@codesourcery.com>
138
139 * ldmain.c (main): Don't reject --relax -r.
140 * ld.texinfo (PowerPC ELF32): Document behaviour of relaxing
141 partial links.
142
f12e7348
NC
1432009-05-26 Nick Clifton <nickc@redhat.com>
144
145 * po/id.po: Updated Indonesian translation.
146 * po/ld.pot: Updated template file.
147
00f3247a
AM
1482009-05-26 Alan Modra <amodra@bigpond.net.au>
149
150 * dep-in.sed: Output one filename per line with all lines having
151 continuation backslash. Prefix first line with "A", following
152 lines with "B".
153 * Makefile.am (DEP): Don't use dep.sed here.
154 (DEP1): Run $MKDEP on single files, use dep.sed here on dependencies,
155 sort and uniq.
156 * Makefile.in: Regenerate.
157
e50d6125
AM
1582009-05-26 Alan Modra <amodra@bigpond.net.au>
159
160 * ldlang.c (lang_check_section_addresses): Ignore non-alloc sections.
161
48229727
JB
1622009-05-22 Julian Brown <julian@codesourcery.com>
163
164 * emultempl/armelf.em (fix_cortex_a8): New.
165 (arm_elf_before_allocation): Call bfd_elf32_arm_set_cortex_a8_fix.
166 (arm_elf_create_output_section_statements): Add fix_cortex_a8 to
167 bfd_elf32_arm_set_target_relocs.
168 (OPTION_FIX_CORTEX_A8, OPTION_NO_FIX_CORTEX_A8): New.
169 (PARSE_AND_LIST_LONGOPTS): Add [no-]fix-cortex-a8 options.
170 (PARSE_AND_LIST_OPTIONS): Add [no-]fix-cortex-a8 options.
171 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_[NO_]FIX_CORTEX_A8.
172 * ld.texinfo (--[no-]fix-cortex-a8): Briefly document new options.
173
ec6d26be
NS
1742009-05-22 Nathan Sidwell <nathan@codesourcery.com>
175
176 * ldlang.c (lang_check_section_addresses): Ignore non-loadable
177 sections when checking for overlap. Clarify error message
178 concerns load address.
179
2b3decb5
AM
1802009-05-22 Alan Modra <amodra@bigpond.net.au>
181
182 * Makefile.am: Run "make dep-am".
183 * Makefile.in: Regenerate.
184
c1711530
DK
1852009-05-19 Dave Korn <dave.korn.cygwin@gmail.com>
186
187 * NEWS: Mention new feature.
188 * deffile.h (def_file_aligncomm): Add new struct definition.
189 (def_file): Add new def_file_aligncomm member.
190 * deffilep.y (%token): Add new ALIGNCOMM token.
191 (command): Add production rule for ALIGNCOMM.
192 (def_file_free): Free any chained def_file_aligncomm structs.
193 (diropts[]): Add entry for '-aligncomm' .drectve command.
194 (def_aligncomm): New grammar function.
195 * ld.texinfo: Document new feature.
196 * pe-dll.c (process_def_file): Rename from this ...
197 (process_def_file_and_drectve): ... to this, updating all callers,
198 and process any aligncomms chained to the def file after scanning
199 all .drectve sections.
200 (generate_edata): Updated to match.
201 (pe_dll_build_sections): Likewise.
202
b982bd05 2032009-05-17 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
177b81d6
DK
204
205 * pe-dll.c (process_def_file): Do not create empty export table.
206
d127ecce
AM
2072009-05-15 Alan Modra <amodra@bigpond.net.au>
208
209 * ldlang.c (lang_output_section_statement_lookup): Add function
210 comment. Make "name" non-const. Ensure duplicate entries use
211 the same string, allowing simple comparison in hash bucket loop.
212 Tweak constraint check.
213 (next_matching_output_section_statement): New function.
214 * ldlang.h (lang_output_section_statement_lookup): Update.
215 (next_matching_output_section_statement): Declare.
216 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
217 combine orphan sections when input sections flags differ in
218 alloc or load.
219 * emultempl/pe.em: Formatting throughout.
220 (gld${EMULATION_NAME}_place_orphan): As for elf32.em.
221 * emultempl/pep.em: Formatting throughout.
222 (gld${EMULATION_NAME}_place_orphan): As for elf32.em.
223
cdc83fba
UW
2242009-05-14 Ulrich Weigand <uweigand@de.ibm.com>
225
226 * emultempl/spuelf.em (PARSE_AND_LIST_ARGS_CASES): Always use
227 compact stubs with software i-cache.
228
bbb0fc04
AM
2292009-05-14 Alan Modra <amodra@bigpond.net.au>
230
231 * emultempl/spuelf.em (spu_before_allocation): Call
232 spu_elf_place_overlay_data.
233
011aa75f
AM
2342009-05-14 Alan Modra <amodra@bigpond.net.au>
235
236 * ldlang.c (lang_insert_orphan): Add __start_<section> symbol
237 assignment inside output section statement. Ensure only one
238 set of symbols per output section.
239 * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Add non-
240 dollar sections before dollar sections. Correct add_child
241 list insertion.
242 * emultempl/pep.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
243
2468f9c9
PB
2442009-05-05 Paul Brook <paul@codesourcery.com>
245
246 * emultempl/armelf.em (compare_output_sec_vma): New function.
247 (gld${EMULATION_NAME}_finish): Add exidx munging code.
248
84f1b567
NC
2492009-05-05 Anatoly Sokolov <aesok@post.ru>
250
251 * scripttempl/avr.sc (MEMORY): Use DATA_ORIGIN.
252 * emulparams/avr1.sh (DATA_ORIGIN): Add.
253 * emulparams/avr2.sh (DATA_ORIGIN): Add.
254 * emulparams/avr25.sh (DATA_ORIGIN): Add.
255 * emulparams/avr3.sh (DATA_ORIGIN): Add.
256 * emulparams/avr31.sh (DATA_ORIGIN): Add.
257 * emulparams/avr35.sh (DATA_ORIGIN): Add.
258 * emulparams/avr4.sh (DATA_ORIGIN): Add.
259 * emulparams/avr5.sh (DATA_ORIGIN): Add.
260 * emulparams/avr51.sh (DATA_ORIGIN): Add.
261 (DATA_LENGTH): Update.
262 * emulparams/avr6.sh (DATA_ORIGIN): Add.
263 (DATA_LENGTH): Update.
264
09e2aba4
DK
2652009-05-04 Dave Korn <dave.korn.cygwin@gmail.com>
266
267 * NEWS: Mention new feature.
268 * ld.texinfo (--version-script): Document extent of PE support.
269 (WIN32): Mention --version-script. Extend auto-export description.
270 * pe-dll.c (process_def_file): Use version script info to filter
271 symbols from auto-export.
272 * testsuite/ld-pe/vers-script-1.d: New file.
273 * testsuite/ld-pe/vers-script-2.d: New file.
274 * testsuite/ld-pe/vers-script-3.d: New file.
275 * testsuite/ld-pe/vers-script-4.d: New file.
276 * testsuite/ld-pe/vers-script-1.ver: New file.
277 * testsuite/ld-pe/vers-script-2.ver: New file.
278 * testsuite/ld-pe/vers-script-3.ver: New file.
279 * testsuite/ld-pe/vers-script-4.ver: New file.
280 * testsuite/ld-pe/vers-script-dll.c: New file.
281 * testsuite/ld-pe/vers-script.exp: New test script.
282
1f7f5cbe
NS
2832009-05-01 Nathan Sidwell <nathan@codesourcery.com>
284
285 * emulparams/vxworks.sh (TEXT_START_ADDR): Override.
286
d8045f23
NC
2872009-04-30 Nick Clifton <nickc@redhat.com>
288
289 * NEWS: Mention support for IFUNC symbols.
290
efaf18f3
AG
2912009-04-29 Anthony Green <green@moxielogic.com>
292
293 * emulparams/elf32moxie.sh (STACK_ADDR): Move default stack
294 position out to accommodate larger programs.
295
267e2722
CD
2962009-04-29 Chris Demetriou <cgd@google.com>
297
298 * lexsup.c (option_values): Add OPTION_NO_EXPORT_DYNAMIC.
299 (ld_options): Likewise.
300 (parse_args): Likewise.
301 * ld.texinfo: Document --no-export-dynamic.
302 * NEWS: Mention --no-export-dynamic.
303
8e58566f
AM
3042009-04-29 Alan Modra <amodra@bigpond.net.au>
305
306 * deffilep.y (STACKSIZE_K): Rename from STACKSIZE.
307
f50230ae
AM
3082009-04-25 Alan Modra <amodra@bigpond.net.au>
309
310 PR 10061
311 * genscripts.sh: Don't pass $EMULATION_NAME as $CUSTOMIZER_SCRIPT
312 param.
313
3e6b1042
DJ
3142009-04-21 Daniel Jacobowitz <dan@codesourcery.com>
315
316 * emultempl/armelf.em (bfd_for_interwork, arm_elf_after_open)
317 (arm_elf_set_bfd_for_interworking): Delete.
318 (arm_elf_before_allocation): Do not set the interworking BFD.
319 Move allocation inside not-dynamic block.
320 (arm_elf_create_output_section_statements): Create glue sections
321 and set the interworking BFD here.
322 (LDEMUL_AFTER_OPEN): Delete.
323
3023e3f6
RS
3242009-04-16 Richard Sandiford <r.sandiford@uk.ibm.com>
325
326 * ldlang.c (lang_one_common): Use bfd_define_common_symbol.
327
20135e4c
NC
3282009-04-15 Anthony Green <green@moxielogic.com>
329
330 * configure.tgt: Add moxie support.
331 * Makefile.am: Add moxie files.
332 * Makefile.in: Rebuilt.
333 * emulparams/elf32moxie.sh: New file.
334 * scripttempl/moxie.sc: New file.
335
39e65143
KH
3362009-04-15 Kazu Hirata <kazu@codesourcery.com>
337
338 * ldlang.c: Do not include limits.h.
339
c38b10fa
AM
3402009-04-14 Alan Modra <amodra@bigpond.net.au>
341
342 PR ld/10047
343 * ldfile.c (find_scripts_dir): Use make_relative_prefix to find
344 ldscripts in build tree. Don't repeat search for ../lib/ldscripts.
345
8c3e16f4
L
3462009-04-13 H.J. Lu <hongjiu.lu@intel.com>
347
348 * ldfile.c (ldfile_find_command_file): Revert the last change.
349
6dc6e834
L
3502009-04-11 H.J. Lu <hongjiu.lu@intel.com>
351
352 PR ld/10047
353 * ldfile.c (ldfile_find_command_file): First try raw name.
354
0c71d759
NC
3552009-04-09 Nick Clifton <nickc@redhat.com>
356
357 PR 9824
358 * ld.texinfo (Output Section Constraint): New node. Documents the
359 ONLY_IF_RO and ONLY_IF_RW constraints.
360 (Symbolic Constants): New node. Documents the CONSTANT operator.
361
fc15a272
AM
3622009-04-09 Thilo Fischer <thilo.fischer@uni-muenster.de>
363
364 * emultempl/spuelf.em (embedded_spu_file): Use pex_one in place
365 of fork/execvp.
366
a0c402a5
L
3672009-04-08 H.J. Lu <hongjiu.lu@intel.com>
368
369 * lexsup.c (option_values): Add OPTION_WARN_ALTERNATE_EM.
370 (ld_options): Likewise.
371 (parse_args): Likewise.
372
373 * ld.texinfo: Document --warn-alternate-em.
374
375 * NEWS: Mention --warn-alternate-em.
376
4d28413b
DD
3772009-04-07 DJ Delorie <dj@redhat.com>
378
379 * emulparams/elf32mep.sh: Change default endian to little.
380
6ce340f1
NC
3812009-04-07 Nick Clifton <nickc@redhat.com>
382
383 * ld.texinfo (Output Section Address): Note that specifying an
384 address for an output section will only change the location
385 counter if the output section is used.
386
32252ac1
KH
3872009-04-06 Kazu Hirata <kazu@codesourcery.com>
388
389 * ldfile.c (ldfile_find_command_file): Initialize result.
390
7d24f02c
KH
3912009-04-06 Kazu Hirata <kazu@codesourcery.com>
392
393 * ld.texinfo (-L): Mention that -L options do not affect how ld
394 searches for a linker script unless -T option is specified.
395 * ldfile.c (ldfile_find_command_file): Append the path obtained
396 from the program name to the search path instead of
397 prepending. Add a new parameter "default_only". Restrict the
398 search to the default script location if the new parameter is
399 true.
400 (ldfile_open_command_file_1): New.
401 (ldfile_open_command_file): Call ldfile_open_command_file_1.
402 (ldfile_open_default_command_file): New.
403
113e6845
NS
4042009-04-03 Nathan Sidwell <nathan@codesourcery.com>
405
406 * ldlang.c (lang_leave_output_section_statement): Set lma_region
407 if it is not overridden and section is for the same vma region as
408 the previous section.
409
8b747e1a
DK
4102009-04-02 Dave Korn <dave.korn.cygwin@gmail.com>
411
412 PR ld/6744
413 * ld.texinfo (--export-dynamic): Mention --export-all-symbols.
414 * emultempl/pe.em (gld_${EMULATION_NAME}_after_parse): Issue
415 warning if --export-dynamic was passed on command-line.
416 * emultempl/pep.em (gld_${EMULATION_NAME}_after_parse): Likewise.
417
24c611d1
RS
4182009-04-01 Richard Sandiford <r.sandiford@uk.ibm.com>
419
420 * emultempl/aix.em (gld${EMULATION_NAME}_open_dynamic_archive): New
421 function.
422 (ld_${EMULATION_NAME}_emulation): Use it.
423
4bf27aa9
L
4242009-03-20 H.J. Lu <hongjiu.lu@intel.com>
425
426 PR ld/9970
427 * ldlang.c (lang_end): Warn missing entry symbol for -pie.
428
ad2adbc8
AM
4292009-03-19 Alan Modra <amodra@bigpond.net.au>
430
431 * emultempl/spuelf.em (spu_before_allocation): Report errors from
432 spu_elf_find_overlays.
433
e9dfee34
L
4342009-03-18 H.J. Lu <hongjiu.lu@intel.com>
435
436 PR ld/6766
437 * lexsup.c (parse_args): Call ldlang_add_undef for -e.
438
8d25cc3d
AM
4392009-03-18 Alan Modra <amodra@bigpond.net.au>
440
441 * ld.h: Remove alloca handling.
442
a7e11ee1
AM
4432009-03-17 Alan Modra <amodra@bigpond.net.au>
444
445 * emultempl/spu_icache.S: Add new entry to dummy handler.
446 * emultempl/spu_icache.o_c: Regenerate.
447 * emultempl/spuelf.em (params): Init new field.
448 (no_overlays): New static var.
449 (spu_before_allocation): Use it.
450 (OPTION_SPU_COMPACT_STUBS): Define.
451 (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add compact-stubs.
452 (PARSE_AND_LIST_ARGS_CASES): Handle compact-stubs. Adjust no-overlays
453 handling.
454
bba21f15
AM
4552009-03-17 Alan Modra <amodra@bigpond.net.au>
456
457 * configure.host (HOSTING_LIBS): Two dollars on shell variable
458 expansion to suit make.
459
eccbf555
AM
4602009-03-17 Alan Modra <amodra@bigpond.net.au>
461
462 * configure.in: Invoke ACX_PROG_CMP_IGNORE_INITIAL.
463 * Makefile.am (check-DEJAGNU): Set DO_COMPARE.
464 * aclocal.m4: Regenerate.
465 * configure: Regenerate.
466 * Makefile.in: Regenerate.
467
b64232cc
RS
4682009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
469
470 * emultempl/aix.em (auto_export_flags): New variable.
471 (explicit_auto_export_flags): Likewise.
472 (OPTION_EXPALL, OPTION_EXPFULL): New enum values.
473 (OPTION_NOEXPALL, OPTION_NOEXPFULL): Likewise.
474 (gld${EMULATION_NAME}_add_options): Add -bexpall, -bexpfull,
475 -bnoexpall and -bnoexpfull.
476 (gld${EMULATION_NAME}_handle_option): Handle them.
477 (gld${EMULATION_NAME}_before_allocation): Update the call to
478 bfd_size_dynamic_sections.
479
858ef0ce
RS
4802009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
481
482 * emultempl/aix.em (gld${EMULATION_NAME}_handle_option): Make
483 -berok and -bernotok control link_info.unresolved_syms_in_objects
484 and link_info.unresolved_syms_in_shared_libs instead of
485 force_make_executable.
486
62008a16
RS
4872009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
488
489 * emultempl/aix.em (gld${EMULATION_NAME}_before_parse): Set
490 config.dynamic_link to TRUE.
491
9ec59d51
RS
4922009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
493
494 * emultempl/aix.em (gld${EMULATION_NAME}_before_allocation): Mark
495 .text, .data and .bss output sections as SEC_KEEP.
496
e5231592
RS
4972009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
498
499 * configure.tgt: Extend AIX 5 behavior to AIX 6 and above.
500
2f563b51 5012009-03-14 Dave Korn <dave.korn.cygwin@gmail.com>
249b2a84 502 Danny Smith <dannysmith@users.sourceforge.net>
2f563b51
DK
503
504 * emultmpl/pe.em (pe_dll_characteristics): New variable.
505 (OPTION_DYNAMIC_BASE, OPTION_FORCE_INTEGRITY, OPTION_NX_COMPAT,
506 OPTION_NO_ISOLATION. OPTION_NO_SEH, OPTION_NO_BIND,
507 OPTION_WDM_DRIVER, OPTION_TERMINAL_SERVER_AWARE):
508 New macros for options to set DllCharacteristics flag bits.
509 (gld${EMULATION_NAME}_add_options): Add dynamicbase, forceinteg,
510 nxcompat, no-isolation, no-seh, no-bind, wdmdriver, tsaware options.
511 (init): Add DllCharacteristics field.
512 (gld_${EMULATION_NAME}_list_options): List new options.
513 (gld${EMULATION_NAME}_handle_option): Handle new options.
514 * emultmpl/pep.em (pe_dll_characteristics): New variable.
515 (OPTION_DYNAMIC_BASE, OPTION_FORCE_INTEGRITY, OPTION_NX_COMPAT,
516 OPTION_NO_ISOLATION. OPTION_NO_SEH, OPTION_NO_BIND,
517 OPTION_WDM_DRIVER, OPTION_TERMINAL_SERVER_AWARE):
518 New macros for options to set DllCharacteristics flags.
519 (gld${EMULATION_NAME}_add_options): Add dynamicbase, forceinteg,
520 nxcompat,no-isolation, no-seh, no-bind, wdmdriver, tsaware options.
521 (init): Add DllCharacteristics field.
522 (gld_${EMULATION_NAME}_list_options): List new options.
523 (gld${EMULATION_NAME}_handle_option): Handle new options.
524 * ldtexinfo : Document dynamicbase, forceinteg, nxcompat,
525 no-isolation, no-seh, no-bind, wdmdriver, tsaware options.
526
d11fd249
NC
5272009-03-06 Nick Clifton <nickc@redhat.com>
528
529 * po/es.po: Updated Spanish translation.
530
3efd345c
DK
5312009-03-03 Dave Korn <dave.korn.cygwin@gmail.com>
532
533 * emultempl/pe.em (debug_section_p): New bfd_map_over_sections hook.
534 (gld_${EMULATION_NAME}_after_open): Use it to iterate all sections
535 of all input BFDs, looking for debug info. Enable long section names
536 if any found.
537 * emultempl/pe.em (debug_section_p): Likewise.
538 (gld_${EMULATION_NAME}_after_open): Likewise.
539 * NEWS: Retrospectively adjust news announcement.
540 * ld.texinfo: Update documentation to mention new behaviour.
541
a1f7ca36
AM
5422009-03-03 Alan Modra <amodra@bigpond.net.au>
543
544 * Makefile.am: Run "make dep-am".
545 * Makefile.in: Regenerate.
546
4a93e180
NC
5472009-03-02 Sebastian Huber <sebastian.huber@embedded-brains.de>
548
549 * ldgram.y: Add support for REGION_ALIAS operator.
550 * ldlang.c: Likewise.
551 * ldlang.h: Likewise.
552 * ldlex.l: Likewise.
553 * NEWS: Mention the new feature.
554 * ld.texinfo: Document the new feature.
555
c3b7224a
NC
5562009-03-02 Qinwei <qinwei@sunnorth.com.cn>
557
558 * Makefile.am: Replace score elf emulation with score3 and score7
559 emulations.
560 * Makefile.in: Regenerate,
561 * NEWS: Mention support for Score7 architecture.
562 * configure.tgt: Add score7 emulation to score-elf target.
563 * emulparams/scoreelf.sh: Add score7 support.
564 * emultempl/scoreelf.em: Likewise.
565
d1bbb13a
DA
5662009-03-01 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
567
568 * configure.tgt: Only use elf64hppa target emulation for hpux.
569 * emulparams/elf64hppa.sh: Don't include hppa64linux.sh.
570 (SCRIPT_NAME): Use new script elf64hppa.
571 (SCRIPT_NAME, ELFSIZE, NO_REL_RELOCS, ARCH, MACHINE, ENTRY,
572 TEMPLATE_NAME, GENERATE_SHLIB_SCRIPT, OTHER_READONLY_SECTIONS,
573 OTHER_READWRITE_SECTIONS, OTHER_BSS_SECTIONS, OTHER_GOT_RELOC_SECTIONS,
574 DATA_START_SYMBOLS, OTHER_SYMBOLS, DATA_PLT, PLT_BEFORE_GOT,
575 TEXT_DYNAMIC): Define.
576 * emulparams/hppa64linux.sh: Adjust comments.
577 * scripttempl/elf64hppa.sc: New file.
578
58e24671
RW
5792009-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
580
581 * configure: Regenerate.
582
5b9c6027
DK
5832009-02-27 Dave Korn <dave.korn.cygwin@gmail.com>
584
585 * emultempl/pe.em (gld_${EMULATION_NAME}_before_parse): Set
586 default state of auto-import flag based on $target.
587
07d72278
DJ
5882009-02-24 Joseph Myers <joseph@codesourcery.com>
589
590 * ld.texinfo (ARM): Document changed meaning of --stub-group-size.
591 * emultempl/armelf.em (hook_in_stub): Insert after the input section.
592 (elf32_arm_add_stub_section): Update comment.
593 (PARSE_AND_LIST_OPTIONS): Update help for --stub-group-size.
594
2509a395
SL
5952009-02-24 Sandra Loosemore <sandra@codesourcery.com>
596
597 * ld.texinfo (Options): Correct typos in example. Recommend
598 using joined forms of syntax for passing options with arguments
599 from a driver.
600 (-a): Use consistent syntax for documenting option arguments.
601 Clean up indexing and markup.
602 (-A/--architecture): Likewise.
603 (-f/--auxiliary): Likewise.
604 (-F/--filter): Likewise.
605 (-fini): Likewise.
606 (-G/--gpsize): Likewise.
607 (-h/-soname):Likewise.
608 (-init): Likewise.
609 (-l/--library): Likewise.
610 (-L/--library-path): Likewise.
611 (-m): Likewise.
612 (--defsym): Likewise.
613 (-I/--dynamic-linker): Likewise.
614 (-Map): Likewise.
615 (--oformat): Likewise.
616 (--retain-symbols-file): Likewise.
617 (-rpath): Likewise.
618 (-rpath-link): Likewise.
619 (--sort-common): Likewise.
620 (--sort-section): Likewise.
621 (--split-by-file): Likewise.
622 (--split-by-reloc): Likewise.
623 (--sysroot): Likewise.
624 (--section-start): Likewise.
625 (-Tbss, -Tdata, -Ttext): Likewise.
626 (-Ttext-segment): Likewise.
627 (--version-script): Likewise.
628 (--wrap): Likewise.
629
44cf6883 6302009-02-18 Dave Korn <dave.korn.cygwin@gmail.com>
88183869
DK
631
632 * ld.texinfo: Update to mention long section name options.
633 * NEWS: Mention new behaviour and command-line options.
634 * pe-dll.c (pe_use_coff_long_section_names): New global variable.
635 (pe_output_file_set_long_section_names): New function.
636 (pe_dll_build_sections): Call it on output BFDs.
637 (pe_exe_build_sections): Likewise.
638 (pe_dll_fill_sections): Likewise.
639 (pe_exe_fill_sections): Likewise.
640 * pe-dll.h (pe_use_coff_long_section_names): Declare extern.
641 (pe_output_file_set_long_section_names): Add prototype.
642 * pep-dll.c (pe_use_coff_long_section_names): Define pep_ alias.
643 (pe_output_file_set_long_section_names): Likewise.
644 * pep-dll.h (pep_use_coff_long_section_names): Declare extern.
645 (pep_output_file_set_long_section_names): Add prototype.
646 * pe.em (OPTION_ENABLE_LONG_SECTION_NAMES): New getopt value macro.
647 (OPTION_DISABLE_LONG_SECTION_NAMES): Likewise.
648 (gld${EMULATION_NAME}_add_options): Add new options to xtra_long[].
649 (gld_${EMULATION_NAME}_list_options): Describe them.
650 (gld${EMULATION_NAME}_handle_option): Set or clear global
651 pe_use_coff_long_section_names flag when options recognised.
652 (gld_${EMULATION_NAME}_after_open): En/disable long section names
653 for main output bfd by calling pe_output_file_set_long_section_names.
654 * pep.em (enum options): Extend enum with new getopt option values.
655 (gld${EMULATION_NAME}_add_options): Add new options to xtra_long[].
656 (gld_${EMULATION_NAME}_list_options): Describe them.
657 (gld${EMULATION_NAME}_handle_option): Set or clear global
658 pe_use_coff_long_section_names flag when options recognised.
659 (gld_${EMULATION_NAME}_after_open): En/disable long section names
660 for main output bfd by calling pep_output_file_set_long_section_names.
661
1491f1f0
DK
6622009-02-16 Dave Korn <dave.korn.cygwin@gmail.com>
663
664 * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Don't emit
665 inadvertent .reloc sections caused by refactoring accident.
666
d2ae7be0
AM
6672009-02-16 Alan Modra <amodra@bigpond.net.au>
668
669 * ldlang.c (process_insert_statements): ASSERT that output section
670 statements are in order.
671
bde18da4
AM
6722009-02-16 Alan Modra <amodra@bigpond.net.au>
673
674 * ldlang.c (push_stat_ptr, pop_stat_ptr): New functions.
675 (stat_save, stat_save_ptr): New variables.
676 (lang_insert_orphan): Use push_stat_ptr and pop_stat_ptr.
677 (load_symbols): Likewise. Delete dead "bad_load" code.
678 (open_input_bfds): Warn on script containing output sections.
679 (lang_enter_output_section_statement): Use push_stat_ptr.
680 (lang_enter_group): Likewise.
681 (lang_leave_output_section_statement): Use pop_stat_ptr.
682 (lang_leave_group): Likewise.
683 * ldlang.h (push_stat_ptr, pop_stat_ptr): Declare.
684 * ldctor.c (ldctor_build_sets): Use push_stat_ptr and pop_stat_ptr.
685 * emultempl/beos.em (gld_${EMULATION_NAME}_set_symbols): Likewise.
686 * emultempl/pe.em (gld_${EMULATION_NAME}_set_symbols): Likewise.
687 * emultempl/pep.em (gld_${EMULATION_NAME}_set_symbols): Likewise.
688 * emultempl/spuelf.em (spu_place_special_section): Likewise.
689 * emultempl/xtensaelf.em (ld_xtensa_insert_page_offsets): Likewise.
690
662ef24b
NS
6912009-02-09 Nathan Sidwell <nathan@codesourcery.com>
692
693 Missing piece of 2009-01-26 commit
694 * ldlang.c (lang_process): Don't consider relocatable flag when
695 checking for overlap.
696
268e4015
JM
6972009-02-05 Joseph Myers <joseph@codesourcery.com>
698
699 * emulparams/m68kelf.sh: Add newline at end of file.
700
903249d7
NC
7012009-02-04 Nick Clifton <nickc@redhat.com>
702
703 PR 9805
704 * ld.texinfo (--allow-shlib-undefined): Correct description of
705 default settings and tidy up the rest of the entry.
706
df636c05
AM
7072009-02-04 Alan Modra <amodra@bigpond.net.au>
708
709 * emultempl/spuelf.em (spu_after_open): Don't combine .text.ia.*
710 during relocatable link.
711
8a308ae8
NC
7122009-02-03 Nick Clifton <nickc@redhat.com>
713
714 PR 9797
715 * ld.texinfo (Constants): Document the base-encoding suffixes
716 supported in linker scripts.
717
28024d9d
L
7182009-02-03 Alan Modra <amodra@bigpond.net.au>
719
720 * NEWS: Mention --as-needed change.
721
31dd3154
JM
7222009-02-03 Carlos O'Donell <carlos@codesourcery.com>
723
724 * configure.in: AC_SUBST pdfdir.
725 * Makefile.am: Add install-pdf, install-pdf-am,
726 and install-pdf-recursive targets. Define pdf__strip_dir.
727 * po/Make-in: Add install-pdf target.
728 * configure: Regenerate.
729 * Makefile.in: Regenerate.
730
010e5ae2
AM
7312009-01-31 Alan Modra <amodra@bigpond.net.au>
732
733 * ld.texinfo (--as-needed): Update.
734
893dcb0e
JM
7352009-01-29 Andrew Jenner <andrew@codesourcery.com>
736
737 * emultempl/armelf.em: Correct formatting of help text for
738 --no-enum-size-warning option.
739
02b0b1aa
NS
7402009-01-26 Nathan Sidwell <nathan@codesourcery.com>
741
742 * lexsup.c (parse_args): Set check_section_addresses to 1 or 0.
743 * ld.h (args_type): Make check_section_addresses a char.
02b0b1aa
NS
744 * ldmain.c (main): Default check_section_addresses to -1. Check it
745 for relocatable links.
746 * ld.texinfo (--check-sections): Update documentation.
747
9382254d
KT
7482009-01-26 Kai Tietz <kai.tietz@onevision.com>
749
750 * pe-dll.c (tmp_seq2): New static variable.
751 (make_singleton_name_imp): New.
752 (make_import_fixup_entry): Use for v2 the _imp_<name> symbol and
753 avoid duplicate import table generation for same symbol.
754 (pe_create_runtime_relocator_reference): Make reference for
755 64-bit 8 bytes.
756
fb266b8b
AM
7572009-01-21 Alan Modra <amodra@bigpond.net.au>
758
759 * emultempl/spuelf.em (params): Init new field.
760 (OPTION_SPU_NON_IA_TEXT): Define.
761 (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add --non-ia-text.
762 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_SPU_NON_IA_TEXT.
763
258795f5
L
7642009-01-16 H.J. Lu <hongjiu.lu@intel.com>
765
766 * lexsup.c (option_values): Add OPTION_TTEXT_SEGMENT.
767 (ld_options): Add -Ttext-segment.
768 (parse_args): Handle OPTION_TTEXT_SEGMENT.
769
770 * ld.texinfo: Document -Ttext-segment.
771
772 * NEWS: Mention -Ttext-segment.
773
774 * scripttempl/elf.sc (TEXT_START_ADDR): Use SEGMENT_START.
775 (SHLIB_TEXT_START_ADDR): Likewise.
776
8d8047c4
AM
7772009-01-13 Alan Modra <amodra@bigpond.net.au>
778
779 * emultempl/spu_icache.o_c: Regenerate.
780
cd4a7468
AM
7812009-01-12 Alan Modra <amodra@bigpond.net.au>
782
783 * emultempl/spuelf.em (params): Init new fields.
784 (num_lines_set, line_size_set, icache_mgr, icache_mgr_stream): New vars.
785 (spu_place_special_section): Adjust placement for soft-icache. Pad
786 soft-icache section to a fixed size. Clear addr_tree.
787 (spu_elf_load_ovl_mgr): Support soft-icache. Map overlay manager
788 sections a little more intelligently.
789 (gld${EMULATION_NAME}_finish): Don't call spu_elf_build_stubs.
790 (OPTION_SPU_NUM_LINES): Rename from OPTION_SPU_NUM_REGIONS.
791 (OPTION_SPU_SOFT_ICACHE, OPTION_SPU_LINE_SIZE): Define.
792 (OPTION_SPU_LRLIVE): Define.
793 (PARSE_AND_LIST_LONGOPTS): Add new soft-icache options.
794 (PARSE_AND_LIST_OPTIONS): Likewise.
795 (PARSE_AND_LIST_ARGS_CASES): Handle them.
796 * emultempl/spu_icache.S: Dummy file.
797 * emultempl/spu_icache.o_c: Regenerate.
798 * Makefile.am (eelf32_spu.c): Depend on spu_icache.o_c.
799 (spu_icache.o_c): Add rule to build.
800 (CLEANFILES): Zap temp files.
801 (EXTRA_DIST): Add spu_icache.o_c.
802 * Makefile.in: Regenerate.
803
ce11ba6c
KT
8042009-01-08 Kai Tietz <kai.tietz@onevision.com>
805
806 * pe.em (OPTION_USE_NUL_PREFIXED_IMPORT_TABLES): New.
807 (gld..._add_options): Add new option
808 --use-nul-prefixed-import-tables.
809 (gld..._handle_option): Likewise.
810 * pep.em: Same as for pe.em.
811 * ld.texinfo: Add new option documentation for
812 --use-nul-prefixed-import-tables.
813 * pe-dll.c (pe_use_nul_prefixed_import_tables): New.
814 (make_head): Make prefix leading zero prefix element for
815 idata$4 and idata$5 dependent to new flag.
816 (make_import_fixup_entry): Remove idata4/5 prefix.
817 * pe-dll.h (pe_use_nul_prefixed_import_tables): New.
818 * pep-dll.c (pe_use_nul_prefixed_import_tables): New.
819 * pep-dll.h (pep_use_nul_prefixed_import_tables): New.
820 * NEWS: Add new option.
821
d34c1c51
KT
8222009-01-05 Kai Tietz <kai.tietz@onevision.com>
823
824 * emultempl/pe.em: Prefix dollar characters to be outputed in
825 generated C file.
826 * emultempl/pep.em: Likewise.
827
e1c37eb5
DK
8282009-01-03 Dave Korn <dave.korn.cygwin@gmail.com>
829
830 * NEWS: Mention new feature --exclude-modules-for-implib.
831 * ld.texinfo: Document new --exclude-modules-for-implib option.
832 * pe-dll.c (exclude_list_struct): Change type member from int to
833 new enumeration exclude_type.
834 (pe_dll_add_excludes): Accept exclude_type instead of int param.
835 (auto_export): Replace magic constants by exclude_type values and
836 handle new choice EXCLUDEFORIMPLIB.
837 (pe_dll_generate_implib): Accept a pointer to the link_info and
838 iterate all input BFDs looking for EXCLUDEFORIMPLIB modules; re-open
839 fresh BFDs for any found and link into import lib archive chain.
840 * pe-dll.h (exclude_type): Add new enumerated type to replace magic
841 constants previously used for exclude_list_struct type member.
842 (pe_dll_add_excludes, pe_dll_generate_implib): Update prototypes.
843 * pep-dll.h (exclude_type, pe_dll_add_excludes,
844 pe_dll_generate_implib): Likewise to all the above.
845 * emultempl/pe.em (OPTION_EXCLUDE_MODULES_FOR_IMPLIB): Define new
846 getopts long option code for new --exclude-modules-for-implib option.
847 (gld${EMULATION_NAME}_add_options): Add new entry to xtra_long[].
848 (gld_${EMULATION_NAME}_list_options): List usage for it.
849 (gld${EMULATION_NAME}_handle_option): Use exclude_type enumerated
850 values when calling pe_dll_add_excludes, and handle EXCLUDEFORIMPLIB.
851 (gld_${EMULATION_NAME}_finish): Pass pointer to link_info when
852 calling pe_dll_generate_implib.
853 * emultempl/pep.em (options): Define new enumerated value for getopts
854 long option code for new --exclude-modules-for-implib option.
855 (gld${EMULATION_NAME}_add_options, gld_${EMULATION_NAME}_list_options,
856 gld${EMULATION_NAME}_handle_option, gld_${EMULATION_NAME}_finish):
857 Again, likewise to all the above.
858
81b07b16 8592009-01-03 Dave Korn <dave.korn.cygwin@gmail.com>
84e94c90 860
81b07b16
DK
861 * pe-dll.c (autofilter_liblist): Add entry for shared libgcc.
862 (libnamencmp): New function.
863 (auto_export): Use it in place of strncmp when filtering libraries.
84e94c90 864
81b07b16 865For older changes see ChangeLog-2008
252b5132
RH
866\f
867Local Variables:
868mode: change-log
869left-margin: 8
870fill-column: 74
871version-control: never
872End:
This page took 0.512702 seconds and 4 git commands to generate.