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