*** empty log message ***
[deliverable/binutils-gdb.git] / ld / ChangeLog
CommitLineData
cdc83fba
UW
12009-05-14 Ulrich Weigand <uweigand@de.ibm.com>
2
3 * emultempl/spuelf.em (PARSE_AND_LIST_ARGS_CASES): Always use
4 compact stubs with software i-cache.
5
bbb0fc04
AM
62009-05-14 Alan Modra <amodra@bigpond.net.au>
7
8 * emultempl/spuelf.em (spu_before_allocation): Call
9 spu_elf_place_overlay_data.
10
011aa75f
AM
112009-05-14 Alan Modra <amodra@bigpond.net.au>
12
13 * ldlang.c (lang_insert_orphan): Add __start_<section> symbol
14 assignment inside output section statement. Ensure only one
15 set of symbols per output section.
16 * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Add non-
17 dollar sections before dollar sections. Correct add_child
18 list insertion.
19 * emultempl/pep.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
20
2468f9c9
PB
212009-05-05 Paul Brook <paul@codesourcery.com>
22
23 * emultempl/armelf.em (compare_output_sec_vma): New function.
24 (gld${EMULATION_NAME}_finish): Add exidx munging code.
25
84f1b567
NC
262009-05-05 Anatoly Sokolov <aesok@post.ru>
27
28 * scripttempl/avr.sc (MEMORY): Use DATA_ORIGIN.
29 * emulparams/avr1.sh (DATA_ORIGIN): Add.
30 * emulparams/avr2.sh (DATA_ORIGIN): Add.
31 * emulparams/avr25.sh (DATA_ORIGIN): Add.
32 * emulparams/avr3.sh (DATA_ORIGIN): Add.
33 * emulparams/avr31.sh (DATA_ORIGIN): Add.
34 * emulparams/avr35.sh (DATA_ORIGIN): Add.
35 * emulparams/avr4.sh (DATA_ORIGIN): Add.
36 * emulparams/avr5.sh (DATA_ORIGIN): Add.
37 * emulparams/avr51.sh (DATA_ORIGIN): Add.
38 (DATA_LENGTH): Update.
39 * emulparams/avr6.sh (DATA_ORIGIN): Add.
40 (DATA_LENGTH): Update.
41
09e2aba4
DK
422009-05-04 Dave Korn <dave.korn.cygwin@gmail.com>
43
44 * NEWS: Mention new feature.
45 * ld.texinfo (--version-script): Document extent of PE support.
46 (WIN32): Mention --version-script. Extend auto-export description.
47 * pe-dll.c (process_def_file): Use version script info to filter
48 symbols from auto-export.
49 * testsuite/ld-pe/vers-script-1.d: New file.
50 * testsuite/ld-pe/vers-script-2.d: New file.
51 * testsuite/ld-pe/vers-script-3.d: New file.
52 * testsuite/ld-pe/vers-script-4.d: New file.
53 * testsuite/ld-pe/vers-script-1.ver: New file.
54 * testsuite/ld-pe/vers-script-2.ver: New file.
55 * testsuite/ld-pe/vers-script-3.ver: New file.
56 * testsuite/ld-pe/vers-script-4.ver: New file.
57 * testsuite/ld-pe/vers-script-dll.c: New file.
58 * testsuite/ld-pe/vers-script.exp: New test script.
59
1f7f5cbe
NS
602009-05-01 Nathan Sidwell <nathan@codesourcery.com>
61
62 * emulparams/vxworks.sh (TEXT_START_ADDR): Override.
63
d8045f23
NC
642009-04-30 Nick Clifton <nickc@redhat.com>
65
66 * NEWS: Mention support for IFUNC symbols.
67
efaf18f3
AG
682009-04-29 Anthony Green <green@moxielogic.com>
69
70 * emulparams/elf32moxie.sh (STACK_ADDR): Move default stack
71 position out to accommodate larger programs.
72
267e2722
CD
732009-04-29 Chris Demetriou <cgd@google.com>
74
75 * lexsup.c (option_values): Add OPTION_NO_EXPORT_DYNAMIC.
76 (ld_options): Likewise.
77 (parse_args): Likewise.
78 * ld.texinfo: Document --no-export-dynamic.
79 * NEWS: Mention --no-export-dynamic.
80
8e58566f
AM
812009-04-29 Alan Modra <amodra@bigpond.net.au>
82
83 * deffilep.y (STACKSIZE_K): Rename from STACKSIZE.
84
f50230ae
AM
852009-04-25 Alan Modra <amodra@bigpond.net.au>
86
87 PR 10061
88 * genscripts.sh: Don't pass $EMULATION_NAME as $CUSTOMIZER_SCRIPT
89 param.
90
3e6b1042
DJ
912009-04-21 Daniel Jacobowitz <dan@codesourcery.com>
92
93 * emultempl/armelf.em (bfd_for_interwork, arm_elf_after_open)
94 (arm_elf_set_bfd_for_interworking): Delete.
95 (arm_elf_before_allocation): Do not set the interworking BFD.
96 Move allocation inside not-dynamic block.
97 (arm_elf_create_output_section_statements): Create glue sections
98 and set the interworking BFD here.
99 (LDEMUL_AFTER_OPEN): Delete.
100
3023e3f6
RS
1012009-04-16 Richard Sandiford <r.sandiford@uk.ibm.com>
102
103 * ldlang.c (lang_one_common): Use bfd_define_common_symbol.
104
20135e4c
NC
1052009-04-15 Anthony Green <green@moxielogic.com>
106
107 * configure.tgt: Add moxie support.
108 * Makefile.am: Add moxie files.
109 * Makefile.in: Rebuilt.
110 * emulparams/elf32moxie.sh: New file.
111 * scripttempl/moxie.sc: New file.
112
39e65143
KH
1132009-04-15 Kazu Hirata <kazu@codesourcery.com>
114
115 * ldlang.c: Do not include limits.h.
116
c38b10fa
AM
1172009-04-14 Alan Modra <amodra@bigpond.net.au>
118
119 PR ld/10047
120 * ldfile.c (find_scripts_dir): Use make_relative_prefix to find
121 ldscripts in build tree. Don't repeat search for ../lib/ldscripts.
122
8c3e16f4
L
1232009-04-13 H.J. Lu <hongjiu.lu@intel.com>
124
125 * ldfile.c (ldfile_find_command_file): Revert the last change.
126
6dc6e834
L
1272009-04-11 H.J. Lu <hongjiu.lu@intel.com>
128
129 PR ld/10047
130 * ldfile.c (ldfile_find_command_file): First try raw name.
131
0c71d759
NC
1322009-04-09 Nick Clifton <nickc@redhat.com>
133
134 PR 9824
135 * ld.texinfo (Output Section Constraint): New node. Documents the
136 ONLY_IF_RO and ONLY_IF_RW constraints.
137 (Symbolic Constants): New node. Documents the CONSTANT operator.
138
fc15a272
AM
1392009-04-09 Thilo Fischer <thilo.fischer@uni-muenster.de>
140
141 * emultempl/spuelf.em (embedded_spu_file): Use pex_one in place
142 of fork/execvp.
143
a0c402a5
L
1442009-04-08 H.J. Lu <hongjiu.lu@intel.com>
145
146 * lexsup.c (option_values): Add OPTION_WARN_ALTERNATE_EM.
147 (ld_options): Likewise.
148 (parse_args): Likewise.
149
150 * ld.texinfo: Document --warn-alternate-em.
151
152 * NEWS: Mention --warn-alternate-em.
153
4d28413b
DD
1542009-04-07 DJ Delorie <dj@redhat.com>
155
156 * emulparams/elf32mep.sh: Change default endian to little.
157
6ce340f1
NC
1582009-04-07 Nick Clifton <nickc@redhat.com>
159
160 * ld.texinfo (Output Section Address): Note that specifying an
161 address for an output section will only change the location
162 counter if the output section is used.
163
32252ac1
KH
1642009-04-06 Kazu Hirata <kazu@codesourcery.com>
165
166 * ldfile.c (ldfile_find_command_file): Initialize result.
167
7d24f02c
KH
1682009-04-06 Kazu Hirata <kazu@codesourcery.com>
169
170 * ld.texinfo (-L): Mention that -L options do not affect how ld
171 searches for a linker script unless -T option is specified.
172 * ldfile.c (ldfile_find_command_file): Append the path obtained
173 from the program name to the search path instead of
174 prepending. Add a new parameter "default_only". Restrict the
175 search to the default script location if the new parameter is
176 true.
177 (ldfile_open_command_file_1): New.
178 (ldfile_open_command_file): Call ldfile_open_command_file_1.
179 (ldfile_open_default_command_file): New.
180
113e6845
NS
1812009-04-03 Nathan Sidwell <nathan@codesourcery.com>
182
183 * ldlang.c (lang_leave_output_section_statement): Set lma_region
184 if it is not overridden and section is for the same vma region as
185 the previous section.
186
8b747e1a
DK
1872009-04-02 Dave Korn <dave.korn.cygwin@gmail.com>
188
189 PR ld/6744
190 * ld.texinfo (--export-dynamic): Mention --export-all-symbols.
191 * emultempl/pe.em (gld_${EMULATION_NAME}_after_parse): Issue
192 warning if --export-dynamic was passed on command-line.
193 * emultempl/pep.em (gld_${EMULATION_NAME}_after_parse): Likewise.
194
24c611d1
RS
1952009-04-01 Richard Sandiford <r.sandiford@uk.ibm.com>
196
197 * emultempl/aix.em (gld${EMULATION_NAME}_open_dynamic_archive): New
198 function.
199 (ld_${EMULATION_NAME}_emulation): Use it.
200
4bf27aa9
L
2012009-03-20 H.J. Lu <hongjiu.lu@intel.com>
202
203 PR ld/9970
204 * ldlang.c (lang_end): Warn missing entry symbol for -pie.
205
ad2adbc8
AM
2062009-03-19 Alan Modra <amodra@bigpond.net.au>
207
208 * emultempl/spuelf.em (spu_before_allocation): Report errors from
209 spu_elf_find_overlays.
210
e9dfee34
L
2112009-03-18 H.J. Lu <hongjiu.lu@intel.com>
212
213 PR ld/6766
214 * lexsup.c (parse_args): Call ldlang_add_undef for -e.
215
8d25cc3d
AM
2162009-03-18 Alan Modra <amodra@bigpond.net.au>
217
218 * ld.h: Remove alloca handling.
219
a7e11ee1
AM
2202009-03-17 Alan Modra <amodra@bigpond.net.au>
221
222 * emultempl/spu_icache.S: Add new entry to dummy handler.
223 * emultempl/spu_icache.o_c: Regenerate.
224 * emultempl/spuelf.em (params): Init new field.
225 (no_overlays): New static var.
226 (spu_before_allocation): Use it.
227 (OPTION_SPU_COMPACT_STUBS): Define.
228 (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add compact-stubs.
229 (PARSE_AND_LIST_ARGS_CASES): Handle compact-stubs. Adjust no-overlays
230 handling.
231
bba21f15
AM
2322009-03-17 Alan Modra <amodra@bigpond.net.au>
233
234 * configure.host (HOSTING_LIBS): Two dollars on shell variable
235 expansion to suit make.
236
eccbf555
AM
2372009-03-17 Alan Modra <amodra@bigpond.net.au>
238
239 * configure.in: Invoke ACX_PROG_CMP_IGNORE_INITIAL.
240 * Makefile.am (check-DEJAGNU): Set DO_COMPARE.
241 * aclocal.m4: Regenerate.
242 * configure: Regenerate.
243 * Makefile.in: Regenerate.
244
b64232cc
RS
2452009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
246
247 * emultempl/aix.em (auto_export_flags): New variable.
248 (explicit_auto_export_flags): Likewise.
249 (OPTION_EXPALL, OPTION_EXPFULL): New enum values.
250 (OPTION_NOEXPALL, OPTION_NOEXPFULL): Likewise.
251 (gld${EMULATION_NAME}_add_options): Add -bexpall, -bexpfull,
252 -bnoexpall and -bnoexpfull.
253 (gld${EMULATION_NAME}_handle_option): Handle them.
254 (gld${EMULATION_NAME}_before_allocation): Update the call to
255 bfd_size_dynamic_sections.
256
858ef0ce
RS
2572009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
258
259 * emultempl/aix.em (gld${EMULATION_NAME}_handle_option): Make
260 -berok and -bernotok control link_info.unresolved_syms_in_objects
261 and link_info.unresolved_syms_in_shared_libs instead of
262 force_make_executable.
263
62008a16
RS
2642009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
265
266 * emultempl/aix.em (gld${EMULATION_NAME}_before_parse): Set
267 config.dynamic_link to TRUE.
268
9ec59d51
RS
2692009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
270
271 * emultempl/aix.em (gld${EMULATION_NAME}_before_allocation): Mark
272 .text, .data and .bss output sections as SEC_KEEP.
273
e5231592
RS
2742009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
275
276 * configure.tgt: Extend AIX 5 behavior to AIX 6 and above.
277
2f563b51
DK
2782009-03-14 Dave Korn <dave.korn.cygwin@gmail.com>
279 Danny Smith <dannysmith@users.sourceforge.net>
280
281 * emultmpl/pe.em (pe_dll_characteristics): New variable.
282 (OPTION_DYNAMIC_BASE, OPTION_FORCE_INTEGRITY, OPTION_NX_COMPAT,
283 OPTION_NO_ISOLATION. OPTION_NO_SEH, OPTION_NO_BIND,
284 OPTION_WDM_DRIVER, OPTION_TERMINAL_SERVER_AWARE):
285 New macros for options to set DllCharacteristics flag bits.
286 (gld${EMULATION_NAME}_add_options): Add dynamicbase, forceinteg,
287 nxcompat, no-isolation, no-seh, no-bind, wdmdriver, tsaware options.
288 (init): Add DllCharacteristics field.
289 (gld_${EMULATION_NAME}_list_options): List new options.
290 (gld${EMULATION_NAME}_handle_option): Handle new options.
291 * emultmpl/pep.em (pe_dll_characteristics): New variable.
292 (OPTION_DYNAMIC_BASE, OPTION_FORCE_INTEGRITY, OPTION_NX_COMPAT,
293 OPTION_NO_ISOLATION. OPTION_NO_SEH, OPTION_NO_BIND,
294 OPTION_WDM_DRIVER, OPTION_TERMINAL_SERVER_AWARE):
295 New macros for options to set DllCharacteristics flags.
296 (gld${EMULATION_NAME}_add_options): Add dynamicbase, forceinteg,
297 nxcompat,no-isolation, no-seh, no-bind, wdmdriver, tsaware options.
298 (init): Add DllCharacteristics field.
299 (gld_${EMULATION_NAME}_list_options): List new options.
300 (gld${EMULATION_NAME}_handle_option): Handle new options.
301 * ldtexinfo : Document dynamicbase, forceinteg, nxcompat,
302 no-isolation, no-seh, no-bind, wdmdriver, tsaware options.
303
d11fd249
NC
3042009-03-06 Nick Clifton <nickc@redhat.com>
305
306 * po/es.po: Updated Spanish translation.
307
3efd345c
DK
3082009-03-03 Dave Korn <dave.korn.cygwin@gmail.com>
309
310 * emultempl/pe.em (debug_section_p): New bfd_map_over_sections hook.
311 (gld_${EMULATION_NAME}_after_open): Use it to iterate all sections
312 of all input BFDs, looking for debug info. Enable long section names
313 if any found.
314 * emultempl/pe.em (debug_section_p): Likewise.
315 (gld_${EMULATION_NAME}_after_open): Likewise.
316 * NEWS: Retrospectively adjust news announcement.
317 * ld.texinfo: Update documentation to mention new behaviour.
318
a1f7ca36
AM
3192009-03-03 Alan Modra <amodra@bigpond.net.au>
320
321 * Makefile.am: Run "make dep-am".
322 * Makefile.in: Regenerate.
323
4a93e180
NC
3242009-03-02 Sebastian Huber <sebastian.huber@embedded-brains.de>
325
326 * ldgram.y: Add support for REGION_ALIAS operator.
327 * ldlang.c: Likewise.
328 * ldlang.h: Likewise.
329 * ldlex.l: Likewise.
330 * NEWS: Mention the new feature.
331 * ld.texinfo: Document the new feature.
332
c3b7224a
NC
3332009-03-02 Qinwei <qinwei@sunnorth.com.cn>
334
335 * Makefile.am: Replace score elf emulation with score3 and score7
336 emulations.
337 * Makefile.in: Regenerate,
338 * NEWS: Mention support for Score7 architecture.
339 * configure.tgt: Add score7 emulation to score-elf target.
340 * emulparams/scoreelf.sh: Add score7 support.
341 * emultempl/scoreelf.em: Likewise.
342
d1bbb13a
DA
3432009-03-01 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
344
345 * configure.tgt: Only use elf64hppa target emulation for hpux.
346 * emulparams/elf64hppa.sh: Don't include hppa64linux.sh.
347 (SCRIPT_NAME): Use new script elf64hppa.
348 (SCRIPT_NAME, ELFSIZE, NO_REL_RELOCS, ARCH, MACHINE, ENTRY,
349 TEMPLATE_NAME, GENERATE_SHLIB_SCRIPT, OTHER_READONLY_SECTIONS,
350 OTHER_READWRITE_SECTIONS, OTHER_BSS_SECTIONS, OTHER_GOT_RELOC_SECTIONS,
351 DATA_START_SYMBOLS, OTHER_SYMBOLS, DATA_PLT, PLT_BEFORE_GOT,
352 TEXT_DYNAMIC): Define.
353 * emulparams/hppa64linux.sh: Adjust comments.
354 * scripttempl/elf64hppa.sc: New file.
355
58e24671
RW
3562009-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
357
358 * configure: Regenerate.
359
5b9c6027
DK
3602009-02-27 Dave Korn <dave.korn.cygwin@gmail.com>
361
362 * emultempl/pe.em (gld_${EMULATION_NAME}_before_parse): Set
363 default state of auto-import flag based on $target.
364
07d72278
DJ
3652009-02-24 Joseph Myers <joseph@codesourcery.com>
366
367 * ld.texinfo (ARM): Document changed meaning of --stub-group-size.
368 * emultempl/armelf.em (hook_in_stub): Insert after the input section.
369 (elf32_arm_add_stub_section): Update comment.
370 (PARSE_AND_LIST_OPTIONS): Update help for --stub-group-size.
371
2509a395
SL
3722009-02-24 Sandra Loosemore <sandra@codesourcery.com>
373
374 * ld.texinfo (Options): Correct typos in example. Recommend
375 using joined forms of syntax for passing options with arguments
376 from a driver.
377 (-a): Use consistent syntax for documenting option arguments.
378 Clean up indexing and markup.
379 (-A/--architecture): Likewise.
380 (-f/--auxiliary): Likewise.
381 (-F/--filter): Likewise.
382 (-fini): Likewise.
383 (-G/--gpsize): Likewise.
384 (-h/-soname):Likewise.
385 (-init): Likewise.
386 (-l/--library): Likewise.
387 (-L/--library-path): Likewise.
388 (-m): Likewise.
389 (--defsym): Likewise.
390 (-I/--dynamic-linker): Likewise.
391 (-Map): Likewise.
392 (--oformat): Likewise.
393 (--retain-symbols-file): Likewise.
394 (-rpath): Likewise.
395 (-rpath-link): Likewise.
396 (--sort-common): Likewise.
397 (--sort-section): Likewise.
398 (--split-by-file): Likewise.
399 (--split-by-reloc): Likewise.
400 (--sysroot): Likewise.
401 (--section-start): Likewise.
402 (-Tbss, -Tdata, -Ttext): Likewise.
403 (-Ttext-segment): Likewise.
404 (--version-script): Likewise.
405 (--wrap): Likewise.
406
44cf6883 4072009-02-18 Dave Korn <dave.korn.cygwin@gmail.com>
88183869
DK
408
409 * ld.texinfo: Update to mention long section name options.
410 * NEWS: Mention new behaviour and command-line options.
411 * pe-dll.c (pe_use_coff_long_section_names): New global variable.
412 (pe_output_file_set_long_section_names): New function.
413 (pe_dll_build_sections): Call it on output BFDs.
414 (pe_exe_build_sections): Likewise.
415 (pe_dll_fill_sections): Likewise.
416 (pe_exe_fill_sections): Likewise.
417 * pe-dll.h (pe_use_coff_long_section_names): Declare extern.
418 (pe_output_file_set_long_section_names): Add prototype.
419 * pep-dll.c (pe_use_coff_long_section_names): Define pep_ alias.
420 (pe_output_file_set_long_section_names): Likewise.
421 * pep-dll.h (pep_use_coff_long_section_names): Declare extern.
422 (pep_output_file_set_long_section_names): Add prototype.
423 * pe.em (OPTION_ENABLE_LONG_SECTION_NAMES): New getopt value macro.
424 (OPTION_DISABLE_LONG_SECTION_NAMES): Likewise.
425 (gld${EMULATION_NAME}_add_options): Add new options to xtra_long[].
426 (gld_${EMULATION_NAME}_list_options): Describe them.
427 (gld${EMULATION_NAME}_handle_option): Set or clear global
428 pe_use_coff_long_section_names flag when options recognised.
429 (gld_${EMULATION_NAME}_after_open): En/disable long section names
430 for main output bfd by calling pe_output_file_set_long_section_names.
431 * pep.em (enum options): Extend enum with new getopt option values.
432 (gld${EMULATION_NAME}_add_options): Add new options to xtra_long[].
433 (gld_${EMULATION_NAME}_list_options): Describe them.
434 (gld${EMULATION_NAME}_handle_option): Set or clear global
435 pe_use_coff_long_section_names flag when options recognised.
436 (gld_${EMULATION_NAME}_after_open): En/disable long section names
437 for main output bfd by calling pep_output_file_set_long_section_names.
438
1491f1f0
DK
4392009-02-16 Dave Korn <dave.korn.cygwin@gmail.com>
440
441 * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Don't emit
442 inadvertent .reloc sections caused by refactoring accident.
443
d2ae7be0
AM
4442009-02-16 Alan Modra <amodra@bigpond.net.au>
445
446 * ldlang.c (process_insert_statements): ASSERT that output section
447 statements are in order.
448
bde18da4
AM
4492009-02-16 Alan Modra <amodra@bigpond.net.au>
450
451 * ldlang.c (push_stat_ptr, pop_stat_ptr): New functions.
452 (stat_save, stat_save_ptr): New variables.
453 (lang_insert_orphan): Use push_stat_ptr and pop_stat_ptr.
454 (load_symbols): Likewise. Delete dead "bad_load" code.
455 (open_input_bfds): Warn on script containing output sections.
456 (lang_enter_output_section_statement): Use push_stat_ptr.
457 (lang_enter_group): Likewise.
458 (lang_leave_output_section_statement): Use pop_stat_ptr.
459 (lang_leave_group): Likewise.
460 * ldlang.h (push_stat_ptr, pop_stat_ptr): Declare.
461 * ldctor.c (ldctor_build_sets): Use push_stat_ptr and pop_stat_ptr.
462 * emultempl/beos.em (gld_${EMULATION_NAME}_set_symbols): Likewise.
463 * emultempl/pe.em (gld_${EMULATION_NAME}_set_symbols): Likewise.
464 * emultempl/pep.em (gld_${EMULATION_NAME}_set_symbols): Likewise.
465 * emultempl/spuelf.em (spu_place_special_section): Likewise.
466 * emultempl/xtensaelf.em (ld_xtensa_insert_page_offsets): Likewise.
467
662ef24b
NS
4682009-02-09 Nathan Sidwell <nathan@codesourcery.com>
469
470 Missing piece of 2009-01-26 commit
471 * ldlang.c (lang_process): Don't consider relocatable flag when
472 checking for overlap.
473
268e4015
JM
4742009-02-05 Joseph Myers <joseph@codesourcery.com>
475
476 * emulparams/m68kelf.sh: Add newline at end of file.
477
903249d7
NC
4782009-02-04 Nick Clifton <nickc@redhat.com>
479
480 PR 9805
481 * ld.texinfo (--allow-shlib-undefined): Correct description of
482 default settings and tidy up the rest of the entry.
483
df636c05
AM
4842009-02-04 Alan Modra <amodra@bigpond.net.au>
485
486 * emultempl/spuelf.em (spu_after_open): Don't combine .text.ia.*
487 during relocatable link.
488
8a308ae8
NC
4892009-02-03 Nick Clifton <nickc@redhat.com>
490
491 PR 9797
492 * ld.texinfo (Constants): Document the base-encoding suffixes
493 supported in linker scripts.
494
28024d9d
L
4952009-02-03 Alan Modra <amodra@bigpond.net.au>
496
497 * NEWS: Mention --as-needed change.
498
31dd3154
JM
4992009-02-03 Carlos O'Donell <carlos@codesourcery.com>
500
501 * configure.in: AC_SUBST pdfdir.
502 * Makefile.am: Add install-pdf, install-pdf-am,
503 and install-pdf-recursive targets. Define pdf__strip_dir.
504 * po/Make-in: Add install-pdf target.
505 * configure: Regenerate.
506 * Makefile.in: Regenerate.
507
010e5ae2
AM
5082009-01-31 Alan Modra <amodra@bigpond.net.au>
509
510 * ld.texinfo (--as-needed): Update.
511
893dcb0e
JM
5122009-01-29 Andrew Jenner <andrew@codesourcery.com>
513
514 * emultempl/armelf.em: Correct formatting of help text for
515 --no-enum-size-warning option.
516
02b0b1aa
NS
5172009-01-26 Nathan Sidwell <nathan@codesourcery.com>
518
519 * lexsup.c (parse_args): Set check_section_addresses to 1 or 0.
520 * ld.h (args_type): Make check_section_addresses a char.
02b0b1aa
NS
521 * ldmain.c (main): Default check_section_addresses to -1. Check it
522 for relocatable links.
523 * ld.texinfo (--check-sections): Update documentation.
524
9382254d
KT
5252009-01-26 Kai Tietz <kai.tietz@onevision.com>
526
527 * pe-dll.c (tmp_seq2): New static variable.
528 (make_singleton_name_imp): New.
529 (make_import_fixup_entry): Use for v2 the _imp_<name> symbol and
530 avoid duplicate import table generation for same symbol.
531 (pe_create_runtime_relocator_reference): Make reference for
532 64-bit 8 bytes.
533
fb266b8b
AM
5342009-01-21 Alan Modra <amodra@bigpond.net.au>
535
536 * emultempl/spuelf.em (params): Init new field.
537 (OPTION_SPU_NON_IA_TEXT): Define.
538 (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add --non-ia-text.
539 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_SPU_NON_IA_TEXT.
540
258795f5
L
5412009-01-16 H.J. Lu <hongjiu.lu@intel.com>
542
543 * lexsup.c (option_values): Add OPTION_TTEXT_SEGMENT.
544 (ld_options): Add -Ttext-segment.
545 (parse_args): Handle OPTION_TTEXT_SEGMENT.
546
547 * ld.texinfo: Document -Ttext-segment.
548
549 * NEWS: Mention -Ttext-segment.
550
551 * scripttempl/elf.sc (TEXT_START_ADDR): Use SEGMENT_START.
552 (SHLIB_TEXT_START_ADDR): Likewise.
553
8d8047c4
AM
5542009-01-13 Alan Modra <amodra@bigpond.net.au>
555
556 * emultempl/spu_icache.o_c: Regenerate.
557
cd4a7468
AM
5582009-01-12 Alan Modra <amodra@bigpond.net.au>
559
560 * emultempl/spuelf.em (params): Init new fields.
561 (num_lines_set, line_size_set, icache_mgr, icache_mgr_stream): New vars.
562 (spu_place_special_section): Adjust placement for soft-icache. Pad
563 soft-icache section to a fixed size. Clear addr_tree.
564 (spu_elf_load_ovl_mgr): Support soft-icache. Map overlay manager
565 sections a little more intelligently.
566 (gld${EMULATION_NAME}_finish): Don't call spu_elf_build_stubs.
567 (OPTION_SPU_NUM_LINES): Rename from OPTION_SPU_NUM_REGIONS.
568 (OPTION_SPU_SOFT_ICACHE, OPTION_SPU_LINE_SIZE): Define.
569 (OPTION_SPU_LRLIVE): Define.
570 (PARSE_AND_LIST_LONGOPTS): Add new soft-icache options.
571 (PARSE_AND_LIST_OPTIONS): Likewise.
572 (PARSE_AND_LIST_ARGS_CASES): Handle them.
573 * emultempl/spu_icache.S: Dummy file.
574 * emultempl/spu_icache.o_c: Regenerate.
575 * Makefile.am (eelf32_spu.c): Depend on spu_icache.o_c.
576 (spu_icache.o_c): Add rule to build.
577 (CLEANFILES): Zap temp files.
578 (EXTRA_DIST): Add spu_icache.o_c.
579 * Makefile.in: Regenerate.
580
ce11ba6c
KT
5812009-01-08 Kai Tietz <kai.tietz@onevision.com>
582
583 * pe.em (OPTION_USE_NUL_PREFIXED_IMPORT_TABLES): New.
584 (gld..._add_options): Add new option
585 --use-nul-prefixed-import-tables.
586 (gld..._handle_option): Likewise.
587 * pep.em: Same as for pe.em.
588 * ld.texinfo: Add new option documentation for
589 --use-nul-prefixed-import-tables.
590 * pe-dll.c (pe_use_nul_prefixed_import_tables): New.
591 (make_head): Make prefix leading zero prefix element for
592 idata$4 and idata$5 dependent to new flag.
593 (make_import_fixup_entry): Remove idata4/5 prefix.
594 * pe-dll.h (pe_use_nul_prefixed_import_tables): New.
595 * pep-dll.c (pe_use_nul_prefixed_import_tables): New.
596 * pep-dll.h (pep_use_nul_prefixed_import_tables): New.
597 * NEWS: Add new option.
598
d34c1c51
KT
5992009-01-05 Kai Tietz <kai.tietz@onevision.com>
600
601 * emultempl/pe.em: Prefix dollar characters to be outputed in
602 generated C file.
603 * emultempl/pep.em: Likewise.
604
e1c37eb5
DK
6052009-01-03 Dave Korn <dave.korn.cygwin@gmail.com>
606
607 * NEWS: Mention new feature --exclude-modules-for-implib.
608 * ld.texinfo: Document new --exclude-modules-for-implib option.
609 * pe-dll.c (exclude_list_struct): Change type member from int to
610 new enumeration exclude_type.
611 (pe_dll_add_excludes): Accept exclude_type instead of int param.
612 (auto_export): Replace magic constants by exclude_type values and
613 handle new choice EXCLUDEFORIMPLIB.
614 (pe_dll_generate_implib): Accept a pointer to the link_info and
615 iterate all input BFDs looking for EXCLUDEFORIMPLIB modules; re-open
616 fresh BFDs for any found and link into import lib archive chain.
617 * pe-dll.h (exclude_type): Add new enumerated type to replace magic
618 constants previously used for exclude_list_struct type member.
619 (pe_dll_add_excludes, pe_dll_generate_implib): Update prototypes.
620 * pep-dll.h (exclude_type, pe_dll_add_excludes,
621 pe_dll_generate_implib): Likewise to all the above.
622 * emultempl/pe.em (OPTION_EXCLUDE_MODULES_FOR_IMPLIB): Define new
623 getopts long option code for new --exclude-modules-for-implib option.
624 (gld${EMULATION_NAME}_add_options): Add new entry to xtra_long[].
625 (gld_${EMULATION_NAME}_list_options): List usage for it.
626 (gld${EMULATION_NAME}_handle_option): Use exclude_type enumerated
627 values when calling pe_dll_add_excludes, and handle EXCLUDEFORIMPLIB.
628 (gld_${EMULATION_NAME}_finish): Pass pointer to link_info when
629 calling pe_dll_generate_implib.
630 * emultempl/pep.em (options): Define new enumerated value for getopts
631 long option code for new --exclude-modules-for-implib option.
632 (gld${EMULATION_NAME}_add_options, gld_${EMULATION_NAME}_list_options,
633 gld${EMULATION_NAME}_handle_option, gld_${EMULATION_NAME}_finish):
634 Again, likewise to all the above.
635
81b07b16 6362009-01-03 Dave Korn <dave.korn.cygwin@gmail.com>
84e94c90 637
81b07b16
DK
638 * pe-dll.c (autofilter_liblist): Add entry for shared libgcc.
639 (libnamencmp): New function.
640 (auto_export): Use it in place of strncmp when filtering libraries.
84e94c90 641
81b07b16 642For older changes see ChangeLog-2008
252b5132
RH
643\f
644Local Variables:
645mode: change-log
646left-margin: 8
647fill-column: 74
648version-control: never
649End:
This page took 0.602539 seconds and 4 git commands to generate.