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