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