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