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